Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


GFX Engine+AI+input+SndFX = GAME

This topic is 6019 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 know how to design and code these individually, but how do you bring it together to form "the game"??

Share this post

Link to post
Share on other sites
You just need to code the logic to handle them all. Looks like you''ve already gotten the hardest part done, the rest should be easy, for a simple game anyway.


Share this post

Link to post
Share on other sites
Guest Anonymous Poster
Well, try looking at it from this perspective:

A programs is a set of algorithms that operate on data.

Try drawing flow charts to help understand visually how to integrate everything together.

Example: Large box in the middle represents the game data the Graphics engine renders the data, the sound engine plays the data, the input and the AI alter the data.

So you would have one class that holds and loads all of the data for the game (I would use a Singleton Class) and a loop that renders the data, then gets the User input and executes the AI on the data.

That''s not neccesarily the only way. That''s not even the way I do it.

I find myself stopping along the way and "designing" the program flow every couple of builds. I use a piece of paper turned sideways and drawing boxes with connections and flow arrows.


Share this post

Link to post
Share on other sites

  • 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!