K quick question, im making an rpg, i want it to be turned based but i DO NOT want any suprise attacks, I need the monsters to be visible. I havnt started this part of the code yet so im getting some feed back on the best way to go about doing this before i start.....
I want each screen (no scrolling) to have a random amount of monsters, but when i go to a battle screen i want the game to remember what monsters where where, their lvl etc. I also would like this info to be stroed for at least 3 screens as to stop players going back and forth between screens to grind. Any suggestions??
n/a
Deleted User
28th December, 2006 at 21:51:46 -
Try to use an INI file to store which enemies shall be in each room, like when you enter a room for the first time, it randomly adds monsters to the room (which you also store in the INIfile), then each time you enter that same room the game checks the INI to see which enemies should be alive. (When you kill an enemy, you write that into the INI file) Meh im too tired to give a good explanation but atleast i tried, so yes, INIfiles is the key
(If you dont want the monsters to be dead forever, just delete the INIfile using an extension whenever you want to, or maybe each time the player shuts down the game.)
I could do a quick example file, if nobody else doesnt come up with a better answer
You could also use global values or such. (That would be easier)