I'm beginning work on a new platform infiltration game. I have experience in the genre, as I've played Metal Gear Solid, and failed at making several other games a little like this one. I have so far actually done little of this game, as I've been stumbling into problems getting my primitive sidescrolling engine to do what I want. I want realistic water, I have to use lava. And if you try to "move all lava s" to simulate gravity, it gives MZX some weird errors and I have to restart MZX. Augh. My engine is primitive, but that should be okay, since I'm trying to make this game somewhat like Flashback or Out of this World (a.k.a. Another World) and they both have pretty primitive, (albeit incredibly realistic engines) because their characters don't need to be able to jump backwards. So anyway... The character can at the moment jump left and right, roll left and right, kick left and right, move up and down ladders (actually, I'm working on getting the animations for that to look okay.), and of course run left and right. I plan for the character to also be able to shoot left and right when he finds a gun, and he will be able to creep in the shadows (using dynamic lighting) so enemies can't see him as easily. This is going to require some programming. One problem I'm already having is getting my height-depending damage engine thing to work. What should happen is this:
1) Robot finds that their is no customblock south of the player.
2) Robot locks the player, and continually increases the "falling" counter, as it moves the the player s and checks for a customblock south of the player.
3) Robot finds a customblock is under the player and then multiplies the value of the "falling" counter times 15 to come up with how much health is taken from the player due to the fall. (Each character fallen should take 15 health) Robot then takes that health, sets the "falling" counter back to 0, unlocks the player, and goes back to the standard checking part of the programming.
What's wrong is that it works the first time, but then it won't happen again. I can fall down and lose health once, but if I try again, nothing happens.
Anyway, I have a lot of these problems. Any ideas? Why does it screw up MZX to move all lava south? Whatever. If anyone can give an answer, don't hesitate.