Home
Help
Search
Calendar
Login
Register
Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Click here to join us on IRC (#charas on irc.freenode.net)!
Charas-Project
»
Game Creation
»
Requests
»
RPG Maker Programming
»
Dodgy Dodging System
« previous
next »
Print
Pages: [
1
]
Author
Topic: Dodgy Dodging System (Read 3542 times)
zuhane
Freakalicious
Leader
Posts: 2,192
Kill me
Dodgy Dodging System
«
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:
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.
Any help *Cough* Purple Mage *Cough* *Cough* would be TREMENDOUSLY APPRECIATED!
Thank you!
Logged
Geese ruined my life.
https://soundcloud.com/tom-kingston-3/geese
zuhane
Freakalicious
Leader
Posts: 2,192
Kill me
Re: Dodgy Dodging System
«
Reply #1 on:
April 09, 2010, 02:52:02 PM »
Shameless bump...
EDIT: You must help quickly! I think I've made an easily-editable Paper Mario-esque engine for people to use!
«
Last Edit: April 09, 2010, 04:13:12 PM by zuhane
»
Logged
Geese ruined my life.
https://soundcloud.com/tom-kingston-3/geese
zuhane
Freakalicious
Leader
Posts: 2,192
Kill me
Re: Dodgy Dodging System
«
Reply #2 on:
April 13, 2010, 01:41:46 PM »
Bump again! Won't someone help a damsel in distress?
Logged
Geese ruined my life.
https://soundcloud.com/tom-kingston-3/geese
zuhane
Freakalicious
Leader
Posts: 2,192
Kill me
Re: Dodgy Dodging System
«
Reply #3 on:
April 17, 2010, 12:25:50 PM »
It's just a simple bit of coding. Someone must be able to help! :p
Logged
Geese ruined my life.
https://soundcloud.com/tom-kingston-3/geese
Prpl_Mage
Administrator
Sage
Posts: 7,644
The Administrator Mage
Re: Dodgy Dodging System
«
Reply #4 on:
April 17, 2010, 07:58:56 PM »
As I seem to miss you on msn all the time.
What exactly is the problem?
Logged
Cool RPGM Project!
Sprite till you die
Oh my god, this was ...10 years ago...
Print
Pages: [
1
]
« previous
next »
Charas-Project
»
Game Creation
»
Requests
»
RPG Maker Programming
»
Dodgy Dodging System