Charas-Project
Game Creation => Requests => RPG Maker Programming => Topic started by: zuhane on April 08, 2010, 11:10:40 AM
-
Hello! Without revealing too much about what's happening, I will do anyway. Basically, I've made a completely custom battle system, and want it so that at the
very second before your character is attacked, either up, down, left or right will flash up. If they can quickly press this key at the climax of the enemy
attack, they will completely dodge the incoming attack. If they fail to press anything, or press the wrong key, they're hit by the incoming attack. However,
while this is what I want to happen, this is not what is actually happening. I've got some code, and want it so that the key input processing is registered at
any time and stored in a variable, so that a conditional branch can decide whether you pressed the correct key or not. So, here's my code:
This first picture is a parallel common event triggered by the climax of the enemy attack, the pictures that would be shown represent different arrows:
(http://i302.photobucket.com/albums/nn111/zuhane/Screen1.jpg)
This second image is a parallel event occurring in the same map as the battle. Activated by the same switch that does the common event.
(http://i302.photobucket.com/albums/nn111/zuhane/Screen2.jpg)
Any help *Cough* Purple Mage *Cough* *Cough* would be TREMENDOUSLY APPRECIATED!
Thank you!
-
Shameless bump... :(
EDIT: You must help quickly! I think I've made an easily-editable Paper Mario-esque engine for people to use!
-
Bump again! Won't someone help a damsel in distress?
-
It's just a simple bit of coding. Someone must be able to help! :p
-
As I seem to miss you on msn all the time.
What exactly is the problem?