Author Topic: Fall System  (Read 1303 times)

Offline JellalFerd

  • Transcended Spirit
  • ***
  • Posts: 104
  • LV: 0
  • Gender: Male
    • View Profile
Fall System
« on: July 05, 2011, 10: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

  • Adds a falling system when moving off of ledges

Screenshots
Nil.

Demo
Download

Instructions
First step:
Rectify your tileset's passibility, otherwise this whole thing becomes meaningless from the beginning.
(click to show/hide)
I have no idea why I made the wall edges passable too
Assign each tile that they player should fall on a terrain tag.
(click to show/hide)
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)
(click to show/hide)
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
(click to show/hide)

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

Credits and Thanks

  • Me :V:

Author's Notes
Nil.
« Last Edit: July 05, 2011, 11:38:28 AM by Blizzard »
Quote
Frank says:
 But obviously they put on that shirt on in the morning.
 Hmmm..
 Booty shirts are nice.
 Depends on the girl.
Jellal says:
 booty shirts
 lolwut