Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- glide = false
- if keyboard_check(vk_up)//or any key you want to add
- then
- {
- glide=true
- }
- if glide=true && vspeed>1
- then
- {
- vspeed=1.5
- }
- if keyboard_check_released(vk_up)
- {
- glide=false
- }
Advertisement
Add Comment
Please, Sign In to add comment