Jump to content
  • Advertisement
Sign in to follow this  
Thomas Wiborg

Where to begin programming games

This topic is 1899 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!