AUTO MOVING EVENTS

Posts

Pages: 1
I was wondering if it's possible to have the character automatically moving in some direction but if a key is hit another event would take place. Everything I've tried so far just has it continuously moving forward ignoring all other events.
Name of game maker? If it's RPGMaker 2000/03 then I guess you'd use conditional branching. What did you try so far?
Conditional branching will work for RPG Maker 2k/3 / XP / VX
Oh sorry I;m using RPG Maker 2003. Right now I have it so that the character is constantly moving to the right. However at certain point I want it so that when you hit a key he'll jump. To use it to jump over gaps and such. So I have a Parallel process with a move event: hero, step right. But when I'm doing that it ignores everything else. And I'm a noob so I'm not sure exactly how I would set up a conditional branch like that. Thanks.
I tried a little something, but I'm kind of tired.
It works, but kinda buggy if anyone can find a better method I suggest you use that:


Let me explain:
Basically what that does is wait for the player to input a key (Which you want to be the spacebar / enter key) a stores the the player's input key into a variable "Jump."
When that variable is equal to 5 (Which is the spacebar / enter key) you make your hero jump to the right 2 spaces.

Else (Otherwise)
It just makes your player move right continuously.
author=KJzero9 link=topic=2897.msg56268#msg56268 date=1231995771
Oh sorry I;m using RPG Maker 2003. Right now I have it so that the character is constantly moving to the right. However at certain point I want it so that when you hit a key he'll jump. To use it to jump over gaps and such. So I have a Parallel process with a move event: hero, step right. But when I'm doing that it ignores everything else. And I'm a noob so I'm not sure exactly how I would set up a conditional branch like that. Thanks.

I'm not sure you're a noob per say but have you had a look at games that use these sorts of features? After you work around with VerifyedRasta's code, try games like Fenrir: First Operation (open it up in RPGMaker and hunt down the part for that particular scrolling bit). I'm sure you'll do this eventually with trial and error (as I did. :P).
I think I got it working. Thanks for the help.
Pages: 1