+ 1

Can someone tell me how to code a c# game

I wanted to create one but even though I am now on intermediate I can't do half the stuff it wants me to

4th Nov 2024, 10:03 AM
George
4 Answers
+ 3
There's lots of information here and online about programming games. Make sure you're realistic with what you can achieve - you're not a team of AAA game quality programming, you're one person, learning how to do something. Set small tasks based on what you'd like the whole game to do. How do you set the level? How do you keep score? Is there gravity, how do you program that? Bit by bit, you piece together these concepts and then you might have a pretty good game. Then you can become more ambitious. https://sololearn.com/compiler-playground/WaYqkYRj6jTD/?ref=app https://sololearn.com/compiler-playground/WlkdCZumaE4Q/?ref=app https://sololearn.com/compiler-playground/WdU7o4y2MF38/?ref=app
4th Nov 2024, 2:03 PM
Ausgrindtube
Ausgrindtube - avatar
+ 1
Most games are written with game engines. There are three major game engines. If you have a game idea in mind, that can help you choose which engine to use. If you just want to learn game programming, that's cool too. As Ausgrindtube pointed out, many games are built using hundreds of programmers months, or even years, to build. An independent developer will never compete with those games. Set realistic goals for yourself. Maybe pick a simple game to get you started. Unreal Engine - This is what some of the biggest 3D games are written with. The most beautiful graphics, but also the hardest to learn. Uses C++. Unity Engine - The most popular engine and well loved. Uses C#. Great asset store. Godot Engine - The easiest engine. Uses GdScript (like Python) or C#. This one I recommend for you. Look at those engines on Youtube and get an idea. Basically each works like a code editor / IDE and compiles the game to Windows, Mac, Console, Android, iOS, or console.
4th Nov 2024, 2:18 PM
Jerry Hobby
Jerry Hobby - avatar
+ 1
Thx Ausgrindtube I was planning to use Godot with c#
5th Nov 2024, 6:09 PM
George