Like in topic. What tips on handling large code can you give to someone who is developing his first large game in small (3 programmers) team?
Currently my system looks like this:
Initiation:
- Create new core (display)
- Initialize new game loop elements, one after another
- Run core (open game window)
Game Loop:
- Calculate delta
- Keyboard and mouse input
- Logic
- Collisions
- Graphics
- Sounds
- Sleep
Beyond the general question I have a few small questions:
- Where should I initiate and how should I call classes like particle makers and any other classes that have more than one task? (for example, both logic and graphics)
- How should be code organized - everything in one package or maybe another packages for every element of game loop?
- How should game loop elements contact with each other?
- If I want to make 2D game with player character ALWAYS in center of screen, what is better - move everything but not player or move player and camera?