|
| QUOTE | Rub two things together really fast?... Not fully sure what ya mean lol. |
Well it did say GM6/7..
Anyways, I usually define the friction with the gravity and collision in the step event.
For example
| CODE | if place_free(x,y+1)//checks if there is ground below { action_set_gravity(270,0.38)//makes you fall when you are in air friction = 0.1//sets friction in the air } else { action_set_gravity(270,0)//stops if you are on ground friction = 0.2//sets friction when on ground } |
Since you set up friction, you don't have to set up a keyboard_release event, since the friction will make you come to a stop.
This post has been edited by Im4everkool on May 1 2009, 11:15 PM
--------------------
| QUOTE (Mario_6464SMR's reply to Mrs A) | | his name's not Halo it's the master chief, and i don't know what "doesn't afraid of anything" means, have u ever played halo before? |
|