Jump to content
  • Advertisement
Sign in to follow this  
Nicholas Kong

Game programming core concepts every beginner or intermediate level person should know

This topic is 2148 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

I am not sure if I am missing any core concepts as I am making my games. But here are the general things the games I have written has taught me thus far:

 

1) Implementing a main loop

2) Implementing a game loop

3) Keeping track of the state of the object

4) Collision Detection

5) Keeping track of the state of the game(Main Menu, GameOver, Victory, Gameplay)

6) Animation Algorithms

7) Textparsing and then drawing the appropriate art asset corresponding to the numeric or letter text data.

 

Any more concepts I should know?

Edited by warnexus

Share this post


Link to post
Share on other sites
Advertisement

Can you or anyone elaborate on this? You mean like mouse and key events? what do you mean by message passing?

 
An event can be anything any part of the game may want to react to. A pressed key, as you said, or a collision on the physics simulation, using a skill, taking damage or anything else.
Broadcasting these logical events as messages others can subscribe to can greatly reduce dependencies between systems.

Share this post


Link to post
Share on other sites
Vectors and matrices. Just as an example, your code is much more elegant when you use unit vectors over angles and matrices to transform between coordinate spaces. But understanding basic operations on vectors such as dot products, cross products and projection are very useful tools when solving problems. Especially in 3D. Edited by HappyCoder

Share this post


Link to post
Share on other sites

 

Can you or anyone elaborate on this? You mean like mouse and key events? what do you mean by message passing?

 
An event can be anything any part of the game may want to react to. A pressed key, as you said, or a collision on the physics simulation, using a skill, taking damage or anything else.
Broadcasting these logical events as messages others can subscribe to can greatly reduce dependencies between systems.

 

Ah I see. Thanks

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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!