|
Post by rcrmaker on Oct 29, 2005 15:41:30 GMT -5
well I have been all this week thinking about how I do i swiming and jumping system. please help me becouse I have been looking for that tutorial alll the week
|
|
|
Post by Ethan Hawkeye on Oct 29, 2005 19:56:02 GMT -5
hmm swimming isn't osmething I'm familiar with but I know there's a zelda rm2k game that had a system like that, but I don't remember where I saw it, maybe on gamingworld. As for jumping that's not too hard, but you have to be familiar with passwords, if not then let me know and I'll explain that to you. So jumpiong...
Your first job is to go to the common events page. Now, when there make a new common event set to "parallel process" and check the switch box or else your hero will continue jumping FOREVER. Anyway, check the switch box right under "Trigger Switch". Call it "Jump" or whatever you want to call it. Then go into the "Event Commands" and Make a new command. Make it "Move Event" and choose to move hero, then select Begin Jump. Next is selecting Move forward (twice). After that select end jump. Next is turning off switch "jump". Now you have done the easy coding, which should be:
<>Move Event: Hero, Begin Jump, Move Forward, Move Forward, End Jump <>Switch Operation: [XXXX:Jump] OFF
Now, for putting this on your map make an event that only needs the jumping switch turned ON. The scripting turns it off for you. You can have the event "touched by hero", "action key", "Same layer as hero" , or "Below hero" as long as you can access it in those ways. When you go to the event and make it occur then your hero will jump forward in the direction he is facing. If he does do that then you followed this tutorial correctly. To make it cooler: Before or in the move event in your common event play a jumping sound effect before he jumps. In the move event before the move event change the hero sprite association to a jumping graphic, then back to normal after the move event.
|
|