Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I'm new to C#.
I am thinking as a little practice project in Visual Studio i am going to make a little application that launches a game (Counter Strike: Global Offensive) when you click a button.
Just a couple of Points:
Is this a bit too much as a first project?
Would i need it so when you click the button it would just have to
look for the launch.exe for that game?
Is this a bit too much as a first project?
Not at all. It is pretty much starting application with some command line parameters.
Would i need it so when you click the button it would just have to
look for the launch.exe for that game?
Steam games are launched by steam:// uri scheme which maps to steam.exe executable. So you pretty much need to start steam.exe process passing uri like steam://rungameid/game_id where game_id is numerical id of that game.
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
So, I'm trying and put my C# skills to the test, I have set myself towards making a Game with Networking in C#. This Game will not have movement (It's a hacking sim, so I don't think data will need to be constantly sent) what do you Guys think would be the best .dll or way to go about this? What about the Database for accounts? What do you think I could use? I have a average skill level in C#, so keep that in mind when making recommendations, please.
If you have average skill using an SDK should be helpful for you.
Start out with something like XNA Game Studio to see how those concepts are done.
This document is the starting point for the SDK https://msdn.microsoft.com/en-us/library/bb200104.aspx and the "Network" concepts you are specially looking for are discussed here: https://msdn.microsoft.com/en-us/library/bb975947.aspx
As for the database for accounts, this would be no different than any typical application that accesses a database and stores user accounts.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I have a question regarding problem i am solving. I am editing an old Winform app; currently the only part I need does not take input from the user(automated program). However the form contains database connection settings that program uses. Currently the program needs the user to press a button to start the process (code is associated with the button). Do i need to convert whole app to Console App or is there an easier way to automate this process without messing with the database connection settings.
Right now, you have a WinForm that runs code on a button press. You need to turn this into a "headless" or automatic process. Here is what I think based on your description would be the best things to do:
Remove the button, and have the code that was being ran by the button be called by a more "automatic" process, such as "Form_Load" or a timer.
Take the code and move it into a console app. As long as you don't ask for user input within the logic, it will run and close itself when it's done.
However, this is just some broad and generic suggestions. You need to look at your code and decide for yourself what to do.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I am learning C# and I want to create a countdown timer application that displays the time in a digital format on an image of a stopwatch and gives verbal time updates at certain times.
How do I go about displaying images to the screen and playing sound? I have used pygame in python to achieve this so basically I am looking for suggestions for something similar in C#.
I hope this makes sense! Thanks.
The best technology to use for that would probably be Windows Presentation Foundation (WPF).
Here's an example of an application made in WPF similar to what you want to do:
http://www.codeproject.com/Articles/20048/Immerse-Yourself-in-WPF-A-quot-World-Clocks-quot-A
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I'll simplify the situation to get rid of confusion.
I want to make a program that only has 1 button in the program. Upon clicking the button, the program will simulate a generic gamepad button. I'm sure when the program starts, it will have to somehow emulate a gamepad. The gamepad that is being emulated should be visible in the Control Panel. (joy.cpl to be more specific)
I have to do this without making a driver or relying on a 3rd party library/API- I know it can be done this way since I've seen some programs that actually do this already but my program will have a completely different use than those. I cannot find any good information on where to start, so pushing me in the right direction would be nice or showing me some code in C# would be cool, too!
Thanks, guys!
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 1 year ago.
Improve this question
My game has basic functionality and is playable with a command line, but I would like to put a GUI on top of it.
It is a platformer type game written in C# with the XNA framework.
I have googled and found a few libraries, but they all seem very gum and duct tape. Is there a mature or standard way of making a GUI for my situation?
The standard answer is: look at the Gamestate management tutorial in Education Catalog.
This doesn't give you very nice widgets, but rather shows a way of managing the game flow and some menus (including pause menu).
NEOForce Controls
Full featured, open source GUI library for XNA 4.