I need direction. The language and the libraries aren't set in stone, It is looking like SDL and C++. I'll try and explain what I've got so far.
- A blueprint of factory class that contains all the information necessary for making instances of Pokemon, sprites, items, etc.
- A memory class that keeps track of instances being used by the game.
- A game class that will wrap SDL and provide an interface to the references and instances noted above.
- In between the blueprints and instances there will have to be a function that creates the game world, polling blueprints and creating instances in all the necessary spots to (re)create the world in memory.
//#include <stdlib.h>
//#include <SDL.h>
class cGame
{
//audio
//video
//timing
//update
//input
//map
//sprites
//scripts
//states
//numbers
//blueprints - use separate header files for all of the references?
//player
//pokemon
//abilities
//natures
//moves
//items
//types
//effects
//names
//descriptions
//sprites
//players
//pokemon
//efx
//menu
//statics
//dynamics
//audio
//music
//sfx
//cry
//memory
//map
//boundaries
//spritepositions
//pokemon
//player
//npcs
public:
}
int main(int argc, char* argv[])
{
cGame GAME;
return 0;
}
This is what I have so far, it is sort of an outline.
Should I make separate classes for everything and allow the game class to access everything?
How should I go about creating instances and generating the world? Vectors for each entity that SDL will loop over?
I'm having a bit of a design crisis I suppose.