diff --git a/Spaceinator.project.gmx b/Spaceinator.project.gmx index 04f9496..1ea62eb 100644 --- a/Spaceinator.project.gmx +++ b/Spaceinator.project.gmx @@ -54,6 +54,8 @@ objects\obj_button objects\obj_respawn + objects\obj_play + objects\obj_exit objects\obj_gameover_overlay objects\obj_inventory objects\obj_hotbar @@ -64,6 +66,7 @@ + rooms\rm_title rooms\rm_game diff --git a/objects/obj_exit.object.gmx b/objects/obj_exit.object.gmx new file mode 100644 index 0000000..67a76b1 --- /dev/null +++ b/objects/obj_exit.object.gmx @@ -0,0 +1,98 @@ + + + spr_button + 0 + -1 + -100 + 0 + obj_button + <undefined> + + + + 1 + 603 + 7 + 0 + 0 + -1 + 2 + + + self + 0 + 0 + + + 1 + image_speed = 0; +BUTTON_TEXT = "Give Up"; +show_debug_message("Button Created: "+BUTTON_TEXT); + + + + + + + + 1 + 603 + 7 + 0 + 0 + -1 + 2 + + + self + 0 + 0 + + + 1 + game_end(); + + + + + + + + 1 + 603 + 7 + 0 + 0 + -1 + 2 + + + self + 0 + 0 + + + 1 + draw_self(); +draw_set_color(c_white); +draw_text(x-string_width(BUTTON_TEXT)/2,y-5,BUTTON_TEXT); + + + + + + + + 0 + 0 + 0 + 0.5 + 0.100000001490116 + 0 + 0.100000001490116 + 0.100000001490116 + 0.200000002980232 + -1 + 0 + + diff --git a/objects/obj_play.object.gmx b/objects/obj_play.object.gmx new file mode 100644 index 0000000..e1434be --- /dev/null +++ b/objects/obj_play.object.gmx @@ -0,0 +1,98 @@ + + + spr_button + 0 + -1 + -100 + 0 + obj_button + <undefined> + + + + 1 + 603 + 7 + 0 + 0 + -1 + 2 + + + self + 0 + 0 + + + 1 + image_speed = 0; +BUTTON_TEXT = "Start Exploring"; +show_debug_message("Button Created: "+BUTTON_TEXT); + + + + + + + + 1 + 603 + 7 + 0 + 0 + -1 + 2 + + + self + 0 + 0 + + + 1 + room_goto(rm_game); + + + + + + + + 1 + 603 + 7 + 0 + 0 + -1 + 2 + + + self + 0 + 0 + + + 1 + draw_self(); +draw_set_color(c_white); +draw_text(x-string_width(BUTTON_TEXT)/2,y-5,BUTTON_TEXT); + + + + + + + + 0 + 0 + 0 + 0.5 + 0.100000001490116 + 0 + 0.100000001490116 + 0.100000001490116 + 0.200000002980232 + -1 + 0 + + diff --git a/rooms/rm_title.room.gmx b/rooms/rm_title.room.gmx new file mode 100644 index 0000000..986625e --- /dev/null +++ b/rooms/rm_title.room.gmx @@ -0,0 +1,66 @@ + + + + 960 + 544 + 32 + 32 + 0 + 30 + 0 + 12632256 + -1 + + 0 + -1 + -1 + + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + 0 + 0 + 1024 + 768 + 0 + 10 + 0.100000001490116 + diff --git a/sprites/images/spr_player_0.png b/sprites/images/spr_player_0.png index bf0d18f..8903737 100644 Binary files a/sprites/images/spr_player_0.png and b/sprites/images/spr_player_0.png differ diff --git a/sprites/spr_player.sprite.gmx b/sprites/spr_player.sprite.gmx index b286b9a..3340a63 100644 --- a/sprites/spr_player.sprite.gmx +++ b/sprites/spr_player.sprite.gmx @@ -1,25 +1,28 @@ 0 - 47 - 34 + 40 + 40 0 0 -1 0 - 7 - 41 + 0 + 79 2 - 38 + 76 0 0 0 0 - 1000 - 750 + 80 + 80 images\spr_player_0.png + images\spr_player_1.png + images\spr_player_2.png + images\spr_player_3.png