How to wall-kick (TGF)
Author: | FierceDeity
|
Submitted: | 8th September, 2003
|
Views: | 5264
| Rated: |
|
|
Ok, here's how to make your (platformer) character jump against a wall and kick off. sort of like a double jump but off a wall.
First you need: a platformer character,
A backdrop as the ground,
some verticle walls (or blocks or whatever)
and some long, thin, verticle lines.
You can see a screenshot of how it should be layed out here:
http://www.boomspeed.com/katya1369/preview.jpg
Now do these on the events page.
Always: Make active object 1 and 2 (long verticle lines) invisable
Character collides with background: ignor control, character will stop, set alterable value A to 0, set
alterable value B to 0.
Alterable value A of character = 1: Ignor control, Set Y position to Y( "Character" ) - 7, add 1 to Alterable value B.
Alterable value B of character = >= 15: Restore control, set alterable value A to 0, set alterable value B to 0.
Upon pressing shift + Character collides with Active object 1: Stop movement, set direction -->, Set speed to 60(optional), Set alterable value A to 1.
Upon pressing shift + Character collides with Active object 2: Stop movement, set direction <--, Set speed to 60(optional), Set alterable value A to 1.
And there you go! You can now impress your friends (well maybe) with this crafty trick!
|
|
|