Chaos Project

RPG Maker => Event Systems => Event System Database => Topic started by: G_G on February 20, 2010, 01:58:59 pm

Title: [XP] 8 Way Movement
Post by: G_G on February 20, 2010, 01:58:59 pm
8 Way Movement
Version: 1.0
Type: Movement System



Introduction

Tired of the plain boring 4 way movement? Well now you won't have to. This simple event system allows you to move in 8 different directions.


Features




Screenshots

N/A


Demo

MediaFire (http://www.mediafire.com/download.php?gwzzmznnquw)


Instructions

Go into your common events. Create a new one called 8 Way Movement. Set it to a Parallel Process. Set the switch to whatever one you want. Call the switch 8 Way.
Next we're going to make two conditional branches. First conditional branch go to the 4th page, choose button, and choose Up. Uncheck the set handling condtions box.
Now we're going to create the same branch except this time we'll change button Up to button Down. Here's how it should look so far.
Spoiler: ShowHide
(http://i678.photobucket.com/albums/vv143/GameGuysProjects/p1.png)

Next we're going to create two branches in each of those branches. Confusing much? Okay so in the Up condition the first condition we're going to make is to check to see if the Left button is being pressed. So 4th page, button, Left. Keep the Set handling conditions checked. Now in the else area, we'll do the same branch except change left to right. This one you can uncheck set handling conditions. We're going to do the same thing for the Down branch. In the end it should look like this.
Spoiler: ShowHide
(http://i678.photobucket.com/albums/vv143/GameGuysProjects/p2.png)

All thats left is to set the movements. Go into the Up condition and the Left condition. Now add a Set Move Route, set it to player, and check ignore if can't move. Then add a Move Upper Left. Add another Set Move Route under the Up and Right branch. Set it to player, check ignore if can't move, and add a Move Upper Right. We're going to do the same thing to the down branch. Just change move upper right and left to move lower right and left. Here's how it should be when we're all done.
Spoiler: ShowHide
(http://i678.photobucket.com/albums/vv143/GameGuysProjects/p3.png)


Now just the 8 Way switch on to turn on the common event and it should work. Also turn off 8 Way during cutscenes and stuff.


Credits and Thanks




Author's Notes

Enjoy!
Title: Re: [XP] 8 Way Movement
Post by: Alton Wyte on February 20, 2010, 03:27:25 pm
It's much simpler to simply edit the script, but good job anyways.
Title: Re: [XP] 8 Way Movement
Post by: G_G on February 20, 2010, 04:55:34 pm
I know its a lot easier to just edit a script. In fact I've done it before. Event systems are made to prove that scripts aren't needed. This was proving the simple point a script isn't needed for 8 way movement.
Title: Re: [XP] 8 Way Movement
Post by: Spaceman McConaughey on February 21, 2010, 12:31:44 am
Nice. I like. Will consider using.
Title: Re: [XP] 8 Way Movement
Post by: Caligatio on March 17, 2010, 02:05:47 pm
Wow, great script! I love it, and I'm sure to use it!  8)
Title: Re: [XP] 8 Way Movement
Post by: winkio on March 17, 2010, 03:26:57 pm
What happens if you hold Up, Down, and left at the same time?  ( you need more else)
Title: Re: [XP] 8 Way Movement
Post by: G_G on March 17, 2010, 04:02:18 pm
Quote from: Arceus on March 17, 2010, 03:26:57 pm
What happens if you hold Up, Down, and left at the same time?  ( you need more else)


I'll try to find an easy fix. I'll look at it later.