Guest User

Rexfurry - Gliding Tutorial Codes

a guest
Oct 30th, 2012
317
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1.  
  2. glide = false
  3.  
  4. if keyboard_check(vk_up)//or any key you want to add
  5. then
  6. {
  7. glide=true
  8. }
  9.  
  10. if glide=true && vspeed>1
  11. then
  12. {
  13. vspeed=1.5
  14. }
  15. if keyboard_check_released(vk_up)
  16. {
  17. glide=false
  18. }
Advertisement
Add Comment
Please, Sign In to add comment