Where to begin programming games

Started by
2 comments, last by onfu 10 years, 8 months ago

Hello guys,

Im currently in the situation where I dont know how to START program a game. I know abit more than just the basic with C# / XNA but I dont know HOW i should start.

What kind of classes do I need to create, what sort of methods do I need, fields.... and the list goes on.

Even with the basic textbased games im like, "uhm what do I need"

Does anyone have a good idea to what I should do and where to start?

Are there any tutorials on "How to think before programming games"

Its not the technical part im having problems with.

Thanks for all replies!

Best regards

Thomas

//Thomas Wiborg

Advertisement

I debated whether to rate you down or not.

With that said, please look at the articles that are posted on this site for a beginner's articles on Tetris, Pong, and Snake.

I won't be posting the links. They should be easy enough to find.

Beginner in Game Development?  Read here. And read here.

 

Ok, thank you!

I will take a look at your article.

//Thomas Wiborg

Your question is analogous to saying: I have all this lego, what do I need to do in order to build a "thing"?

It's unanswerable abstractly.

When starting to a build game, you can't do anything before you decide on some starting points:

  • what's the experience of the game?
  • how is the world viewed?
  • does it have a character, and if so how would that character be controlled?

All of those things would drastically change your fundamental building blocks, and only then would you go about thinking about the architecture of your game code (if you were so inclined). Personally, I think it's more productive while prototyping a game idea to just throw functionally down in any crude way to see if it's actually fun. Often it isn't.

Once you're onto something, good code architecture is important for maintainability and extendability depending on the scope and purpose of the project. For example I try to maintain very good structure for any large project (longer than say - one month of dev), but I generally don't bother at all on a Global Game Jam entry.

If on the other hand (interpreting your first post slightly differently), you're just talking about the best way to have an update loop, global engine constants, etc.. Then I guess it is just a matter of reading a few good articles.

This topic is closed to new replies.

Advertisement