Key handling 1-4

This commit is contained in:
Senad Uka
2022-01-31 05:28:47 +01:00
parent 5f7892f8d3
commit a6008b7240
3 changed files with 6 additions and 5 deletions

Binary file not shown.

View File

@@ -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;
}
}
}

View File

@@ -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": [],