Hey guys! Have consulted these forums many times before and found answers quickly, this time I really need some advice on a couple of things, it may seem long and expansive but I'll try to be concise!
I am wanting to create a turn based RPG ish (maybe more roguelike) game where you are in a post apoc environment. You can have weapons that increase hit points to enemies, armor that decreases hit points when attacked, and randomized scenery and enemies that you encounter. Nothing too complex graphically just one screen that displays a nice background and the enemy in front of you. When the screen has nothing there, you click to move to another location. At that point a random variable determines what will be next; an enemy, an item to grab etc.
This is ok for me, I know how to randomize variables and scenery quite easily, the problem I'm having is that to determine if the enemy has a weapon/armor , what weapon/armor the player might have and so forth, I am using a buttload of variables. I feel I am doing it the long way. Based on this premise would anyone out there have an idea for a way to simplify the event sheet? I know I should be using arrays and functions but not as experienced there despite browsing through the forums and tutorials. I can wrap my head around what arrays do but not how to practically implement them for such a game.
Sorry guys big post. I'm not expecting anyone to solve my problem entirely, just maybe throw some ideas around to better implement those changing variables you get in an RPG like HP, Attack points, item drops, random enemies. Like I said I can do it my way, but I know you guys would have some great input here.