The RPG Maker Resource Kit

RMRK RPG Maker Creation => VX => VX Event Systems => Topic started by: MajikalBlood on January 25, 2012, 03:33:11 PM

Title: [VX] Floor Spikes
Post by: MajikalBlood on January 25, 2012, 03:33:11 PM
So about a few weeks ago I requested for this event to be made...well it never got filled. So I decided to keep trying til' I got it and I finally did.
First Event Page
Spoiler for:
First start off with a new event page and set your graphic to the empty spikes:
Spoiler for:
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fi40.tinypic.com%2F20zvd55.png&hash=7d7e15f699b40e477ef3e50047a4c0e51ecb1165)

Now on the same page double click an empty line and look for Control Switch; If you haven't already done so, make one named "SpikesOn001" and turn the switch on:
Spoiler for:
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fi40.tinypic.com%2F25g9t9v.png&hash=8ef81cb3e0d6e97f58242c01b05a8da36392234f)

Second Event Page
Spoiler for:
Okay with the second page you can do it two ways...
Permanent Spikes: Doesn't matter what you do, you cant pass them;
Passable Spikes: Pressing the run button will allow you to get past them without taking damage;

For basic set up set your second event page like so:
Spoiler for:
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fi43.tinypic.com%2F2zjatc4.png&hash=8b36320850ab91acb6db4355c6e705485ad64c6e)

Now to do the Permanent Spikes make your event list for Page 2 look like:
Spoiler for:
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fi41.tinypic.com%2Flic0p.png&hash=5e04175d86e5011066b2b5cb3f0be8453c28fdc2)

For Passable Spikes make your page look like this:
Spoiler for:
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fi44.tinypic.com%2Frbclty.png&hash=f076bddb700f4f593c28be2847694cb3ebcbba3d)
Now in my pictures I demonstrated using only 1 spike.  If you use multiple spikes in your game, I had you name the switch "SpikesOn001" so you can make new switches such as "SpikesOn002", "SpikesOn003", and "SpikesOn004";  This event release is kinda lame since I'm a huge novice when it comes to RPG Maker VX...
Title: Re: Floor Spikes
Post by: Mr_Wiggles on January 26, 2012, 07:05:45 PM
Making tutorials for what ever it is is a great way to learn for your self as well as teaching others. By listing off everything that you did you can really think about how each part of your system works so you can make improvements.

The only thing i have to say is you should use self switches instead of global switches.
Title: Re: Floor Spikes
Post by: MajikalBlood on January 27, 2012, 02:46:43 PM
Will using self switches allow each event to process without getting effected by another?
Title: Re: Floor Spikes
Post by: Dyre on January 27, 2012, 09:09:36 PM
Yes. Self-switches are self-contained. They also stay in effect when you leave the area, if VX is like XP in that regard. They are the most useful things.

Also, this is a nifty tutorial. Glad you figured it out and shared. ^.^
Title: Re: Floor Spikes
Post by: MajikalBlood on January 28, 2012, 07:38:24 AM
Thanks guys; This has saved me alot of time with making new variables

I'll also redo the pictures and first post to have them with the self switch