daily pastebin goal
14%
SHARE
TWEET

Untitled

a guest Jan 13th, 2018 54 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. if (distance_to_object(o_Arshes) < global.DISTANCE_TO_ENTER)
  2. {
  3.     colliding = 1;
  4. }
  5. else
  6. {
  7.     colliding = 0;
  8. }
  9.  
  10. if (keyboard_check_pressed(190))
  11. {
  12.     if (colliding == 1)
  13.     {
  14.         colliding = 2;
  15.         sound_play("02_CollectingKale"); // Sound of shutter opening
  16.         image_speed = .4;
  17.     }
  18. }
  19.  
  20. if (colliding == 2)
  21. {
  22.     if (image_index == (image_number - 1))
  23.     {
  24.         image_speed = 0;
  25.         instance_change(o_OmnitopiaRedGroundShutterOpen, true);
  26.     }
  27. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top