BRAAAAINS

So, after 10 hours of rest, one Christmas Tree decorating session and an enjoyable breakfast, we’re back on track. As I booted up the PC this morning, I had a revelation. See, yesterday I was trying to make a zombie character to move slowly towards the player. Problem is, my player is made up of five separate in game “objects” only one of which is in existence at any given time. This allows for shooting in all directions. Hence, to get a zombie to move towards the player, one has to tell it to move towards all five objects. Problem is, if it tries to move towards a non-existent object, the game crashes. Problem. However, today I thought of “Object 29”. It’s an invisible object that moves in the same space at the same time and speed as the player object. When you press the arrows to move your player, it moves too, staying in the same place as the player object. I simply programmed the Zombies to move towards it, et voila! Of course, the zombies then moved towards the object on creation, but when it moved they still aimed for the same spot. In the end, I made the zombies reset all behavior every half second or so. That fixed it. I’ll just add some art and we’ll be ready to go.

 

Of course, that brings me onto my second problem. My game is shaping up very well. 2 player mode is nearly ready (needs some character tweaking, a menu of it’s own and 3 maps to play on). As soon as I finish enemy creation, I just need to assemble some levels for single player. The message is that “I have too much time”. So I thought I’d use it to brush up my art. If I’m honest, the game art is crap. The mines, doors and walls look ok, but everything else sucks. My style sucks. I need to fix it, badly. I’m not sure if I can.