Edge Walking
#1
"Edge Walking"
by Jimmie
Oct 22 2006,

This is a locked, single-post thread from Creation Asylum. Archived here to prevent its loss.
No support is given. If you are the owner of the thread, please contact administration.


Yes, that's right. Ever been annoyed by events stopping at the edge of your map, only to fade away? Why not make them go off the map instead? Why not make the player leave the map when teleporting, instead of the screen just fading?

What it does:

This lets events and players step over the edges (if you toggle the switch). Useful for birds flying, events walking away, player teleporting, etc. Get the demo and check it out.

This is a script that's pretty useless without a demo to show its practical uses, so that's why there is one. Of course, you can still get the script here and figure it out yourself.

The script

autoteleporting


Now, turn switch #5 on to allow the player to walk over edges, and #6 for events. They are automatically reset afterwards, so don't worry...

You just need to copy and paste the script,, there's no setup required. However, you'll need to be able to handle events for it to work fully. If you get the demo, read the Readme! There are important changes to mapping if you're going to use the same events as I do in the demo!

Attached File Edge_Walking.rar ( 242.69k ) Number of downloads: 527


EDIT::

The autoteleport script has been added. It's somewhat hard to use in its more advanced forms, but the simple one is just that, simple.
On any map with autoteleporting, use this call script in an event:
Code:
$jredges['right'] = MAP_ID
$jredges['left'] = MAP_ID
$jredges['top'] = MAP_ID
$jredges['bottom'] = MAP_ID

If there is no map to the right/left/top/bottom, simply remove that line from the call script.
The MAP_ID is of course the ID of the map you want the player to teleport to when walking over the edge.

If your edges do not match, you'll have to use the more advanced options. More on that in the script itself.

A DEMO of this and an SDK version (for whatever reason) will be available eventually.
I've a demo of my own game to finish first ;)


~Jimmie
}




Users browsing this thread: 1 Guest(s)