From a9faaf94e6b58c4147f609259a3a73e713f6f1c2 Mon Sep 17 00:00:00 2001 From: SilicaAndPina Date: Mon, 10 Aug 2020 10:27:01 +1200 Subject: [PATCH] CommitLog | --- Spaceinator.project.gmx | 3 + objects/obj_exit.object.gmx | 98 ++++++++++++++++++++++++++++++++ objects/obj_play.object.gmx | 98 ++++++++++++++++++++++++++++++++ rooms/rm_title.room.gmx | 66 +++++++++++++++++++++ sprites/images/spr_player_0.png | Bin 3494 -> 405 bytes sprites/spr_player.sprite.gmx | 17 +++--- 6 files changed, 275 insertions(+), 7 deletions(-) create mode 100644 objects/obj_exit.object.gmx create mode 100644 objects/obj_play.object.gmx create mode 100644 rooms/rm_title.room.gmx 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 bf0d18f3347a9e2fecbeeebbe7f5e3206d835f2d..8903737413881cf4accb2bb76d168bb3776ed021 100644 GIT binary patch literal 405 zcmeAS@N?(olHy`uVBq!ia0vp^0U*r51|<6gKdoh8V2tr}aSW-L^Y+%oz9s_!hd{et z|L2RpTntgjy)+|e!XcmZ9p*FHd2i~aAKZ0JvBkiqcGjhTPpc&u7+EfSVc<|`SjO(a zz-VI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mvsFr-4j;hOyZQzzE_xg{h9a<`|epUXO@ GgeCxrx+~KF 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