From a6008b7240df4f4270060c6220d74ca9cf3e5c22 Mon Sep 17 00:00:00 2001 From: Senad Uka Date: Mon, 31 Jan 2022 05:28:47 +0100 Subject: [PATCH] Key handling 1-4 --- objects/QuestionGUI/.Draw_64.gml.swp | Bin 12288 -> 0 bytes objects/QuestionGUI/KeyPress_1.gml | 7 ++----- options/main/options_main.yy | 4 ++++ 3 files changed, 6 insertions(+), 5 deletions(-) delete mode 100644 objects/QuestionGUI/.Draw_64.gml.swp diff --git a/objects/QuestionGUI/.Draw_64.gml.swp b/objects/QuestionGUI/.Draw_64.gml.swp deleted file mode 100644 index 8a5efea6f3e72ba9fffa1b8c5c49a23a4d98154d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 12288 zcmeI2-EI;=6vw9~UTCx$+Xooe#w@Y2A1oiSDW(Bw8`DTr>WyhP0}QZs*;#jo0x`aV zw;H|jNqhjk_W^tX;|u5+1cdV8jaSV%$)Ek0bI$Pp4ST~*)qK8xKyyi(K-?ze^y*Kh zPWSSJlnd(Y-%)&W^tAG<{BW<7DO%~u!h*sh<2dF~Y?KQ|QPetZ9?00(Wo>@I&Ukbr zJ9SUk##tb|I22t&RA2HMWE^&QEIkqI9`75)h;`kJlWeyAh4bJ55S@2iA-27Lsbg0?{G zpdU90`3iaqIs~nQzCo`K!=CR{UkoIG1dsp{Kmter2_OL^fCP}h5(00?wYu8sD|t`q zSO-pRe6gxRpoLW|#npbSu3%9(aO|{|aZPH_jYdO(IcE`_ z7}(Y~N+oj;G@qxoGlr-7)PyfO(L~C9)keisT0;a4)taA%w{Si=EH%US5B z#w2fws1JS?*-2Z)9W%3I&e-`o@c-=;hTm(-Q5;5|(ymzl<767UXNXP6kOi( TVj1hRzZ`f7#-I}k`kMR(%CbTC diff --git a/objects/QuestionGUI/KeyPress_1.gml b/objects/QuestionGUI/KeyPress_1.gml index 8dce1fa..c39b142 100644 --- a/objects/QuestionGUI/KeyPress_1.gml +++ b/objects/QuestionGUI/KeyPress_1.gml @@ -1,6 +1,4 @@ -if keyboard_check(ord("1")) -{ - switch (keyboard_key) +switch (keyboard_key) { case ord("1"): case ord("2"): @@ -9,5 +7,4 @@ if keyboard_check(ord("1")) instance_destroy() instance_create_layer(0,0,"Instances", QuestionGUI) break; - } -} \ No newline at end of file + } \ No newline at end of file diff --git a/options/main/options_main.yy b/options/main/options_main.yy index a0ecc2f..b4d8ca3 100644 --- a/options/main/options_main.yy +++ b/options/main/options_main.yy @@ -1,5 +1,6 @@ { "option_gameguid": "b3b27d68-2980-46ba-82f5-3bdbdf1dfca7", + "option_gameid": "0", "option_game_speed": 60, "option_mips_for_3d_textures": false, "option_draw_colour": 4294967295, @@ -9,6 +10,9 @@ "option_author": "", "option_lastchanged": "", "option_spine_licence": false, + "option_template_image": "${base_options_dir}/main/template_image.png", + "option_template_icon": "${base_options_dir}/main/template_icon.png", + "option_template_description": null, "resourceVersion": "1.2", "name": "Main", "tags": [],