I'm making a space exploring game.Kinda like rpg in space.I have a thousand solar systems i can explore.Each system can have up to 8 planets,astroid field,aleins,and a few unknown objects.
using types for the systems
type systems
field x,y ;for the galaxy map
field explored ; if u've been there or not
field planet1 ;what radius around sun for solar system map
field planet2;
etc...
AND now I need to describe the planets,aliens,etc....
if I do that...my type will be huge...is this good coding?What would y'all suggest?Or does this sound right.
Don't need code just pointed in right direction.
What I'm going to do is make this planets,aliens and things when u enter the system,but keep them when created.
Thanks,
mudcat
using types for the systems
type systems
field x,y ;for the galaxy map
field explored ; if u've been there or not
field planet1 ;what radius around sun for solar system map
field planet2;
etc...
AND now I need to describe the planets,aliens,etc....
if I do that...my type will be huge...is this good coding?What would y'all suggest?Or does this sound right.
Don't need code just pointed in right direction.
What I'm going to do is make this planets,aliens and things when u enter the system,but keep them when created.
Thanks,
mudcat