2 things: 1. Using a 2dimensional array for all the actors in the game and all their attributes is much easier to manage. When you search for objects in a loop, you can ask for any aspect of that object; as in units[i][health], units[i][damage], etc. etc. The array in Nova Epic is 1000 x 44, thus 44...
well to be completley honest, i havent touched this .ged in a while. But i can start udating it and if it actually ends up working well give the codes. Right now it's kinda crap
Is this some kind of selecting multiple actor and make them active? What are the player atr?only health? I may use this method 1. Make global vars int hp[99]; int select[5]; int emptyindex; int selectindex; 2. Actor-CreateActor : hp[cloneindex]=100; emptyindex++; 3. When you click the actor to selec...
making a group selection is actually quite easy. I'll outline the basics of it here. 1. all actors have an id in an array, as in units[id][health], etc. 2. When creating a unit, search the array for the first empty slot (keeps the array from growing too large). the search starts at 1 so 0 remains em...
... stuff like that. i have a demo-ish sorta thing to see what you guys think on a few things. Should i make an actual game, or just update my old RTS template? The pathfinding is sorta coded of, it'll work better when i get better water tiles to do rounded edges so he doesnt get stuck on everything ...
... I couldn't help but notice it had the exact same design as the new game editor site. Is it the same designer or a reusable template? Just wondered. Cheers, Marc mrm design http://www.mrmdesign.com