Something went wrong. Try again.
A game I created in a few days based off a suggestion from Orteil's game generator using GameMaker Studio
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190<!--This Document is generated by GameMaker, if you edit it by hand then you do so at your own risk!--><object> <spriteName>sCat</spriteName> <solid>0</solid> <visible>-1</visible> <depth>0</depth> <persistent>0</persistent> <parentName>_menu</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>///Initializeevent_inherited();opt[1] = "Music: ";opt[2] = "Sound: ";opt[3] = "Text speed: ";opt[4] = "Controls: ";</string> </argument> </arguments> </action> </event> <event eventtype="3" enumb="1"> <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>///Activate optionsif(menudepth == instance_number(_menu)) { if(input_check_pressed(ACTION)) { switch(curOpt) { case 1: //Music Controller.music = !Controller.music; break; case 2: //Sound Controller.sound = !Controller.sound; break; case 3: //Text speed Controller.DIASPDmult = (Controller.DIASPDmult % 3) + 1; break; case 4: //Controls switch(Controller.controls) { case "^<v>ZXC": Controller.controls = "WASD QE"; break; case "WASD QE": Controller.controls = "^<v>WXC"; break; case "^<v>WXC": Controller.controls = "ZQSD AE"; break; case "ZQSD AE": default: Controller.controls = "^<v>ZXC"; break; } break; case 0: //Back default: instance_destroy(); break; } input_clear(ACTION); }}</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 menu with valuesif(menudepth == instance_number(_menu)) { draw_set_alpha(1); var value; switch(Controller.controls) { case "^<v>ZXC": value[4] = "Arrows, Z, X, C"; break; case "^<v>WXC": value[4] = "Arrows, W, X, C"; break; case "WASD QE": value[4] = "WASD, space, Q, E"; break; case "ZQSD AE": value[4] = "ZQSD, space, A, E"; break; } value[3] = string(Controller.DIASPDmult * room_speed * DIASPD) + " letters per second"; if(Controller.sound) { value[2] = "On"; } else { value[2] = "Off"; } if(Controller.music) { value[1] = "On"; } else { value[1] = "Off"; } value[0] = ""; draw_set_halign(fa_center); draw_set_valign(fa_bottom); draw_set_font(fMenu); if(os_browser != browser_not_a_browser) draw_set_font(fMenuHTML5); for(var i = 0; i < array_length_1d(opt); i++) { if(i == curOpt) { draw_sprite( sprite_index, image_index, window_get_width() / 2 - string_width(opt[i] + value[i]) / 2 - 40, window_get_height() / 2 - (array_length_1d(opt) / 2) * 32 + i * 32); draw_sprite( sprite_index, image_index + 2, window_get_width() / 2 + string_width(opt[i] + value[i]) / 2 + 8, window_get_height() / 2 - (array_length_1d(opt) / 2) * 32 + i * 32); } draw_text( window_get_width() / 2, window_get_height() / 2 - (array_length_1d(opt) / 2) * 32 + (i + 1) * 32, opt[i] + value[i]); } draw_set_halign(fa_left); draw_set_valign(fa_top);}</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>16,16</point> </PhysicsShapePoints></object>