Default Platform Movement Debugging
Author: | RapidFlash
|
Submitted: | 18th October, 2002
|
Views: | 5277
| Rated: |
|
|
Default Platform Movement Debugging
For those of us who can't yet make custom movement engines, here are a couple ways to fix bugs.
Wall-jumping
NOTE: This may not work with all types of Active Objects (for some reason).
Step by step on how to get rid of wall jumping
#1: Put two backdrops (obstacles) on each side of the playfield.
#2: Do Active collides with backdrop ----> Stop
#3: If you have Active leaves play area (left, right sides) ----> Stop
get rid of it.
Viola! Now you should have no more wall-jump!
Hovering trick
The Hovering Trick is when you hold Shift/Fire1/Jump, and you just hover while clinging to the platform (must be an obstacle). This is how to get rid of it, step by step:
#1: Create two objects: One a bottom detector (Just a line), the other a top/left/right detector (Either a T shape or a capital I shape). Make sure both detectors are the length of the object.
#2: Do this *(with A being the bottom of your object)*
Always ----> Set Bottom Detector's position relative to Active Oject 0,A*)
Set TLR Detector's position relative to Active Object (0,0 if TLR and Active Object's hot spots are 0,0)
#3: Then you do the following events:
Active Object overlapping backdrop
Repeat while Fire1 is held -------------> Ignore Control
TLR overlapping backdrop
(Negate) Bottom Detector overlapping backdrop
TLR overlapping backdrop
Bottom Detector overlapping backdrop ------> Restore Control
#4: Sometimes (with platform movement), a couple bugs will occur. Use this to fix them.
Every 2'00 -----> Restore Control
Hopefully this will help you make a better game. Klik out.
|
|
RapidFlashSavior of the Universe Registered 14/05/2002
Points 2712
|