Something went wrong. Try again.
Bring back the colours and save the world!
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186<!--This Document is generated by GameMaker, if you edit it by hand then you do so at your own risk!--><object> <spriteName>sMachine</spriteName> <solid>0</solid> <visible>-1</visible> <depth>3</depth> <persistent>0</persistent> <parentName><undefined></parentName> <maskName><undefined></maskName> <events> <event eventtype="0" enumb="0"> <action> <libid>1</libid> <id>603</id> <kind>7</kind> <userelative>0</userelative> <isquestion>0</isquestion> <useapplyto>-1</useapplyto> <exetype>2</exetype> <functionname></functionname> <codestring></codestring> <whoName>self</whoName> <relative>0</relative> <isnot>0</isnot> <arguments> <argument> <kind>1</kind> <string>///Initializeindex = 0;angle = 0;</string> </argument> </arguments> </action> </event> <event eventtype="3" enumb="0"> <action> <libid>1</libid> <id>603</id> <kind>7</kind> <userelative>0</userelative> <isquestion>0</isquestion> <useapplyto>-1</useapplyto> <exetype>2</exetype> <functionname></functionname> <codestring></codestring> <whoName>self</whoName> <relative>0</relative> <isnot>0</isnot> <arguments> <argument> <kind>1</kind> <string>///Run animationif(Controller.state[0] < S_DESTROYED) { index++; if(!(index % sprite_get_number(sWheel))) { if(!(index % sprite_get_number(sParticles))) { index = 0; } }}</string> </argument> </arguments> </action> </event> <event eventtype="4" ename="Player"> <action> <libid>1</libid> <id>603</id> <kind>7</kind> <userelative>0</userelative> <isquestion>0</isquestion> <useapplyto>-1</useapplyto> <exetype>2</exetype> <functionname></functionname> <codestring></codestring> <whoName>self</whoName> <relative>0</relative> <isnot>0</isnot> <arguments> <argument> <kind>1</kind> <string>///Be destroyedif(Mobile) { with(Controller) { virtual_key_delete(virt_key_down); virt_key_down = virtual_key_add(other.x - view_xview[0], other.y - view_yview[0], other.sprite_width, other.sprite_height, vk_down); }}if(input_check_pressed(I_ACTION)) { if(Controller.state[0] == S_INTROOVER) { if(background_color != c_black) { state_set(S_DESTROYED); Controller.shake = 100; } }}</string> </argument> </arguments> </action> </event> <event eventtype="8" enumb="64"> <action> <libid>1</libid> <id>603</id> <kind>7</kind> <userelative>0</userelative> <isquestion>0</isquestion> <useapplyto>-1</useapplyto> <exetype>2</exetype> <functionname></functionname> <codestring></codestring> <whoName>self</whoName> <relative>0</relative> <isnot>0</isnot> <arguments> <argument> <kind>1</kind> <string>///Draw the controls when touching the playerif(Controller.state[0] == S_INTROOVER) { if(background_color != c_black) { angle = (angle + 8) % 360; if(place_meeting(x, y, Player)) { draw_set_color(c_white); draw_set_font(fControls); draw_set_halign(fa_center); draw_text(x - view_xview[0] + 64, y - view_yview[0] + 62 + floor(sin(degtorad(angle)) * 5), DOWN_CHAR); draw_set_halign(fa_left); } }}</string> </argument> </arguments> </action> </event> <event eventtype="8" enumb="0"> <action> <libid>1</libid> <id>603</id> <kind>7</kind> <userelative>0</userelative> <isquestion>0</isquestion> <useapplyto>-1</useapplyto> <exetype>2</exetype> <functionname></functionname> <codestring></codestring> <whoName>self</whoName> <relative>0</relative> <isnot>0</isnot> <arguments> <argument> <kind>1</kind> <string>///Draw spinning wheels and particlesdraw_self();draw_sprite_ext(sWheel, index % sprite_get_number(sWheel), x + 18, y + 59, image_xscale, image_yscale, image_angle, image_blend, image_alpha);draw_sprite_ext(sWheel, index % sprite_get_number(sWheel), x + 109, y + 59, -image_xscale, image_yscale, image_angle, image_blend, image_alpha);if(Controller.state[0] < S_DESTROYED) { draw_sprite_ext(sParticles, index % sprite_get_number(sParticles), x + 63, y + 45, image_xscale, image_yscale, image_angle, image_blend, image_alpha); draw_sprite_ext(sParticles, index % sprite_get_number(sParticles), x + 63, y + 45, -image_xscale, image_yscale, image_angle, image_blend, image_alpha);}</string> </argument> </arguments> </action> </event> </events> <PhysicsObject>0</PhysicsObject> <PhysicsObjectSensor>0</PhysicsObjectSensor> <PhysicsObjectShape>0</PhysicsObjectShape> <PhysicsObjectDensity>0.5</PhysicsObjectDensity> <PhysicsObjectRestitution>0.100000001490116</PhysicsObjectRestitution> <PhysicsObjectGroup>0</PhysicsObjectGroup> <PhysicsObjectLinearDamping>0.100000001490116</PhysicsObjectLinearDamping> <PhysicsObjectAngularDamping>0.100000001490116</PhysicsObjectAngularDamping> <PhysicsObjectFriction>0.200000002980232</PhysicsObjectFriction> <PhysicsObjectAwake>-1</PhysicsObjectAwake> <PhysicsObjectKinematic>0</PhysicsObjectKinematic> <PhysicsShapePoints> <point>0,0</point> <point>64,64</point> </PhysicsShapePoints></object>