Jump to content
  • Advertisement
Sign in to follow this  
HipT

How to do a 3D game?

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

Hi all. I'm new in 3d programming but i've also use "allegro" in c++. I'see there're lot of difference from the 2D game programming,the 3d is more complicated of 2D. So,when i programmed in 2D i created all the code in the same .cpp file,but now,with 3d,i think it's impossible... What i've to do for program a game? Create lot of file .cpp? Ex: -main file; -IA file; -level file; Or exist other ways? Really thanks. Ps:sorry for bad english.

Share this post


Link to post
Share on other sites
Advertisement
It is always a good idea to split your project into seperate files
even if it is a *simple* 2d game.
It is just a matter of convenience c++ actually allows you to write an entire
program in a single file.
As to how you split them: I guess most people generally create a file for each
class they have.
For starting with 3d I suggest you look here(a bit outdated).

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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!