Chaos Project

RPG Maker => Event Systems => Topic started by: JellalFerd on July 05, 2011, 04:55:30 am

Title: Fall System
Post by: JellalFerd on July 05, 2011, 04:55:30 am
Fall System
Version: 1
Type: Map Add-On



Introduction
Remember in various Legend of Zelda games like Phantom Hourglass where you could just walk off the edges of cliffs?
This was sorta designed to do just that.


Features




Screenshots
Nil.


Demo
Download (http://www.mediafire.com/?o6d6fn8dc55b7t2)


Instructions
First step:
Rectify your tileset's passibility, otherwise this whole thing becomes meaningless from the beginning.
Spoiler: ShowHide
(http://img21.imageshack.us/img21/7965/step1av.png)

I have no idea why I made the wall edges passable too
Assign each tile that they player should fall on a terrain tag.
Spoiler: ShowHide
(http://img59.imageshack.us/img59/2830/step2q.png)

Second step:
Make a variable that tracks the players terrain tag. Now make a variable that tracks the players X and Y coordinates, and map ID as long as it's not the fallen tile terrain tag(Optional, you'll see its usage later)
Spoiler: ShowHide
(http://img804.imageshack.us/img804/1200/step3a.png)

Now here's the fun and creative part; deciding what happens next. Just fill in the events that happen in the condition if the player is in that terrain tag.
Here's what I usually do:
Make the event call a common event to tell what the falling events are(for organizational purposes)
And the common event usually just has something to do with move routes, immobilizing, and dealnig damage. and transparency flags
like so
Spoiler: ShowHide
(http://img33.imageshack.us/img33/7748/step4n.png)


If I wasn't too good at explaining, refer back to the demo.


Credits and Thanks




Author's Notes
Nil.