diff --git a/assets/sprite_r2_0001.png b/assets/characters/sprite_r2_0001.png similarity index 100% rename from assets/sprite_r2_0001.png rename to assets/characters/sprite_r2_0001.png diff --git a/assets/sprite_r2_0001.png.import b/assets/characters/sprite_r2_0001.png.import similarity index 66% rename from assets/sprite_r2_0001.png.import rename to assets/characters/sprite_r2_0001.png.import index f63ff6d..997556c 100644 --- a/assets/sprite_r2_0001.png.import +++ b/assets/characters/sprite_r2_0001.png.import @@ -2,16 +2,16 @@ importer="texture" type="CompressedTexture2D" -uid="uid://o8rwmcg0or4f" -path="res://.godot/imported/sprite_r2_0001.png-0c67dda26a319f21b3bf2bc259a2eeac.ctex" +uid="uid://dkcfabsog3128" +path="res://.godot/imported/sprite_r2_0001.png-c6f8ae62ccc3dd86cc959b15b27b636f.ctex" metadata={ "vram_texture": false } [deps] -source_file="res://assets/sprite_r2_0001.png" -dest_files=["res://.godot/imported/sprite_r2_0001.png-0c67dda26a319f21b3bf2bc259a2eeac.ctex"] +source_file="res://assets/characters/sprite_r2_0001.png" +dest_files=["res://.godot/imported/sprite_r2_0001.png-c6f8ae62ccc3dd86cc959b15b27b636f.ctex"] [params] diff --git a/assets/characters/them-face-left1.png b/assets/characters/them-face-left1.png new file mode 100644 index 0000000..17043df Binary files /dev/null and b/assets/characters/them-face-left1.png differ diff --git a/assets/tilemap.png.import b/assets/characters/them-face-left1.png.import similarity index 66% rename from assets/tilemap.png.import rename to assets/characters/them-face-left1.png.import index 943249b..e3183f4 100644 --- a/assets/tilemap.png.import +++ b/assets/characters/them-face-left1.png.import @@ -2,16 +2,16 @@ importer="texture" type="CompressedTexture2D" -uid="uid://cdosyjgfwcv5p" -path="res://.godot/imported/tilemap.png-5e61b4f08267e3455a4ee95d454c23fa.ctex" +uid="uid://dxijrthflqe6" +path="res://.godot/imported/them-face-left1.png-cdccbcca4fa2702a9bee12dce9fc11cf.ctex" metadata={ "vram_texture": false } [deps] -source_file="res://assets/tilemap.png" -dest_files=["res://.godot/imported/tilemap.png-5e61b4f08267e3455a4ee95d454c23fa.ctex"] +source_file="res://assets/characters/them-face-left1.png" +dest_files=["res://.godot/imported/them-face-left1.png-cdccbcca4fa2702a9bee12dce9fc11cf.ctex"] [params] diff --git a/assets/dialogue/a1m1.dialogue b/assets/dialogue/a1m1.dialogue new file mode 100644 index 0000000..ed85d18 --- /dev/null +++ b/assets/dialogue/a1m1.dialogue @@ -0,0 +1,13 @@ +~ this_is_a_node_title + +Nathan: [[Hi|Hello|Howdy]], this is some dialogue. +Nathan: Here are some choices. +- First one + Nathan: You picked the first one. +- Second one + Nathan: You picked the second one. +- Start again => this_is_a_node_title +- End the conversation => END +Nathan: For more information see the online documentation. + +=> END \ No newline at end of file diff --git a/assets/dialogue/a1m1.dialogue.import b/assets/dialogue/a1m1.dialogue.import new file mode 100644 index 0000000..b15afc9 --- /dev/null +++ b/assets/dialogue/a1m1.dialogue.import @@ -0,0 +1,15 @@ +[remap] + +importer="dialogue_manager_compiler_11" +type="Resource" +uid="uid://bm0x8jed5lg0s" +path="res://.godot/imported/a1m1.dialogue-58e5d9abca4bb5a878ba692ea66d046a.tres" + +[deps] + +source_file="res://assets/dialogue/a1m1.dialogue" +dest_files=["res://.godot/imported/a1m1.dialogue-58e5d9abca4bb5a878ba692ea66d046a.tres"] + +[params] + +defaults=true diff --git a/assets/dialogue/dev.dialogue b/assets/dialogue/dev.dialogue new file mode 100644 index 0000000..0a79baa --- /dev/null +++ b/assets/dialogue/dev.dialogue @@ -0,0 +1,33 @@ +~ sign_left + +SIGN: Boy oh boy where do I even begin. +SIGN: Lebron… honey, my pookie bear. +SIGN: I have loved you ever since I first laid eyes on you. +SIGN: The way you drive into the paint and strike fear into your enemies eyes. +SIGN: Your silky smooth touch around the rim, and that gorgeous jumpshot. +SIGN: I would do anything for you. +SIGN: I wish it were possible to freeze time so I would never have to watch you retire. +SIGN: You had a rough childhood, but you never gave up hope. +SIGN: You are even amazing off the court, you’re a great husband and father, sometimes I even call you dad. +SIGN: I forvever dread and weep, thinking of the day you will one day retire. +SIGN: I would sacrifice my own life it were the only thing that could put a smile on your beautiful face. +SIGN: You have given me so much joy, and heartbreak over the years. +SIGN: I remember when you first left clevenland and its like my heart got broken into a million pieces. +SIGN: But a tear still fell from my right eye when I watched you win your first ring in miami, because deep down, my glorious king deserved it. +SIGN: I just wanted you to return home. +SIGN: Then allas, you did, my sweet baby boy came home and I rejoiced. +SIGN: 2015 was a hard year for us baby, but in 2016 you made history happen. +SIGN: You came back from 3-1 and I couldn’t believe it. +SIGN: I was crying, bawling even, and I heard my glorious king exclaim these words, “CLEVELAND, THIS IS FOR YOU!” +SIGN: Not only have you changed the game of basketball and the world forever, but you’ve eternally changed my world. +SIGN: And now you’re getting older, but still the goat, my goat. +SIGN: I love you pookie bear, my glorious king, Lebron James. 😊❤️🫶🏼 + +You notice a marker attached to the sign. +Pick it up and write something? +- Yes + You try to write the first thing on your mind. + The marker is completely dry. +- No => END + +=> END diff --git a/assets/dialogue/dev.dialogue.import b/assets/dialogue/dev.dialogue.import new file mode 100644 index 0000000..5f6d3cd --- /dev/null +++ b/assets/dialogue/dev.dialogue.import @@ -0,0 +1,15 @@ +[remap] + +importer="dialogue_manager_compiler_11" +type="Resource" +uid="uid://bxuo28l7d2dpe" +path="res://.godot/imported/dev.dialogue-ff92132c5ede4a548dbf16962edfb7d8.tres" + +[deps] + +source_file="res://assets/dialogue/dev.dialogue" +dest_files=["res://.godot/imported/dev.dialogue-ff92132c5ede4a548dbf16962edfb7d8.tres"] + +[params] + +defaults=true diff --git a/assets/dialogue/ex.dialogue b/assets/dialogue/ex.dialogue new file mode 100644 index 0000000..4e72539 --- /dev/null +++ b/assets/dialogue/ex.dialogue @@ -0,0 +1,13 @@ +~ this_is_a_node_title + +THEM: [[Hi|Hello|Howdy]], this is some dialogue. +THEM: Here are some choices. +- First one + THEM: You picked the first one. +- Second one + THEM: You picked the second one. +- Start again => this_is_a_node_title +- End the conversation => END +THEM: For more information see the online documentation. + +=> END \ No newline at end of file diff --git a/assets/dialogue/ex.dialogue.import b/assets/dialogue/ex.dialogue.import new file mode 100644 index 0000000..40f9159 --- /dev/null +++ b/assets/dialogue/ex.dialogue.import @@ -0,0 +1,15 @@ +[remap] + +importer="dialogue_manager_compiler_11" +type="Resource" +uid="uid://dwxsp1dnud4i4" +path="res://.godot/imported/ex.dialogue-1c8bb1efb8ce6ed79b74abe26ba6e597.tres" + +[deps] + +source_file="res://assets/dialogue/ex.dialogue" +dest_files=["res://.godot/imported/ex.dialogue-1c8bb1efb8ce6ed79b74abe26ba6e597.tres"] + +[params] + +defaults=true diff --git a/assets/new_tile_set.tres b/assets/new_tile_set.tres deleted file mode 100644 index 382ccc5..0000000 --- a/assets/new_tile_set.tres +++ /dev/null @@ -1,2411 +0,0 @@ -[gd_resource type="TileSet" load_steps=5 format=3 uid="uid://d0bihcm3fyv5o"] - -[ext_resource type="Texture2D" uid="uid://6bl4pdfuoiku" path="res://assets/roguelikeIndoor_transparent.png" id="1_lf5rn"] -[ext_resource type="Texture2D" uid="uid://boh50c7dq3xvw" path="res://assets/roguelikeSheet_transparent.png" id="2_vd5ku"] - -[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_dp04j"] -texture = ExtResource("1_lf5rn") -separation = Vector2i(1, 1) -0:0/0 = 0 -1:0/0 = 0 -2:0/0 = 0 -3:0/0 = 0 -4:0/0 = 0 -5:0/0 = 0 -6:0/0 = 0 -7:0/0 = 0 -8:0/0 = 0 -9:0/0 = 0 -10:0/0 = 0 -12:0/0 = 0 -13:0/0 = 0 -14:0/0 = 0 -15:0/0 = 0 -16:0/0 = 0 -17:0/0 = 0 -18:0/0 = 0 -19:0/0 = 0 -20:0/0 = 0 -21:0/0 = 0 -22:0/0 = 0 -24:0/0 = 0 -25:0/0 = 0 -26:0/0 = 0 -0:1/0 = 0 -1:1/0 = 0 -2:1/0 = 0 -3:1/0 = 0 -4:1/0 = 0 -5:1/0 = 0 -6:1/0 = 0 -7:1/0 = 0 -8:1/0 = 0 -9:1/0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 0 -8:10/0 = 0 -9:10/0 = 0 -10:10/0 = 0 -11:10/0 = 0 -12:10/0 = 0 -13:10/0 = 0 -14:10/0 = 0 -15:10/0 = 0 -16:10/0 = 0 -17:10/0 = 0 -18:10/0 = 0 -19:10/0 = 0 -22:10/0 = 0 -23:10/0 = 0 -24:10/0 = 0 -25:10/0 = 0 -26:10/0 = 0 -0:11/0 = 0 -1:11/0 = 0 -2:11/0 = 0 -3:11/0 = 0 -4:11/0 = 0 -5:11/0 = 0 -6:11/0 = 0 -7:11/0 = 0 -8:11/0 = 0 -9:11/0 = 0 -10:11/0 = 0 -11:11/0 = 0 -12:11/0 = 0 -13:11/0 = 0 -14:11/0 = 0 -15:11/0 = 0 -16:11/0 = 0 -17:11/0 = 0 -18:11/0 = 0 -19:11/0 = 0 -20:11/0 = 0 -21:11/0 = 0 -22:11/0 = 0 -23:11/0 = 0 -24:11/0 = 0 -25:11/0 = 0 -26:11/0 = 0 -0:12/0 = 0 -1:12/0 = 0 -2:12/0 = 0 -3:12/0 = 0 -4:12/0 = 0 -5:12/0 = 0 -6:12/0 = 0 -7:12/0 = 0 -8:12/0 = 0 -9:12/0 = 0 -10:12/0 = 0 -11:12/0 = 0 -12:12/0 = 0 -13:12/0 = 0 -14:12/0 = 0 -15:12/0 = 0 -16:12/0 = 0 -17:12/0 = 0 -18:12/0 = 0 -19:12/0 = 0 -20:12/0 = 0 -21:12/0 = 0 -22:12/0 = 0 -23:12/0 = 0 -24:12/0 = 0 -25:12/0 = 0 -26:12/0 = 0 -0:13/0 = 0 -1:13/0 = 0 -2:13/0 = 0 -3:13/0 = 0 -4:13/0 = 0 -5:13/0 = 0 -6:13/0 = 0 -7:13/0 = 0 -8:13/0 = 0 -9:13/0 = 0 -10:13/0 = 0 -11:13/0 = 0 -12:13/0 = 0 -13:13/0 = 0 -14:13/0 = 0 -15:13/0 = 0 -16:13/0 = 0 -17:13/0 = 0 -18:13/0 = 0 -19:13/0 = 0 -20:13/0 = 0 -21:13/0 = 0 -22:13/0 = 0 -23:13/0 = 0 -24:13/0 = 0 -25:13/0 = 0 -26:13/0 = 0 -0:14/0 = 0 -1:14/0 = 0 -2:14/0 = 0 -3:14/0 = 0 -4:14/0 = 0 -5:14/0 = 0 -6:14/0 = 0 -7:14/0 = 0 -8:14/0 = 0 -9:14/0 = 0 -10:14/0 = 0 -11:14/0 = 0 -12:14/0 = 0 -13:14/0 = 0 -14:14/0 = 0 -15:14/0 = 0 -16:14/0 = 0 -17:14/0 = 0 -18:14/0 = 0 -19:14/0 = 0 -20:14/0 = 0 -21:14/0 = 0 -22:14/0 = 0 -23:14/0 = 0 -24:14/0 = 0 -25:14/0 = 0 -26:14/0 = 0 -0:15/0 = 0 -1:15/0 = 0 -2:15/0 = 0 -3:15/0 = 0 -4:15/0 = 0 -5:15/0 = 0 -6:15/0 = 0 -7:15/0 = 0 -8:15/0 = 0 -9:15/0 = 0 -10:15/0 = 0 -11:15/0 = 0 -12:15/0 = 0 -13:15/0 = 0 -14:15/0 = 0 -15:15/0 = 0 -16:15/0 = 0 -17:15/0 = 0 -18:15/0 = 0 -19:15/0 = 0 -20:15/0 = 0 -21:15/0 = 0 -22:15/0 = 0 -23:15/0 = 0 -24:15/0 = 0 -25:15/0 = 0 -26:15/0 = 0 -0:16/0 = 0 -1:16/0 = 0 -2:16/0 = 0 -3:16/0 = 0 -4:16/0 = 0 -5:16/0 = 0 -6:16/0 = 0 -7:16/0 = 0 -8:16/0 = 0 -9:16/0 = 0 -10:16/0 = 0 -11:16/0 = 0 -12:16/0 = 0 -13:16/0 = 0 -14:16/0 = 0 -15:16/0 = 0 -16:16/0 = 0 -17:16/0 = 0 -18:16/0 = 0 -19:16/0 = 0 -20:16/0 = 0 -21:16/0 = 0 -22:16/0 = 0 -23:16/0 = 0 -24:16/0 = 0 -25:16/0 = 0 -26:16/0 = 0 -0:17/0 = 0 -1:17/0 = 0 -2:17/0 = 0 -3:17/0 = 0 -4:17/0 = 0 -5:17/0 = 0 -6:17/0 = 0 -7:17/0 = 0 -8:17/0 = 0 -9:17/0 = 0 -10:17/0 = 0 -11:17/0 = 0 -12:17/0 = 0 -13:17/0 = 0 -14:17/0 = 0 -15:17/0 = 0 -16:17/0 = 0 -17:17/0 = 0 -18:17/0 = 0 -19:17/0 = 0 -20:17/0 = 0 -21:17/0 = 0 -22:17/0 = 0 -23:17/0 = 0 -24:17/0 = 0 -25:17/0 = 0 -26:17/0 = 0 -23:0/0 = 0 -23:1/0 = 0 -23:2/0 = 0 -11:0/0 = 0 -11:1/0 = 0 -11:2/0 = 0 -21:3/0 = 0 -22:3/0 = 0 -23:3/0 = 0 -24:3/0 = 0 -25:3/0 = 0 -18:4/0 = 0 -19:4/0 = 0 -20:4/0 = 0 -25:4/0 = 0 -16:5/0 = 0 -17:5/0 = 0 -24:5/0 = 0 -25:5/0 = 0 -11:6/0 = 0 -12:6/0 = 0 -13:6/0 = 0 -14:6/0 = 0 -15:6/0 = 0 -24:6/0 = 0 -9:7/0 = 0 -10:7/0 = 0 -11:7/0 = 0 -21:7/0 = 0 -22:7/0 = 0 -23:7/0 = 0 -24:7/0 = 0 -25:7/0 = 0 -10:8/0 = 0 -11:8/0 = 0 -14:8/0 = 0 -15:8/0 = 0 -16:8/0 = 0 -17:8/0 = 0 -21:8/0 = 0 -22:8/0 = 0 -23:8/0 = 0 -24:8/0 = 0 -25:8/0 = 0 -17:9/0 = 0 -18:9/0 = 0 -19:9/0 = 0 -20:9/0 = 0 -21:9/0 = 0 -22:9/0 = 0 -23:9/0 = 0 -24:9/0 = 0 -25:9/0 = 0 -20:10/0 = 0 -21:10/0 = 0 -26:8/0 = 0 -26:9/0 = 0 - -[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_4mxe6"] -texture = ExtResource("2_vd5ku") -separation = Vector2i(1, 1) -0:0/0 = 0 -1:0/0 = 0 -2:0/0 = 0 -3:0/0 = 0 -4:0/0 = 0 -5:0/0 = 0 -6:0/0 = 0 -7:0/0 = 0 -8:0/0 = 0 -9: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0 -29:9/0 = 0 -30:9/0 = 0 -31:9/0 = 0 -32:9/0 = 0 -33:9/0 = 0 -34:9/0 = 0 -35:9/0 = 0 -36:9/0 = 0 -37:9/0 = 0 -39:9/0 = 0 -40:9/0 = 0 -41:9/0 = 0 -42:9/0 = 0 -43:9/0 = 0 -44:9/0 = 0 -45:9/0 = 0 -46:9/0 = 0 -47:9/0 = 0 -48:9/0 = 0 -49:9/0 = 0 -50:9/0 = 0 -51:9/0 = 0 -52:9/0 = 0 -53:9/0 = 0 -54:9/0 = 0 -55:9/0 = 0 -56:9/0 = 0 -57:9/0 = 0 -58:9/0 = 0 -59:9/0 = 0 -0:10/0 = 0 -1:10/0 = 0 -2:10/0 = 0 -3:10/0 = 0 -4:10/0 = 0 -5:10/0 = 0 -6:10/0 = 0 -7:10/0 = 0 -8:10/0 = 0 -9:10/0 = 0 -10:10/0 = 0 -11:10/0 = 0 -12:10/0 = 0 -13:10/0 = 0 -14:10/0 = 0 -15:10/0 = 0 -16:10/0 = 0 -17:10/0 = 0 -18:10/0 = 0 -19:10/0 = 0 -20:10/0 = 0 -21:10/0 = 0 -22:10/0 = 0 -23:10/0 = 0 -24:10/0 = 0 -25:10/0 = 0 -26:10/0 = 0 -27:10/0 = 0 -28:10/0 = 0 -29:10/0 = 0 -30:10/0 = 0 -31:10/0 = 0 -32:10/0 = 0 -33:10/0 = 0 -34:10/0 = 0 -35:10/0 = 0 -36:10/0 = 0 -37:10/0 = 0 -38:10/0 = 0 -39:10/0 = 0 -40:10/0 = 0 -41:10/0 = 0 -42:10/0 = 0 -43:10/0 = 0 -44:10/0 = 0 -45:10/0 = 0 -46:10/0 = 0 -47:10/0 = 0 -48:10/0 = 0 -49:10/0 = 0 -50:10/0 = 0 -51:10/0 = 0 -52:10/0 = 0 -53:10/0 = 0 -54:10/0 = 0 -55:10/0 = 0 -56:10/0 = 0 -57:10/0 = 0 -58:10/0 = 0 -59:10/0 = 0 -0:11/0 = 0 -1:11/0 = 0 -2:11/0 = 0 -3:11/0 = 0 -4:11/0 = 0 -5:11/0 = 0 -6:11/0 = 0 -7:11/0 = 0 -8:11/0 = 0 -9:11/0 = 0 -10:11/0 = 0 -11:11/0 = 0 -12:11/0 = 0 -13:11/0 = 0 -14:11/0 = 0 -15:11/0 = 0 -16:11/0 = 0 -17:11/0 = 0 -18:11/0 = 0 -19:11/0 = 0 -20:11/0 = 0 -21:11/0 = 0 -22:11/0 = 0 -23:11/0 = 0 -24:11/0 = 0 -25:11/0 = 0 -26:11/0 = 0 -27:11/0 = 0 -28:11/0 = 0 -29:11/0 = 0 -30:11/0 = 0 -31:11/0 = 0 -32:11/0 = 0 -33:11/0 = 0 -34:11/0 = 0 -35:11/0 = 0 -36:11/0 = 0 -37:11/0 = 0 -38:11/0 = 0 -39:11/0 = 0 -40:11/0 = 0 -41:11/0 = 0 -42:11/0 = 0 -43:11/0 = 0 -44:11/0 = 0 -45:11/0 = 0 -46:11/0 = 0 -47:11/0 = 0 -48:11/0 = 0 -49:11/0 = 0 -50:11/0 = 0 -51:11/0 = 0 -52:11/0 = 0 -53:11/0 = 0 -54:11/0 = 0 -55:11/0 = 0 -56:11/0 = 0 -57:11/0 = 0 -58:11/0 = 0 -59:11/0 = 0 -0:12/0 = 0 -1:12/0 = 0 -2:12/0 = 0 -3:12/0 = 0 -4:12/0 = 0 -5:12/0 = 0 -6:12/0 = 0 -7:12/0 = 0 -8:12/0 = 0 -9:12/0 = 0 -10:12/0 = 0 -11:12/0 = 0 -12:12/0 = 0 -13:12/0 = 0 -14:12/0 = 0 -15:12/0 = 0 -16:12/0 = 0 -17:12/0 = 0 -18:12/0 = 0 -19:12/0 = 0 -20:12/0 = 0 -21:12/0 = 0 -22:12/0 = 0 -23:12/0 = 0 -24:12/0 = 0 -25:12/0 = 0 -26:12/0 = 0 -27:12/0 = 0 -28:12/0 = 0 -29:12/0 = 0 -30:12/0 = 0 -31:12/0 = 0 -32:12/0 = 0 -33:12/0 = 0 -34:12/0 = 0 -35:12/0 = 0 -36:12/0 = 0 -37:12/0 = 0 -38:12/0 = 0 -39:12/0 = 0 -40:12/0 = 0 -41:12/0 = 0 -42:12/0 = 0 -43:12/0 = 0 -44:12/0 = 0 -45:12/0 = 0 -46:12/0 = 0 -47:12/0 = 0 -48:12/0 = 0 -49:12/0 = 0 -50:12/0 = 0 -51:12/0 = 0 -52:12/0 = 0 -53:12/0 = 0 -54:12/0 = 0 -55:12/0 = 0 -56:12/0 = 0 -57:12/0 = 0 -58:12/0 = 0 -59:12/0 = 0 -0:13/0 = 0 -1:13/0 = 0 -2:13/0 = 0 -3:13/0 = 0 -4:13/0 = 0 -5:13/0 = 0 -6:13/0 = 0 -7:13/0 = 0 -8:13/0 = 0 -9:13/0 = 0 -10:13/0 = 0 -11:13/0 = 0 -12:13/0 = 0 -13:13/0 = 0 -14:13/0 = 0 -15:13/0 = 0 -16:13/0 = 0 -17:13/0 = 0 -18:13/0 = 0 -19:13/0 = 0 -20:13/0 = 0 -21:13/0 = 0 -22:13/0 = 0 -23:13/0 = 0 -24:13/0 = 0 -25:13/0 = 0 -26:13/0 = 0 -27:13/0 = 0 -28:13/0 = 0 -29:13/0 = 0 -30:13/0 = 0 -31:13/0 = 0 -32:13/0 = 0 -33:13/0 = 0 -34:13/0 = 0 -35:13/0 = 0 -36:13/0 = 0 -37:13/0 = 0 -38:13/0 = 0 -39:13/0 = 0 -40:13/0 = 0 -41:13/0 = 0 -42:13/0 = 0 -43:13/0 = 0 -44:13/0 = 0 -45:13/0 = 0 -46:13/0 = 0 -47:13/0 = 0 -48:13/0 = 0 -49:13/0 = 0 -50:13/0 = 0 -51:13/0 = 0 -52:13/0 = 0 -53:13/0 = 0 -54:13/0 = 0 -55:13/0 = 0 -56:13/0 = 0 -57:13/0 = 0 -58:13/0 = 0 -59:13/0 = 0 -0:14/0 = 0 -1:14/0 = 0 -2:14/0 = 0 -3:14/0 = 0 -4:14/0 = 0 -5:14/0 = 0 -6:14/0 = 0 -7:14/0 = 0 -8:14/0 = 0 -9:14/0 = 0 -10:14/0 = 0 -11:14/0 = 0 -12:14/0 = 0 -13:14/0 = 0 -14:14/0 = 0 -15:14/0 = 0 -16:14/0 = 0 -17:14/0 = 0 -18:14/0 = 0 -19:14/0 = 0 -20:14/0 = 0 -21:14/0 = 0 -22:14/0 = 0 -23:14/0 = 0 -24:14/0 = 0 -25:14/0 = 0 -26:14/0 = 0 -27:14/0 = 0 -28:14/0 = 0 -29:14/0 = 0 -30:14/0 = 0 -31:14/0 = 0 -32:14/0 = 0 -33:14/0 = 0 -34:14/0 = 0 -35:14/0 = 0 -36:14/0 = 0 -37:14/0 = 0 -38:14/0 = 0 -39:14/0 = 0 -40:14/0 = 0 -41:14/0 = 0 -42:14/0 = 0 -43:14/0 = 0 -44:14/0 = 0 -45:14/0 = 0 -46:14/0 = 0 -47:14/0 = 0 -48:14/0 = 0 -49:14/0 = 0 -50:14/0 = 0 -51:14/0 = 0 -52:14/0 = 0 -53:14/0 = 0 -54:14/0 = 0 -55:14/0 = 0 -56:14/0 = 0 -57:14/0 = 0 -58:14/0 = 0 -59:14/0 = 0 -0:15/0 = 0 -1:15/0 = 0 -2:15/0 = 0 -3:15/0 = 0 -4:15/0 = 0 -5:15/0 = 0 -6:15/0 = 0 -7:15/0 = 0 -8:15/0 = 0 -9:15/0 = 0 -10:15/0 = 0 -11:15/0 = 0 -12:15/0 = 0 -13:15/0 = 0 -14:15/0 = 0 -15:15/0 = 0 -16:15/0 = 0 -17:15/0 = 0 -18:15/0 = 0 -19:15/0 = 0 -20:15/0 = 0 -21:15/0 = 0 -22:15/0 = 0 -23:15/0 = 0 -24:15/0 = 0 -25:15/0 = 0 -26:15/0 = 0 -27:15/0 = 0 -28:15/0 = 0 -29:15/0 = 0 -30:15/0 = 0 -31:15/0 = 0 -32:15/0 = 0 -33:15/0 = 0 -34:15/0 = 0 -35:15/0 = 0 -36:15/0 = 0 -37:15/0 = 0 -38:15/0 = 0 -39:15/0 = 0 -40:15/0 = 0 -41:15/0 = 0 -42:15/0 = 0 -43:15/0 = 0 -44:15/0 = 0 -45:15/0 = 0 -46:15/0 = 0 -47:15/0 = 0 -48:15/0 = 0 -49:15/0 = 0 -50:15/0 = 0 -51:15/0 = 0 -52:15/0 = 0 -53:15/0 = 0 -54:15/0 = 0 -55:15/0 = 0 -56:15/0 = 0 -57:15/0 = 0 -58:15/0 = 0 -59:15/0 = 0 -0:16/0 = 0 -1:16/0 = 0 -2:16/0 = 0 -3:16/0 = 0 -4:16/0 = 0 -5:16/0 = 0 -6:16/0 = 0 -7:16/0 = 0 -8:16/0 = 0 -9:16/0 = 0 -10:16/0 = 0 -11:16/0 = 0 -12:16/0 = 0 -13:16/0 = 0 -14:16/0 = 0 -15:16/0 = 0 -16:16/0 = 0 -17:16/0 = 0 -18:16/0 = 0 -19:16/0 = 0 -20:16/0 = 0 -21:16/0 = 0 -22:16/0 = 0 -23:16/0 = 0 -24:16/0 = 0 -25:16/0 = 0 -26:16/0 = 0 -27:16/0 = 0 -28:16/0 = 0 -29:16/0 = 0 -30:16/0 = 0 -31:16/0 = 0 -32:16/0 = 0 -33:16/0 = 0 -34:16/0 = 0 -35:16/0 = 0 -36:16/0 = 0 -37:16/0 = 0 -38:16/0 = 0 -39:16/0 = 0 -40:16/0 = 0 -41:16/0 = 0 -42:16/0 = 0 -43:16/0 = 0 -44:16/0 = 0 -45:16/0 = 0 -46:16/0 = 0 -47:16/0 = 0 -48:16/0 = 0 -49:16/0 = 0 -50:16/0 = 0 -51:16/0 = 0 -52:16/0 = 0 -53:16/0 = 0 -54:16/0 = 0 -55:16/0 = 0 -56:16/0 = 0 -57:16/0 = 0 -58:16/0 = 0 -59:16/0 = 0 -0:17/0 = 0 -1:17/0 = 0 -2:17/0 = 0 -3:17/0 = 0 -4:17/0 = 0 -5:17/0 = 0 -6:17/0 = 0 -7:17/0 = 0 -8:17/0 = 0 -9:17/0 = 0 -10:17/0 = 0 -11:17/0 = 0 -12:17/0 = 0 -13:17/0 = 0 -14:17/0 = 0 -15:17/0 = 0 -16:17/0 = 0 -17:17/0 = 0 -18:17/0 = 0 -19:17/0 = 0 -20:17/0 = 0 -21:17/0 = 0 -22:17/0 = 0 -23:17/0 = 0 -24:17/0 = 0 -25:17/0 = 0 -26:17/0 = 0 -27:17/0 = 0 -28:17/0 = 0 -29:17/0 = 0 -30:17/0 = 0 -31:17/0 = 0 -32:17/0 = 0 -33:17/0 = 0 -34:17/0 = 0 -35:17/0 = 0 -36:17/0 = 0 -37:17/0 = 0 -38:17/0 = 0 -39:17/0 = 0 -40:17/0 = 0 -41:17/0 = 0 -42:17/0 = 0 -43:17/0 = 0 -44:17/0 = 0 -45:17/0 = 0 -46:17/0 = 0 -47:17/0 = 0 -48:17/0 = 0 -49:17/0 = 0 -50:17/0 = 0 -51:17/0 = 0 -52:17/0 = 0 -53:17/0 = 0 -54:17/0 = 0 -55:17/0 = 0 -56:17/0 = 0 -57:17/0 = 0 -58:17/0 = 0 -59:17/0 = 0 -2:18/0 = 0 -3:18/0 = 0 -4:18/0 = 0 -5:18/0 = 0 -6:18/0 = 0 -7:18/0 = 0 -8:18/0 = 0 -9:18/0 = 0 -10:18/0 = 0 -11:18/0 = 0 -12:18/0 = 0 -13:18/0 = 0 -14:18/0 = 0 -15:18/0 = 0 -16:18/0 = 0 -17:18/0 = 0 -18:18/0 = 0 -19:18/0 = 0 -20:18/0 = 0 -21:18/0 = 0 -22:18/0 = 0 -23:18/0 = 0 -24:18/0 = 0 -25:18/0 = 0 -26:18/0 = 0 -27:18/0 = 0 -28:18/0 = 0 -29:18/0 = 0 -30:18/0 = 0 -31:18/0 = 0 -32:18/0 = 0 -33:18/0 = 0 -34:18/0 = 0 -35:18/0 = 0 -36:18/0 = 0 -37:18/0 = 0 -38:18/0 = 0 -39:18/0 = 0 -40:18/0 = 0 -41:18/0 = 0 -42:18/0 = 0 -43:18/0 = 0 -44:18/0 = 0 -45:18/0 = 0 -46:18/0 = 0 -47:18/0 = 0 -48:18/0 = 0 -49:18/0 = 0 -50:18/0 = 0 -51:18/0 = 0 -52:18/0 = 0 -53:18/0 = 0 -54:18/0 = 0 -55:18/0 = 0 -56:18/0 = 0 -57:18/0 = 0 -58:18/0 = 0 -59:18/0 = 0 -0:19/0 = 0 -1:19/0 = 0 -2:19/0 = 0 -3:19/0 = 0 -4:19/0 = 0 -5:19/0 = 0 -6:19/0 = 0 -7:19/0 = 0 -8:19/0 = 0 -9:19/0 = 0 -10:19/0 = 0 -11:19/0 = 0 -12:19/0 = 0 -13:19/0 = 0 -14:19/0 = 0 -15:19/0 = 0 -16:19/0 = 0 -17:19/0 = 0 -18:19/0 = 0 -19:19/0 = 0 -20:19/0 = 0 -21:19/0 = 0 -22:19/0 = 0 -23:19/0 = 0 -24:19/0 = 0 -25:19/0 = 0 -26:19/0 = 0 -27:19/0 = 0 -28:19/0 = 0 -29:19/0 = 0 -30:19/0 = 0 -31:19/0 = 0 -32:19/0 = 0 -33:19/0 = 0 -34:19/0 = 0 -35:19/0 = 0 -36:19/0 = 0 -37:19/0 = 0 -38:19/0 = 0 -39:19/0 = 0 -40:19/0 = 0 -41:19/0 = 0 -42:19/0 = 0 -43:19/0 = 0 -44:19/0 = 0 -45:19/0 = 0 -46:19/0 = 0 -47:19/0 = 0 -48:19/0 = 0 -49:19/0 = 0 -50:19/0 = 0 -51:19/0 = 0 -52:19/0 = 0 -53:19/0 = 0 -54:19/0 = 0 -55:19/0 = 0 -56:19/0 = 0 -57:19/0 = 0 -0:20/0 = 0 -1:20/0 = 0 -2:20/0 = 0 -3:20/0 = 0 -4:20/0 = 0 -5:20/0 = 0 -6:20/0 = 0 -7:20/0 = 0 -8:20/0 = 0 -9:20/0 = 0 -10:20/0 = 0 -11:20/0 = 0 -12:20/0 = 0 -13:20/0 = 0 -14:20/0 = 0 -15:20/0 = 0 -16:20/0 = 0 -17:20/0 = 0 -18:20/0 = 0 -19:20/0 = 0 -20:20/0 = 0 -21:20/0 = 0 -22:20/0 = 0 -23:20/0 = 0 -24:20/0 = 0 -25:20/0 = 0 -26:20/0 = 0 -27:20/0 = 0 -28:20/0 = 0 -29:20/0 = 0 -30:20/0 = 0 -31:20/0 = 0 -32:20/0 = 0 -33:20/0 = 0 -34:20/0 = 0 -35:20/0 = 0 -36:20/0 = 0 -37:20/0 = 0 -38:20/0 = 0 -39:20/0 = 0 -40:20/0 = 0 -41:20/0 = 0 -42:20/0 = 0 -43:20/0 = 0 -44:20/0 = 0 -45:20/0 = 0 -46:20/0 = 0 -47:20/0 = 0 -48:20/0 = 0 -49:20/0 = 0 -50:20/0 = 0 -51:20/0 = 0 -52:20/0 = 0 -53:20/0 = 0 -54:20/0 = 0 -55:20/0 = 0 -56:20/0 = 0 -57:20/0 = 0 -58:20/0 = 0 -59:20/0 = 0 -0:21/0 = 0 -1:21/0 = 0 -2:21/0 = 0 -3:21/0 = 0 -4:21/0 = 0 -5:21/0 = 0 -6:21/0 = 0 -7:21/0 = 0 -8:21/0 = 0 -9:21/0 = 0 -10:21/0 = 0 -11:21/0 = 0 -12:21/0 = 0 -13:21/0 = 0 -14:21/0 = 0 -15:21/0 = 0 -16:21/0 = 0 -17:21/0 = 0 -18:21/0 = 0 -19:21/0 = 0 -20:21/0 = 0 -21:21/0 = 0 -22:21/0 = 0 -23:21/0 = 0 -24:21/0 = 0 -25:21/0 = 0 -26:21/0 = 0 -27:21/0 = 0 -28:21/0 = 0 -29:21/0 = 0 -30:21/0 = 0 -31:21/0 = 0 -32:21/0 = 0 -33:21/0 = 0 -34:21/0 = 0 -35:21/0 = 0 -36:21/0 = 0 -37:21/0 = 0 -38:21/0 = 0 -39:21/0 = 0 -40:21/0 = 0 -41:21/0 = 0 -42:21/0 = 0 -43:21/0 = 0 -44:21/0 = 0 -45:21/0 = 0 -46:21/0 = 0 -47:21/0 = 0 -48:21/0 = 0 -49:21/0 = 0 -50:21/0 = 0 -51:21/0 = 0 -52:21/0 = 0 -53:21/0 = 0 -54:21/0 = 0 -55:21/0 = 0 -56:21/0 = 0 -57:21/0 = 0 -58:21/0 = 0 -59:21/0 = 0 -0:22/0 = 0 -1:22/0 = 0 -2:22/0 = 0 -3:22/0 = 0 -4:22/0 = 0 -5:22/0 = 0 -6:22/0 = 0 -7:22/0 = 0 -8:22/0 = 0 -9:22/0 = 0 -10:22/0 = 0 -11:22/0 = 0 -12:22/0 = 0 -13:22/0 = 0 -14:22/0 = 0 -15:22/0 = 0 -16:22/0 = 0 -17:22/0 = 0 -18:22/0 = 0 -19:22/0 = 0 -20:22/0 = 0 -21:22/0 = 0 -22:22/0 = 0 -23:22/0 = 0 -24:22/0 = 0 -25:22/0 = 0 -26:22/0 = 0 -27:22/0 = 0 -28:22/0 = 0 -29:22/0 = 0 -30:22/0 = 0 -31:22/0 = 0 -32:22/0 = 0 -33:22/0 = 0 -34:22/0 = 0 -35:22/0 = 0 -36:22/0 = 0 -37:22/0 = 0 -38:22/0 = 0 -39:22/0 = 0 -40:22/0 = 0 -41:22/0 = 0 -42:22/0 = 0 -43:22/0 = 0 -44:22/0 = 0 -45:22/0 = 0 -46:22/0 = 0 -47:22/0 = 0 -48:22/0 = 0 -49:22/0 = 0 -50:22/0 = 0 -51:22/0 = 0 -52:22/0 = 0 -53:22/0 = 0 -54:22/0 = 0 -55:22/0 = 0 -56:22/0 = 0 -57:22/0 = 0 -58:22/0 = 0 -59:22/0 = 0 -0:23/0 = 0 -1:23/0 = 0 -2:23/0 = 0 -3:23/0 = 0 -4:23/0 = 0 -5:23/0 = 0 -6:23/0 = 0 -7:23/0 = 0 -8:23/0 = 0 -9:23/0 = 0 -10:23/0 = 0 -11:23/0 = 0 -12:23/0 = 0 -13:23/0 = 0 -14:23/0 = 0 -15:23/0 = 0 -16:23/0 = 0 -17:23/0 = 0 -18:23/0 = 0 -19:23/0 = 0 -20:23/0 = 0 -21:23/0 = 0 -22:23/0 = 0 -23:23/0 = 0 -24:23/0 = 0 -25:23/0 = 0 -26:23/0 = 0 -27:23/0 = 0 -28:23/0 = 0 -29:23/0 = 0 -30:23/0 = 0 -31:23/0 = 0 -32:23/0 = 0 -33:23/0 = 0 -34:23/0 = 0 -35:23/0 = 0 -36:23/0 = 0 -37:23/0 = 0 -38:23/0 = 0 -39:23/0 = 0 -40:23/0 = 0 -41:23/0 = 0 -42:23/0 = 0 -43:23/0 = 0 -44:23/0 = 0 -45:23/0 = 0 -46:23/0 = 0 -47:23/0 = 0 -48:23/0 = 0 -49:23/0 = 0 -50:23/0 = 0 -51:23/0 = 0 -52:23/0 = 0 -53:23/0 = 0 -54:23/0 = 0 -55:23/0 = 0 -56:23/0 = 0 -57:23/0 = 0 -58:23/0 = 0 -59:23/0 = 0 -0:24/0 = 0 -1:24/0 = 0 -2:24/0 = 0 -3:24/0 = 0 -4:24/0 = 0 -5:24/0 = 0 -6:24/0 = 0 -7:24/0 = 0 -8:24/0 = 0 -9:24/0 = 0 -10:24/0 = 0 -11:24/0 = 0 -12:24/0 = 0 -13:24/0 = 0 -14:24/0 = 0 -15:24/0 = 0 -16:24/0 = 0 -17:24/0 = 0 -18:24/0 = 0 -19:24/0 = 0 -20:24/0 = 0 -21:24/0 = 0 -22:24/0 = 0 -23:24/0 = 0 -24:24/0 = 0 -25:24/0 = 0 -26:24/0 = 0 -27:24/0 = 0 -28:24/0 = 0 -29:24/0 = 0 -30:24/0 = 0 -31:24/0 = 0 -32:24/0 = 0 -33:24/0 = 0 -34:24/0 = 0 -35:24/0 = 0 -36:24/0 = 0 -37:24/0 = 0 -38:24/0 = 0 -39:24/0 = 0 -40:24/0 = 0 -41:24/0 = 0 -42:24/0 = 0 -43:24/0 = 0 -44:24/0 = 0 -45:24/0 = 0 -46:24/0 = 0 -47:24/0 = 0 -48:24/0 = 0 -49:24/0 = 0 -50:24/0 = 0 -51:24/0 = 0 -52:24/0 = 0 -53:24/0 = 0 -54:24/0 = 0 -55:24/0 = 0 -56:24/0 = 0 -57:24/0 = 0 -58:24/0 = 0 -59:24/0 = 0 -2:25/0 = 0 -3:25/0 = 0 -4:25/0 = 0 -5:25/0 = 0 -6:25/0 = 0 -7:25/0 = 0 -8:25/0 = 0 -9:25/0 = 0 -10:25/0 = 0 -11:25/0 = 0 -12:25/0 = 0 -13:25/0 = 0 -14:25/0 = 0 -15:25/0 = 0 -16:25/0 = 0 -17:25/0 = 0 -18:25/0 = 0 -19:25/0 = 0 -20:25/0 = 0 -21:25/0 = 0 -22:25/0 = 0 -23:25/0 = 0 -24:25/0 = 0 -25:25/0 = 0 -26:25/0 = 0 -27:25/0 = 0 -28:25/0 = 0 -29:25/0 = 0 -30:25/0 = 0 -31:25/0 = 0 -32:25/0 = 0 -33:25/0 = 0 -34:25/0 = 0 -35:25/0 = 0 -36:25/0 = 0 -37:25/0 = 0 -38:25/0 = 0 -39:25/0 = 0 -40:25/0 = 0 -41:25/0 = 0 -42:25/0 = 0 -43:25/0 = 0 -44:25/0 = 0 -45:25/0 = 0 -46:25/0 = 0 -47:25/0 = 0 -48:25/0 = 0 -49:25/0 = 0 -50:25/0 = 0 -51:25/0 = 0 -52:25/0 = 0 -53:25/0 = 0 -54:25/0 = 0 -55:25/0 = 0 -56:25/0 = 0 -57:25/0 = 0 -58:25/0 = 0 -59:25/0 = 0 -0:26/0 = 0 -1:26/0 = 0 -2:26/0 = 0 -3:26/0 = 0 -4:26/0 = 0 -5:26/0 = 0 -6:26/0 = 0 -7:26/0 = 0 -8:26/0 = 0 -9:26/0 = 0 -10:26/0 = 0 -11:26/0 = 0 -12:26/0 = 0 -13:26/0 = 0 -14:26/0 = 0 -15:26/0 = 0 -16:26/0 = 0 -17:26/0 = 0 -18:26/0 = 0 -19:26/0 = 0 -20:26/0 = 0 -21:26/0 = 0 -22:26/0 = 0 -23:26/0 = 0 -24:26/0 = 0 -25:26/0 = 0 -26:26/0 = 0 -27:26/0 = 0 -28:26/0 = 0 -29:26/0 = 0 -30:26/0 = 0 -31:26/0 = 0 -32:26/0 = 0 -33:26/0 = 0 -34:26/0 = 0 -35:26/0 = 0 -36:26/0 = 0 -37:26/0 = 0 -38:26/0 = 0 -39:26/0 = 0 -40:26/0 = 0 -41:26/0 = 0 -42:26/0 = 0 -43:26/0 = 0 -44:26/0 = 0 -45:26/0 = 0 -46:26/0 = 0 -47:26/0 = 0 -48:26/0 = 0 -49:26/0 = 0 -50:26/0 = 0 -51:26/0 = 0 -52:26/0 = 0 -53:26/0 = 0 -54:26/0 = 0 -55:26/0 = 0 -56:26/0 = 0 -57:26/0 = 0 -58:26/0 = 0 -59:26/0 = 0 -0:27/0 = 0 -1:27/0 = 0 -2:27/0 = 0 -3:27/0 = 0 -4:27/0 = 0 -5:27/0 = 0 -6:27/0 = 0 -7:27/0 = 0 -8:27/0 = 0 -9:27/0 = 0 -10:27/0 = 0 -11:27/0 = 0 -12:27/0 = 0 -13:27/0 = 0 -14:27/0 = 0 -15:27/0 = 0 -16:27/0 = 0 -17:27/0 = 0 -18:27/0 = 0 -19:27/0 = 0 -20:27/0 = 0 -21:27/0 = 0 -22:27/0 = 0 -23:27/0 = 0 -24:27/0 = 0 -25:27/0 = 0 -26:27/0 = 0 -27:27/0 = 0 -28:27/0 = 0 -29:27/0 = 0 -30:27/0 = 0 -31:27/0 = 0 -32:27/0 = 0 -33:27/0 = 0 -34:27/0 = 0 -35:27/0 = 0 -36:27/0 = 0 -37:27/0 = 0 -38:27/0 = 0 -39:27/0 = 0 -40:27/0 = 0 -41:27/0 = 0 -42:27/0 = 0 -43:27/0 = 0 -44:27/0 = 0 -45:27/0 = 0 -46:27/0 = 0 -47:27/0 = 0 -48:27/0 = 0 -49:27/0 = 0 -50:27/0 = 0 -51:27/0 = 0 -52:27/0 = 0 -53:27/0 = 0 -54:27/0 = 0 -55:27/0 = 0 -56:27/0 = 0 -57:27/0 = 0 -58:27/0 = 0 -59:27/0 = 0 -0:28/0 = 0 -1:28/0 = 0 -2:28/0 = 0 -3:28/0 = 0 -4:28/0 = 0 -5:28/0 = 0 -6:28/0 = 0 -7:28/0 = 0 -8:28/0 = 0 -9:28/0 = 0 -10:28/0 = 0 -11:28/0 = 0 -12:28/0 = 0 -13:28/0 = 0 -14:28/0 = 0 -15:28/0 = 0 -16:28/0 = 0 -17:28/0 = 0 -18:28/0 = 0 -19:28/0 = 0 -20:28/0 = 0 -21:28/0 = 0 -22:28/0 = 0 -23:28/0 = 0 -24:28/0 = 0 -25:28/0 = 0 -26:28/0 = 0 -27:28/0 = 0 -28:28/0 = 0 -29:28/0 = 0 -30:28/0 = 0 -31:28/0 = 0 -32:28/0 = 0 -33:28/0 = 0 -34:28/0 = 0 -35:28/0 = 0 -36:28/0 = 0 -37:28/0 = 0 -38:28/0 = 0 -39:28/0 = 0 -40:28/0 = 0 -41:28/0 = 0 -42:28/0 = 0 -43:28/0 = 0 -44:28/0 = 0 -45:28/0 = 0 -46:28/0 = 0 -47:28/0 = 0 -48:28/0 = 0 -49:28/0 = 0 -50:28/0 = 0 -51:28/0 = 0 -52:28/0 = 0 -53:28/0 = 0 -54:28/0 = 0 -55:28/0 = 0 -56:28/0 = 0 -57:28/0 = 0 -58:28/0 = 0 -59:28/0 = 0 -0:29/0 = 0 -1:29/0 = 0 -2:29/0 = 0 -3:29/0 = 0 -4:29/0 = 0 -5:29/0 = 0 -6:29/0 = 0 -7:29/0 = 0 -8:29/0 = 0 -9:29/0 = 0 -10:29/0 = 0 -11:29/0 = 0 -12:29/0 = 0 -13:29/0 = 0 -14:29/0 = 0 -15:29/0 = 0 -16:29/0 = 0 -17:29/0 = 0 -18:29/0 = 0 -19:29/0 = 0 -20:29/0 = 0 -21:29/0 = 0 -22:29/0 = 0 -23:29/0 = 0 -24:29/0 = 0 -25:29/0 = 0 -26:29/0 = 0 -27:29/0 = 0 -28:29/0 = 0 -29:29/0 = 0 -30:29/0 = 0 -31:29/0 = 0 -32:29/0 = 0 -33:29/0 = 0 -34:29/0 = 0 -35:29/0 = 0 -36:29/0 = 0 -37:29/0 = 0 -38:29/0 = 0 -39:29/0 = 0 -40:29/0 = 0 -41:29/0 = 0 -42:29/0 = 0 -43:29/0 = 0 -44:29/0 = 0 -45:29/0 = 0 -46:29/0 = 0 -47:29/0 = 0 -48:29/0 = 0 -49:29/0 = 0 -50:29/0 = 0 -51:29/0 = 0 -52:29/0 = 0 -53:29/0 = 0 -54:29/0 = 0 -55:29/0 = 0 -56:29/0 = 0 -57:29/0 = 0 -58:29/0 = 0 -59:29/0 = 0 -0:30/0 = 0 -1:30/0 = 0 -2:30/0 = 0 -3:30/0 = 0 -4:30/0 = 0 -5:30/0 = 0 -6:30/0 = 0 -7:30/0 = 0 -8:30/0 = 0 -9:30/0 = 0 -10:30/0 = 0 -11:30/0 = 0 -12:30/0 = 0 -13:30/0 = 0 -14:30/0 = 0 -15:30/0 = 0 -16:30/0 = 0 -17:30/0 = 0 -18:30/0 = 0 -19:30/0 = 0 -20:30/0 = 0 -21:30/0 = 0 -22:30/0 = 0 -23:30/0 = 0 -24:30/0 = 0 -25:30/0 = 0 -26:30/0 = 0 -27:30/0 = 0 -28:30/0 = 0 -29:30/0 = 0 -30:30/0 = 0 -31:30/0 = 0 -32:30/0 = 0 -33:30/0 = 0 -34:30/0 = 0 -35:30/0 = 0 -36:30/0 = 0 -37:30/0 = 0 -38:30/0 = 0 -39:30/0 = 0 -40:30/0 = 0 -41:30/0 = 0 -42:30/0 = 0 -43:30/0 = 0 -44:30/0 = 0 -45:30/0 = 0 -46:30/0 = 0 -47:30/0 = 0 -48:30/0 = 0 -49:30/0 = 0 -50:30/0 = 0 -51:30/0 = 0 -52:30/0 = 0 -53:30/0 = 0 -54:30/0 = 0 -55:30/0 = 0 -56:30/0 = 0 -57:30/0 = 0 -58:30/0 = 0 -59:30/0 = 0 -0:31/0 = 0 -1:31/0 = 0 -2:31/0 = 0 -3:31/0 = 0 -4:31/0 = 0 -5:31/0 = 0 -6:31/0 = 0 -7:31/0 = 0 -8:31/0 = 0 -9:31/0 = 0 -10:31/0 = 0 -11:31/0 = 0 -12:31/0 = 0 -13:31/0 = 0 -14:31/0 = 0 -15:31/0 = 0 -16:31/0 = 0 -17:31/0 = 0 -18:31/0 = 0 -19:31/0 = 0 -20:31/0 = 0 -21:31/0 = 0 -22:31/0 = 0 -23:31/0 = 0 -24:31/0 = 0 -25:31/0 = 0 -26:31/0 = 0 -27:31/0 = 0 -28:31/0 = 0 -29:31/0 = 0 -30:31/0 = 0 -31:31/0 = 0 -32:31/0 = 0 -33:31/0 = 0 -34:31/0 = 0 -35:31/0 = 0 -36:31/0 = 0 -37:31/0 = 0 -39:31/0 = 0 -40:31/0 = 0 -41:31/0 = 0 -42:31/0 = 0 -43:31/0 = 0 -44:31/0 = 0 -45:31/0 = 0 -46:31/0 = 0 -47:31/0 = 0 -48:31/0 = 0 -49:31/0 = 0 -50:31/0 = 0 -51:31/0 = 0 -52:31/0 = 0 -53:31/0 = 0 -54:31/0 = 0 -55:31/0 = 0 -56:31/0 = 0 -57:31/0 = 0 -58:31/0 = 0 -59:31/0 = 0 - -[resource] -sources/2 = SubResource("TileSetAtlasSource_dp04j") -sources/3 = SubResource("TileSetAtlasSource_4mxe6") diff --git a/assets/roguelikeIndoor_transparent.png b/assets/roguelikeIndoor_transparent.png deleted file mode 100644 index af5bd7f..0000000 Binary files a/assets/roguelikeIndoor_transparent.png and /dev/null differ diff --git a/assets/roguelikeIndoor_transparent.png.import b/assets/roguelikeIndoor_transparent.png.import deleted file mode 100644 index 7c898e0..0000000 --- a/assets/roguelikeIndoor_transparent.png.import +++ /dev/null @@ -1,34 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://6bl4pdfuoiku" -path="res://.godot/imported/roguelikeIndoor_transparent.png-689d37e3ece7cf0637f0220206a95208.ctex" -metadata={ -"vram_texture": false -} - -[deps] - -source_file="res://assets/roguelikeIndoor_transparent.png" -dest_files=["res://.godot/imported/roguelikeIndoor_transparent.png-689d37e3ece7cf0637f0220206a95208.ctex"] - -[params] - -compress/mode=0 -compress/high_quality=false -compress/lossy_quality=0.7 -compress/hdr_compression=1 -compress/normal_map=0 -compress/channel_pack=0 -mipmaps/generate=false -mipmaps/limit=-1 -roughness/mode=0 -roughness/src_normal="" -process/fix_alpha_border=true -process/premult_alpha=false -process/normal_map_invert_y=false -process/hdr_as_srgb=false -process/hdr_clamp_exposure=false -process/size_limit=0 -detect_3d/compress_to=1 diff --git a/assets/roguelikeSheet_transparent.png b/assets/roguelikeSheet_transparent.png deleted file mode 100644 index 79b1332..0000000 Binary files a/assets/roguelikeSheet_transparent.png and /dev/null differ diff --git a/assets/tilemap.png b/assets/third-party/dev_tiles_kenney.png similarity index 100% rename from assets/tilemap.png rename to assets/third-party/dev_tiles_kenney.png diff --git a/assets/roguelikeSheet_transparent.png.import b/assets/third-party/dev_tiles_kenney.png.import similarity index 64% rename from assets/roguelikeSheet_transparent.png.import rename to assets/third-party/dev_tiles_kenney.png.import index 21e1c38..3b6e029 100644 --- a/assets/roguelikeSheet_transparent.png.import +++ b/assets/third-party/dev_tiles_kenney.png.import @@ -2,16 +2,16 @@ importer="texture" type="CompressedTexture2D" -uid="uid://boh50c7dq3xvw" -path="res://.godot/imported/roguelikeSheet_transparent.png-cd3a50438593de754089da4607424a78.ctex" +uid="uid://bo8nw2tl11266" +path="res://.godot/imported/dev_tiles_kenney.png-b546e51b7fb973489fb78972653e6c30.ctex" metadata={ "vram_texture": false } [deps] -source_file="res://assets/roguelikeSheet_transparent.png" -dest_files=["res://.godot/imported/roguelikeSheet_transparent.png-cd3a50438593de754089da4607424a78.ctex"] +source_file="res://assets/third-party/dev_tiles_kenney.png" +dest_files=["res://.godot/imported/dev_tiles_kenney.png-b546e51b7fb973489fb78972653e6c30.ctex"] [params] diff --git a/assets/cursor-01.png b/assets/ui/cursor-01.png similarity index 100% rename from assets/cursor-01.png rename to assets/ui/cursor-01.png diff --git a/assets/cursor-01.png.import b/assets/ui/cursor-01.png.import similarity index 72% rename from assets/cursor-01.png.import rename to assets/ui/cursor-01.png.import index 0bc4cf2..5a31cbb 100644 --- a/assets/cursor-01.png.import +++ b/assets/ui/cursor-01.png.import @@ -3,15 +3,15 @@ importer="texture" type="CompressedTexture2D" uid="uid://b7tmv786y4ryd" -path="res://.godot/imported/cursor-01.png-7dcd2c75ed8522f6f5224ee7144b9ba1.ctex" +path="res://.godot/imported/cursor-01.png-5ae455f77ddf01ca84afd7a2a56fe0e7.ctex" metadata={ "vram_texture": false } [deps] -source_file="res://assets/cursor-01.png" -dest_files=["res://.godot/imported/cursor-01.png-7dcd2c75ed8522f6f5224ee7144b9ba1.ctex"] +source_file="res://assets/ui/cursor-01.png" +dest_files=["res://.godot/imported/cursor-01.png-5ae455f77ddf01ca84afd7a2a56fe0e7.ctex"] [params] diff --git a/experiments/main.gd b/experiments/main.gd deleted file mode 100644 index 4faae3d..0000000 --- a/experiments/main.gd +++ /dev/null @@ -1,10 +0,0 @@ -extends Node - -# Called when the node enters the scene tree for the first time. -func _ready(): - pass - - -# Called every frame. 'delta' is the elapsed time since the previous frame. -# func _process(delta): -# pass diff --git a/experiments/main.tscn b/experiments/main.tscn deleted file mode 100644 index d8363e0..0000000 --- a/experiments/main.tscn +++ /dev/null @@ -1,9 +0,0 @@ -[gd_scene load_steps=3 format=3 uid="uid://dijgt75sw1mcs"] - -[ext_resource type="Script" path="res://main.gd" id="1_ogjct"] -[ext_resource type="PackedScene" uid="uid://b3ongt2d2l8sf" path="res://scenes/ui/mainMenu/main_menu.tscn" id="2_4eiq2"] - -[node name="Main" type="Node"] -script = ExtResource("1_ogjct") - -[node name="MainMenu" parent="." instance=ExtResource("2_4eiq2")] diff --git a/experiments/test.tscn b/experiments/test.tscn deleted file mode 100644 index 92f8fb5..0000000 --- a/experiments/test.tscn +++ /dev/null @@ -1,10 +0,0 @@ -[gd_scene load_steps=2 format=3 uid="uid://bo2421qsghpcl"] - -[ext_resource type="TileSet" uid="uid://d0bihcm3fyv5o" path="res://assets/new_tile_set.tres" id="1_0da5o"] - -[node name="Node2D" type="Node2D"] - -[node name="TileMap" type="TileMap" parent="."] -tile_set = ExtResource("1_0da5o") -format = 2 -layer_0/tile_data = PackedInt32Array(0, 589827, 2, 1, 589827, 2, 2, 589827, 2, 3, 589827, 2, 4, 589827, 2, 5, 589827, 2, 6, 589827, 2, 7, 589827, 2, 8, 589827, 2, 9, 589827, 2, 10, 589827, 2, 11, 589827, 2, 12, 589827, 2, 13, 589827, 2, 14, 589827, 2, 65551, 589827, 2, 65552, 589827, 2, 65553, 589827, 2, 65554, 589827, 2, 65555, 589827, 2, 19, 589827, 2, 20, 589827, 2, 21, 589827, 2, 22, 589827, 2, 18, 589827, 2, 17, 589827, 2, 16, 589827, 2, 15, 589827, 2, 65545, 589827, 2, 65544, 589827, 2, 65543, 589827, 2, 65542, 589827, 2, 65541, 589827, 2, 65540, 589827, 2, 65539, 589827, 2, 65538, 589827, 2, 65537, 589827, 2, 65536, 589827, 2, 65556, 589827, 2, 65557, 589827, 2, 65558, 589827, 2, 65559, 589827, 2, 65560, 589827, 2, 65550, 589827, 2, 65549, 589827, 2, 65548, 589827, 2, 65547, 589827, 2, 65546, 589827, 2, 131077, 589827, 2, 131076, 589827, 2, 131075, 589827, 2, 131074, 589827, 2, 196610, 589827, 2, 196609, 589827, 2, 196608, 589827, 2, 131072, 589827, 2, 262144, 589827, 2, 327680, 589827, 2, 393216, 589827, 2, 458752, 589827, 2, 524288, 589827, 2, 589824, 589827, 2, 589825, 589827, 2, 655361, 589827, 2, 720897, 589827, 2, 720896, 589827, 2, 655360, 589827, 2, 327681, 589827, 2, 393217, 589827, 2, 458753, 589827, 2, 458754, 589827, 2, 524290, 589827, 2, 589826, 589827, 2, 720898, 589827, 2, 786434, 589827, 2, 786433, 589827, 2, 786432, 589827, 2, 851968, 589827, 2, 917504, 589827, 2, 917505, 589827, 2, 917506, 589827, 2, 917507, 589827, 2, 917508, 589827, 2, 851973, 589827, 2, 851974, 589827, 2, 851975, 589827, 2, 851976, 589827, 2, 851977, 589827, 2, 851978, 589827, 2, 851979, 589827, 2, 851980, 589827, 2, 851981, 589827, 2, 851982, 589827, 2, 851983, 589827, 2, 851984, 589827, 2, 851985, 589827, 2, 851986, 589827, 2, 851987, 589827, 2, 851988, 589827, 2, 851989, 589827, 2, 851990, 589827, 2, 851991, 589827, 2, 851992, 589827, 2, 851993, 589827, 2, 851994, 589827, 2, 851995, 589827, 2, 851996, 589827, 2, 851997, 589827, 2, 786461, 589827, 2, 720925, 589827, 2, 655389, 589827, 2, 589853, 589827, 2, 524317, 589827, 2, 458781, 589827, 2, 393245, 589827, 2, 327709, 589827, 2, 262173, 589827, 2, 196637, 589827, 2, 131101, 589827, 2, 65565, 589827, 2, 29, 589827, 2, 28, 589827, 2, 27, 589827, 2, 26, 589827, 2, 25, 589827, 2, 24, 589827, 2, 23, 589827, 2, 983040, 589827, 2, 1048576, 589827, 2, 1048577, 589827, 2, 1048578, 589827, 2, 1048579, 589827, 2, 1048580, 589827, 2, 1048581, 589827, 2, 1048582, 589827, 2, 1048583, 589827, 2, 1048584, 589827, 2, 1048585, 589827, 2, 1048586, 589827, 2, 1048587, 589827, 2, 1048588, 589827, 2, 1048589, 589827, 2, 1048590, 589827, 2, 1048591, 589827, 2, 1048592, 589827, 2, 1048593, 589827, 2, 1048594, 589827, 2, 1048595, 589827, 2, 1048596, 589827, 2, 1048597, 589827, 2, 1048598, 589827, 2, 1048599, 589827, 2, 1048600, 589827, 2, 1048601, 589827, 2, 1048602, 589827, 2, 1048603, 589827, 2, 1048604, 589827, 2, 1048605, 589827, 2, 983069, 589827, 2, 917533, 589827, 2, 327688, 589827, 2, 262152, 589827, 2, 196616, 589827, 2, 131080, 589827, 2, 131079, 589827, 2, 131078, 589827, 2, 196614, 589827, 2, 196613, 589827, 2, 196612, 589827, 2, 196611, 589827, 2, 262147, 589827, 2, 262146, 589827, 2, 262145, 589827, 2, 327682, 589827, 2, 393218, 589827, 2, 393219, 589827, 2, 327683, 589827, 2, 327684, 589827, 2, 262148, 589827, 2, 262149, 589827, 2, 327685, 589827, 2, 393221, 589827, 2, 393220, 589827, 2, 458756, 589827, 2, 458755, 589827, 2, 524291, 589827, 2, 589827, 589827, 2, 655363, 589827, 2, 655362, 589827, 2, 720899, 589827, 2, 786435, 589827, 2, 851971, 589827, 2, 851970, 589827, 2, 851969, 589827, 2, 851972, 589827, 2, 786436, 589827, 2, 720900, 589827, 2, 655364, 589827, 2, 589828, 589827, 2, 524292, 589827, 2, 524293, 589827, 2, 458757, 589827, 2, 458758, 589827, 2, 393222, 589827, 2, 327686, 589827, 2, 262150, 589827, 2, 262151, 589827, 2, 196615, 589827, 2, 327687, 589827, 2, 393223, 589827, 2, 458759, 589827, 2, 524295, 589827, 2, 524294, 589827, 2, 589830, 589827, 2, 589829, 589827, 2, 655365, 589827, 2, 720901, 589827, 2, 786437, 589827, 2, 786438, 589827, 2, 720902, 589827, 2, 655366, 589827, 2, 655367, 589827, 2, 589831, 589827, 2, 589832, 589827, 2, 524296, 589827, 2, 458760, 589827, 2, 393224, 589827, 2, 393225, 589827, 2, 327689, 589827, 2, 262153, 589827, 2, 196617, 589827, 2, 131081, 589827, 2, 131082, 589827, 2, 196618, 589827, 2, 262154, 589827, 2, 327690, 589827, 2, 393226, 589827, 2, 458762, 589827, 2, 458761, 589827, 2, 524297, 589827, 2, 589833, 589827, 2, 655369, 589827, 2, 655368, 589827, 2, 720904, 589827, 2, 720903, 589827, 2, 786439, 589827, 2, 786440, 589827, 2, 786441, 589827, 2, 720905, 589827, 2, 720906, 589827, 2, 655370, 589827, 2, 589834, 589827, 2, 524298, 589827, 2, 524299, 589827, 2, 458763, 589827, 2, 393227, 589827, 2, 327691, 589827, 2, 262155, 589827, 2, 196619, 589827, 2, 131083, 589827, 2, 131084, 589827, 2, 196620, 589827, 2, 262156, 589827, 2, 327692, 589827, 2, 393228, 589827, 2, 458764, 589827, 2, 524300, 589827, 2, 589836, 589827, 2, 589835, 589827, 2, 655371, 589827, 2, 720907, 589827, 2, 786443, 589827, 2, 786442, 589827, 2, 786444, 589827, 2, 720908, 589827, 2, 655372, 589827, 2, 655373, 589827, 2, 589837, 589827, 2, 524301, 589827, 2, 458765, 589827, 2, 393229, 589827, 2, 327693, 589827, 2, 262157, 589827, 2, 196621, 589827, 2, 131085, 589827, 2, 131086, 589827, 2, 196622, 589827, 2, 262158, 589827, 2, 327694, 589827, 2, 393230, 589827, 2, 458766, 589827, 2, 524302, 589827, 2, 589838, 589827, 2, 655374, 589827, 2, 720910, 589827, 2, 720909, 589827, 2, 786445, 589827, 2, 786446, 589827, 2, 786447, 589827, 2, 720911, 589827, 2, 655375, 589827, 2, 589839, 589827, 2, 524303, 589827, 2, 458767, 589827, 2, 393231, 589827, 2, 327695, 589827, 2, 262159, 589827, 2, 196623, 589827, 2, 131087, 589827, 2, 131088, 589827, 2, 196624, 589827, 2, 262160, 589827, 2, 327696, 589827, 2, 393232, 589827, 2, 458768, 589827, 2, 524304, 589827, 2, 589840, 589827, 2, 655376, 589827, 2, 720912, 589827, 2, 786448, 589827, 2, 786449, 589827, 2, 720913, 589827, 2, 655377, 589827, 2, 589841, 589827, 2, 524305, 589827, 2, 458769, 589827, 2, 393233, 589827, 2, 327697, 589827, 2, 262161, 589827, 2, 196625, 589827, 2, 131089, 589827, 2, 131090, 589827, 2, 196626, 589827, 2, 262162, 589827, 2, 327698, 589827, 2, 393234, 589827, 2, 458770, 589827, 2, 524306, 589827, 2, 589842, 589827, 2, 655378, 589827, 2, 720914, 589827, 2, 786450, 589827, 2, 786451, 589827, 2, 720915, 589827, 2, 655379, 589827, 2, 589843, 589827, 2, 524307, 589827, 2, 458771, 589827, 2, 393235, 589827, 2, 327699, 589827, 2, 262163, 589827, 2, 196627, 589827, 2, 131091, 589827, 2, 131092, 589827, 2, 196628, 589827, 2, 262164, 589827, 2, 327700, 589827, 2, 393236, 589827, 2, 458772, 589827, 2, 524308, 589827, 2, 589844, 589827, 2, 655380, 589827, 2, 720916, 589827, 2, 786452, 589827, 2, 786453, 589827, 2, 720917, 589827, 2, 655381, 589827, 2, 589845, 589827, 2, 524309, 589827, 2, 458773, 589827, 2, 393237, 589827, 2, 327701, 589827, 2, 262165, 589827, 2, 196629, 589827, 2, 131093, 589827, 2, 131094, 589827, 2, 196630, 589827, 2, 262166, 589827, 2, 327702, 589827, 2, 393238, 589827, 2, 458774, 589827, 2, 524310, 589827, 2, 589846, 589827, 2, 655382, 589827, 2, 720918, 589827, 2, 786454, 589827, 2, 786455, 589827, 2, 720919, 589827, 2, 655383, 589827, 2, 589847, 589827, 2, 524311, 589827, 2, 458775, 589827, 2, 393239, 589827, 2, 327703, 589827, 2, 262167, 589827, 2, 196631, 589827, 2, 131095, 589827, 2, 131096, 589827, 2, 196632, 589827, 2, 262168, 589827, 2, 327704, 589827, 2, 393240, 589827, 2, 458776, 589827, 2, 524312, 589827, 2, 589848, 589827, 2, 655384, 589827, 2, 720920, 589827, 2, 786456, 589827, 2, 786457, 589827, 2, 720921, 589827, 2, 655385, 589827, 2, 589849, 589827, 2, 524313, 589827, 2, 458777, 589827, 2, 393241, 589827, 2, 327705, 589827, 2, 262169, 589827, 2, 196633, 589827, 2, 131097, 589827, 2, 65561, 589827, 2, 65562, 589827, 2, 131098, 589827, 2, 196634, 589827, 2, 262170, 589827, 2, 327706, 589827, 2, 393242, 589827, 2, 458778, 589827, 2, 524314, 589827, 2, 589850, 589827, 2, 655386, 589827, 2, 720922, 589827, 2, 786458, 589827, 2, 786459, 589827, 2, 720923, 589827, 2, 655387, 589827, 2, 589851, 589827, 2, 524315, 589827, 2, 458779, 589827, 2, 393243, 589827, 2, 327707, 589827, 2, 262171, 589827, 2, 196635, 589827, 2, 131099, 589827, 2, 65563, 589827, 2, 65564, 589827, 2, 131100, 589827, 2, 196636, 589827, 2, 262172, 589827, 2, 327708, 589827, 2, 393244, 589827, 2, 458780, 589827, 2, 524316, 589827, 2, 589852, 589827, 2, 655388, 589827, 2, 720924, 589827, 2, 786460, 589827, 2, 131073, 589827, 2, 524289, 589827, 2, 983055, 589827, 2, 917519, 589827, 2, 917518, 589827, 2, 917517, 589827, 2, 917516, 589827, 2, 917515, 589827, 2, 917514, 589827, 2, 917513, 589827, 2, 917512, 589827, 2, 917511, 589827, 2, 917510, 589827, 2, 917509, 589827, 2, 983045, 589827, 2, 983044, 589827, 2, 983043, 589827, 2, 983042, 589827, 2, 983041, 589827, 2, 983046, 589827, 2, 983047, 589827, 2, 983048, 589827, 2, 983049, 589827, 2, 983050, 589827, 2, 983051, 589827, 2, 983052, 589827, 2, 983053, 589827, 2, 983054, 589827, 2, 917520, 589827, 2, 983056, 589827, 2, 983057, 589827, 2, 917521, 589827, 2, 917522, 589827, 2, 983058, 589827, 2, 983059, 589827, 2, 917523, 589827, 2, 917524, 589827, 2, 983060, 589827, 2, 983061, 589827, 2, 917525, 589827, 2, 917526, 589827, 2, 983062, 589827, 2, 983063, 589827, 2, 917527, 589827, 2, 917528, 589827, 2, 983064, 589827, 2, 983065, 589827, 2, 917529, 589827, 2, 917530, 589827, 2, 983066, 589827, 2, 983067, 589827, 2, 917531, 589827, 2, 917532, 589827, 2, 983068, 589827, 2) diff --git a/experiments/test3d.tscn b/experiments/test3d.tscn deleted file mode 100644 index b725808..0000000 --- a/experiments/test3d.tscn +++ /dev/null @@ -1,3 +0,0 @@ -[gd_scene format=3 uid="uid://cbwfg8x6vuvbm"] - -[node name="Node3D" type="Node3D"] diff --git a/project.godot b/project.godot index 771a519..dd7b05c 100644 --- a/project.godot +++ b/project.godot @@ -22,12 +22,17 @@ SceneManager="*res://scenes/autoload/scene_manager.gd" ConfigManager="*res://scenes/autoload/config_manager.gd" DialogueManager="*res://addons/dialogue_manager/dialogue_manager.gd" +[dialogue_manager] + +general/custom_test_scene_path="res://scenes/dev/test_dialogue.tscn" +general/balloon_path="res://scenes/ui/dialogue/balloon.tscn" + [display] window/size/viewport_width=640 window/size/viewport_height=480 window/stretch/mode="viewport" -mouse_cursor/custom_image="res://assets/cursor-01.png" +mouse_cursor/custom_image="res://assets/ui/cursor-01.png" [editor_plugins] @@ -43,6 +48,53 @@ ui_accept={ , Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"button_index":0,"pressure":0.0,"pressed":true,"script":null) ] } +move_up={ +"deadzone": 0.5, +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":87,"key_label":0,"unicode":119,"echo":false,"script":null) +, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194320,"key_label":0,"unicode":0,"echo":false,"script":null) +, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":-1,"axis":1,"axis_value":-1.0,"script":null) +, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"button_index":11,"pressure":0.0,"pressed":true,"script":null) +] +} +move_down={ +"deadzone": 0.5, +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":83,"key_label":0,"unicode":115,"echo":false,"script":null) +, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194322,"key_label":0,"unicode":0,"echo":false,"script":null) +, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":-1,"axis":1,"axis_value":1.0,"script":null) +, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"button_index":12,"pressure":0.0,"pressed":true,"script":null) +] +} +move_left={ +"deadzone": 0.5, +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":65,"key_label":0,"unicode":97,"echo":false,"script":null) +, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194319,"key_label":0,"unicode":0,"echo":false,"script":null) +, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":-1,"axis":0,"axis_value":-1.0,"script":null) +, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"button_index":13,"pressure":0.0,"pressed":true,"script":null) +] +} +move_right={ +"deadzone": 0.5, +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":68,"key_label":0,"unicode":100,"echo":false,"script":null) +, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194321,"key_label":0,"unicode":0,"echo":false,"script":null) +, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":-1,"axis":0,"axis_value":1.0,"script":null) +, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"button_index":14,"pressure":0.0,"pressed":true,"script":null) +] +} +interact={ +"deadzone": 0.5, +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":32,"key_label":0,"unicode":32,"echo":false,"script":null) +, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":69,"key_label":0,"unicode":101,"echo":false,"script":null) +, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"button_index":0,"pressure":0.0,"pressed":true,"script":null) +] +} + +[internationalization] + +locale/translations_pot_files=PackedStringArray("res://assets/dialogue/dev.dialogue", "res://assets/dialogue/ex.dialogue", "res://assets/dialogue/a1m1.dialogue") + +[layer_names] + +2d_physics/layer_9="Actionables" [rendering] diff --git a/scenes/characters/them.gd b/scenes/characters/them.gd index 3b034c8..87c99fb 100644 --- a/scenes/characters/them.gd +++ b/scenes/characters/them.gd @@ -1,25 +1,18 @@ extends CharacterBody2D +const speed = 300.0 -const SPEED = 300.0 -const JUMP_VELOCITY = -400.0 +@onready var actionable_finder = $Direction/ActionableFinder -# Get the gravity from the project settings to be synced with RigidBody nodes. -var gravity = ProjectSettings.get_setting("physics/2d/default_gravity") - - -func _physics_process(delta): - - # Handle jump. - if Input.is_action_just_pressed("ui_accept") and is_on_floor(): - velocity.y = JUMP_VELOCITY - - # Get the input direction and handle the movement/deceleration. - # As good practice, you should replace UI actions with custom gameplay actions. - var direction = Input.get_axis("ui_left", "ui_right") - if direction: - velocity.x = direction * SPEED - else: - velocity.x = move_toward(velocity.x, 0, SPEED) +func _physics_process(_delta): + var direction = Input.get_vector("move_left", "move_right", "move_up", "move_down") + velocity = direction * speed move_and_slide() + +func _unhandled_input(event): + if Input.is_action_pressed("interact"): + var actionables = actionable_finder.get_overlapping_areas() + if actionables.size() > 0: + actionables[0].action() + return diff --git a/scenes/characters/them.tscn b/scenes/characters/them.tscn index 7f68099..8020e60 100644 --- a/scenes/characters/them.tscn +++ b/scenes/characters/them.tscn @@ -1,19 +1,34 @@ -[gd_scene load_steps=4 format=3 uid="uid://b5ncmmtnoevmk"] +[gd_scene load_steps=5 format=3 uid="uid://b5ncmmtnoevmk"] [ext_resource type="Script" path="res://scenes/characters/them.gd" id="1_dlm3g"] -[ext_resource type="Texture2D" uid="uid://o8rwmcg0or4f" path="res://assets/sprite_r2_0001.png" id="1_fub8h"] -[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_b4kxb"] -radius = 32.0 -height = 144.0 +[sub_resource type="RectangleShape2D" id="RectangleShape2D_8m8x6"] +size = Vector2(18.5, 13) + +[sub_resource type="CompressedTexture2D" id="CompressedTexture2D_k2o8g"] +load_path = "res://.godot/imported/sprite_r2_0001.png-0c67dda26a319f21b3bf2bc259a2eeac.ctex" + +[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_t8xoq"] +radius = 16.0 +height = 80.0 [node name="Them" type="CharacterBody2D"] motion_mode = 1 script = ExtResource("1_dlm3g") [node name="CollisionShape2D" type="CollisionShape2D" parent="."] -shape = SubResource("CapsuleShape2D_b4kxb") +position = Vector2(0, 22.5) +shape = SubResource("RectangleShape2D_8m8x6") [node name="Sprite2D" type="Sprite2D" parent="."] -scale = Vector2(2, 2) -texture = ExtResource("1_fub8h") +texture = SubResource("CompressedTexture2D_k2o8g") + +[node name="Direction" type="Marker2D" parent="."] + +[node name="ActionableFinder" type="Area2D" parent="Direction"] +collision_layer = 0 +collision_mask = 256 + +[node name="CollisionShape2D" type="CollisionShape2D" parent="Direction/ActionableFinder"] +position = Vector2(0, 8) +shape = SubResource("CapsuleShape2D_t8xoq") diff --git a/scenes/dev/test_dialogue.gd b/scenes/dev/test_dialogue.gd new file mode 100644 index 0000000..3feed27 --- /dev/null +++ b/scenes/dev/test_dialogue.gd @@ -0,0 +1,6 @@ +extends BaseDialogueTestScene + +func _ready() -> void: + var balloon = load("res://scenes/ui/dialogue/balloon.tscn").instantiate() + get_tree().current_scene.add_child(balloon) + balloon.start(resource, title) diff --git a/scenes/dev/test_dialogue.tscn b/scenes/dev/test_dialogue.tscn new file mode 100644 index 0000000..5e0ce8b --- /dev/null +++ b/scenes/dev/test_dialogue.tscn @@ -0,0 +1,6 @@ +[gd_scene load_steps=2 format=3 uid="uid://bdk4hf46osack"] + +[ext_resource type="Script" path="res://scenes/dev/test_dialogue.gd" id="1_g3fyt"] + +[node name="TestDialogue" type="Node2D"] +script = ExtResource("1_g3fyt") diff --git a/scenes/dev/world_dev1.tscn b/scenes/dev/world_dev1.tscn new file mode 100644 index 0000000..1f2a80e --- /dev/null +++ b/scenes/dev/world_dev1.tscn @@ -0,0 +1,478 @@ +[gd_scene load_steps=8 format=3 uid="uid://dqr3qt5htdki"] + +[ext_resource type="Texture2D" uid="uid://bo8nw2tl11266" path="res://assets/third-party/dev_tiles_kenney.png" id="1_kx6f5"] +[ext_resource type="PackedScene" uid="uid://b5ncmmtnoevmk" path="res://scenes/characters/them.tscn" id="2_nss2c"] +[ext_resource type="PackedScene" uid="uid://bstlk1s4ttyup" path="res://scenes/utils/actionable.tscn" id="3_3yrbr"] +[ext_resource type="Resource" uid="uid://bxuo28l7d2dpe" path="res://assets/dialogue/dev.dialogue" id="4_eewpr"] + +[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_dpqv2"] +texture = ExtResource("1_kx6f5") +separation = Vector2i(1, 1) +0:0/0 = 0 +0:0/0/physics_layer_0/linear_velocity = Vector2(0, 0) +0:0/0/physics_layer_0/angular_velocity = 0.0 +1:0/0 = 0 +1:0/0/physics_layer_0/linear_velocity = Vector2(0, 0) +1:0/0/physics_layer_0/angular_velocity = 0.0 +2:0/0 = 0 +2:0/0/physics_layer_0/linear_velocity = Vector2(0, 0) +2:0/0/physics_layer_0/angular_velocity = 0.0 +3:0/0 = 0 +3:0/0/physics_layer_0/linear_velocity = Vector2(0, 0) +3:0/0/physics_layer_0/angular_velocity = 0.0 +4:0/0 = 0 +4:0/0/physics_layer_0/linear_velocity = Vector2(0, 0) +4:0/0/physics_layer_0/angular_velocity = 0.0 +5:0/0 = 0 +5:0/0/physics_layer_0/linear_velocity = Vector2(0, 0) +5:0/0/physics_layer_0/angular_velocity = 0.0 +6:0/0 = 0 +6:0/0/physics_layer_0/linear_velocity = Vector2(0, 0) +6:0/0/physics_layer_0/angular_velocity = 0.0 +8:0/0 = 0 +8:0/0/physics_layer_0/linear_velocity = Vector2(0, 0) +8:0/0/physics_layer_0/angular_velocity = 0.0 +8:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) +9:0/0 = 0 +9:0/0/physics_layer_0/linear_velocity = Vector2(0, 0) +9:0/0/physics_layer_0/angular_velocity = 0.0 +9:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) +10:0/0 = 0 +10:0/0/physics_layer_0/linear_velocity = Vector2(0, 0) +10:0/0/physics_layer_0/angular_velocity = 0.0 +11:0/0 = 0 +11:0/0/physics_layer_0/linear_velocity = Vector2(0, 0) +11:0/0/physics_layer_0/angular_velocity = 0.0 +12:0/0 = 0 +12:0/0/physics_layer_0/linear_velocity = Vector2(0, 0) +12:0/0/physics_layer_0/angular_velocity = 0.0 +13:0/0 = 0 +13:0/0/physics_layer_0/linear_velocity = Vector2(0, 0) +13:0/0/physics_layer_0/angular_velocity = 0.0 +14:0/0 = 0 +14:0/0/physics_layer_0/linear_velocity = Vector2(0, 0) +14:0/0/physics_layer_0/angular_velocity = 0.0 +15:0/0 = 0 +15:0/0/physics_layer_0/linear_velocity = Vector2(0, 0) +15:0/0/physics_layer_0/angular_velocity = 0.0 +16:0/0 = 0 +16:0/0/physics_layer_0/linear_velocity = Vector2(0, 0) +16:0/0/physics_layer_0/angular_velocity = 0.0 +17:0/0 = 0 +17:0/0/physics_layer_0/linear_velocity = Vector2(0, 0) +17:0/0/physics_layer_0/angular_velocity = 0.0 +0:1/0 = 0 +0:1/0/physics_layer_0/linear_velocity = Vector2(0, 0) +0:1/0/physics_layer_0/angular_velocity = 0.0 +1:1/0 = 0 +1:1/0/physics_layer_0/linear_velocity = Vector2(0, 0) +1:1/0/physics_layer_0/angular_velocity = 0.0 +2:1/0 = 0 +2:1/0/physics_layer_0/linear_velocity = Vector2(0, 0) +2:1/0/physics_layer_0/angular_velocity = 0.0 +3:1/0 = 0 +3:1/0/physics_layer_0/linear_velocity = Vector2(0, 0) +3:1/0/physics_layer_0/angular_velocity = 0.0 +4:1/0 = 0 +4:1/0/physics_layer_0/linear_velocity = Vector2(0, 0) +4:1/0/physics_layer_0/angular_velocity = 0.0 +5:1/0 = 0 +5:1/0/physics_layer_0/linear_velocity = Vector2(0, 0) +5:1/0/physics_layer_0/angular_velocity = 0.0 +6:1/0 = 0 +6:1/0/physics_layer_0/linear_velocity = Vector2(0, 0) +6:1/0/physics_layer_0/angular_velocity = 0.0 +7:1/0 = 0 +7:1/0/physics_layer_0/linear_velocity = Vector2(0, 0) +7:1/0/physics_layer_0/angular_velocity = 0.0 +7:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) +8:1/0 = 0 +8:1/0/physics_layer_0/linear_velocity = Vector2(0, 0) +8:1/0/physics_layer_0/angular_velocity = 0.0 +8:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) +9:1/0 = 0 +9:1/0/physics_layer_0/linear_velocity = Vector2(0, 0) +9:1/0/physics_layer_0/angular_velocity = 0.0 +9:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) +10:1/0 = 0 +10:1/0/physics_layer_0/linear_velocity = Vector2(0, 0) +10:1/0/physics_layer_0/angular_velocity = 0.0 +11:1/0 = 0 +11:1/0/physics_layer_0/linear_velocity = Vector2(0, 0) +11:1/0/physics_layer_0/angular_velocity = 0.0 +12:1/0 = 0 +12:1/0/physics_layer_0/linear_velocity = Vector2(0, 0) +12:1/0/physics_layer_0/angular_velocity = 0.0 +13:1/0 = 0 +13:1/0/physics_layer_0/linear_velocity = Vector2(0, 0) +13:1/0/physics_layer_0/angular_velocity = 0.0 +14:1/0 = 0 +14:1/0/physics_layer_0/linear_velocity = Vector2(0, 0) +14:1/0/physics_layer_0/angular_velocity = 0.0 +15:1/0 = 0 +15:1/0/physics_layer_0/linear_velocity = Vector2(0, 0) +15:1/0/physics_layer_0/angular_velocity = 0.0 +16:1/0 = 0 +16:1/0/physics_layer_0/linear_velocity = Vector2(0, 0) +16:1/0/physics_layer_0/angular_velocity = 0.0 +17:1/0 = 0 +17:1/0/physics_layer_0/linear_velocity = Vector2(0, 0) +17:1/0/physics_layer_0/angular_velocity = 0.0 +0:2/0 = 0 +0:2/0/physics_layer_0/linear_velocity = Vector2(0, 0) +0:2/0/physics_layer_0/angular_velocity = 0.0 +1:2/0 = 0 +1:2/0/physics_layer_0/linear_velocity = Vector2(0, 0) +1:2/0/physics_layer_0/angular_velocity = 0.0 +2:2/0 = 0 +2:2/0/physics_layer_0/linear_velocity = Vector2(0, 0) +2:2/0/physics_layer_0/angular_velocity = 0.0 +3:2/0 = 0 +3:2/0/physics_layer_0/linear_velocity = Vector2(0, 0) +3:2/0/physics_layer_0/angular_velocity = 0.0 +4:2/0 = 0 +4:2/0/physics_layer_0/linear_velocity = Vector2(0, 0) +4:2/0/physics_layer_0/angular_velocity = 0.0 +5:2/0 = 0 +5:2/0/physics_layer_0/linear_velocity = Vector2(0, 0) +5:2/0/physics_layer_0/angular_velocity = 0.0 +6:2/0 = 0 +6:2/0/physics_layer_0/linear_velocity = Vector2(0, 0) +6:2/0/physics_layer_0/angular_velocity = 0.0 +7:2/0 = 0 +7:2/0/physics_layer_0/linear_velocity = Vector2(0, 0) +7:2/0/physics_layer_0/angular_velocity = 0.0 +7:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) +8:2/0 = 0 +8:2/0/physics_layer_0/linear_velocity = Vector2(0, 0) +8:2/0/physics_layer_0/angular_velocity = 0.0 +8:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) +9:2/0 = 0 +9:2/0/physics_layer_0/linear_velocity = Vector2(0, 0) +9:2/0/physics_layer_0/angular_velocity = 0.0 +9:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) +10:2/0 = 0 +10:2/0/physics_layer_0/linear_velocity = Vector2(0, 0) +10:2/0/physics_layer_0/angular_velocity = 0.0 +11:2/0 = 0 +11:2/0/physics_layer_0/linear_velocity = Vector2(0, 0) +11:2/0/physics_layer_0/angular_velocity = 0.0 +12:2/0 = 0 +12:2/0/physics_layer_0/linear_velocity = Vector2(0, 0) +12:2/0/physics_layer_0/angular_velocity = 0.0 +13:2/0 = 0 +13:2/0/physics_layer_0/linear_velocity = Vector2(0, 0) +13:2/0/physics_layer_0/angular_velocity = 0.0 +14:2/0 = 0 +14:2/0/physics_layer_0/linear_velocity = Vector2(0, 0) +14:2/0/physics_layer_0/angular_velocity = 0.0 +15:2/0 = 0 +15:2/0/physics_layer_0/linear_velocity = Vector2(0, 0) +15:2/0/physics_layer_0/angular_velocity = 0.0 +16:2/0 = 0 +16:2/0/physics_layer_0/linear_velocity = Vector2(0, 0) +16:2/0/physics_layer_0/angular_velocity = 0.0 +17:2/0 = 0 +17:2/0/physics_layer_0/linear_velocity = Vector2(0, 0) +17:2/0/physics_layer_0/angular_velocity = 0.0 +0:3/0 = 0 +0:3/0/physics_layer_0/linear_velocity = Vector2(0, 0) +0:3/0/physics_layer_0/angular_velocity = 0.0 +1:3/0 = 0 +1:3/0/physics_layer_0/linear_velocity = Vector2(0, 0) +1:3/0/physics_layer_0/angular_velocity = 0.0 +2:3/0 = 0 +2:3/0/physics_layer_0/linear_velocity = Vector2(0, 0) +2:3/0/physics_layer_0/angular_velocity = 0.0 +3:3/0 = 0 +3:3/0/physics_layer_0/linear_velocity = Vector2(0, 0) +3:3/0/physics_layer_0/angular_velocity = 0.0 +4:3/0 = 0 +4:3/0/physics_layer_0/linear_velocity = Vector2(0, 0) +4:3/0/physics_layer_0/angular_velocity = 0.0 +5:3/0 = 0 +5:3/0/physics_layer_0/linear_velocity = Vector2(0, 0) +5:3/0/physics_layer_0/angular_velocity = 0.0 +6:3/0 = 0 +6:3/0/physics_layer_0/linear_velocity = Vector2(0, 0) +6:3/0/physics_layer_0/angular_velocity = 0.0 +7:3/0 = 0 +7:3/0/physics_layer_0/linear_velocity = Vector2(0, 0) +7:3/0/physics_layer_0/angular_velocity = 0.0 +8:3/0 = 0 +8:3/0/physics_layer_0/linear_velocity = Vector2(0, 0) +8:3/0/physics_layer_0/angular_velocity = 0.0 +9:3/0 = 0 +9:3/0/physics_layer_0/linear_velocity = Vector2(0, 0) +9:3/0/physics_layer_0/angular_velocity = 0.0 +10:3/0 = 0 +10:3/0/physics_layer_0/linear_velocity = Vector2(0, 0) +10:3/0/physics_layer_0/angular_velocity = 0.0 +11:3/0 = 0 +11:3/0/physics_layer_0/linear_velocity = Vector2(0, 0) +11:3/0/physics_layer_0/angular_velocity = 0.0 +12:3/0 = 0 +12:3/0/physics_layer_0/linear_velocity = Vector2(0, 0) +12:3/0/physics_layer_0/angular_velocity = 0.0 +13:3/0 = 0 +13:3/0/physics_layer_0/linear_velocity = Vector2(0, 0) +13:3/0/physics_layer_0/angular_velocity = 0.0 +14:3/0 = 0 +14:3/0/physics_layer_0/linear_velocity = Vector2(0, 0) +14:3/0/physics_layer_0/angular_velocity = 0.0 +15:3/0 = 0 +15:3/0/physics_layer_0/linear_velocity = Vector2(0, 0) +15:3/0/physics_layer_0/angular_velocity = 0.0 +16:3/0 = 0 +16:3/0/physics_layer_0/linear_velocity = Vector2(0, 0) +16:3/0/physics_layer_0/angular_velocity = 0.0 +16:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) +17:3/0 = 0 +17:3/0/physics_layer_0/linear_velocity = Vector2(0, 0) +17:3/0/physics_layer_0/angular_velocity = 0.0 +0:4/0 = 0 +0:4/0/physics_layer_0/linear_velocity = Vector2(0, 0) +0:4/0/physics_layer_0/angular_velocity = 0.0 +1:4/0 = 0 +1:4/0/physics_layer_0/linear_velocity = Vector2(0, 0) +1:4/0/physics_layer_0/angular_velocity = 0.0 +2:4/0 = 0 +2:4/0/physics_layer_0/linear_velocity = Vector2(0, 0) +2:4/0/physics_layer_0/angular_velocity = 0.0 +3:4/0 = 0 +3:4/0/physics_layer_0/linear_velocity = Vector2(0, 0) +3:4/0/physics_layer_0/angular_velocity = 0.0 +4:4/0 = 0 +4:4/0/physics_layer_0/linear_velocity = Vector2(0, 0) +4:4/0/physics_layer_0/angular_velocity = 0.0 +5:4/0 = 0 +5:4/0/physics_layer_0/linear_velocity = Vector2(0, 0) +5:4/0/physics_layer_0/angular_velocity = 0.0 +6:4/0 = 0 +6:4/0/physics_layer_0/linear_velocity = Vector2(0, 0) +6:4/0/physics_layer_0/angular_velocity = 0.0 +7:4/0 = 0 +7:4/0/physics_layer_0/linear_velocity = Vector2(0, 0) +7:4/0/physics_layer_0/angular_velocity = 0.0 +8:4/0 = 0 +8:4/0/physics_layer_0/linear_velocity = Vector2(0, 0) +8:4/0/physics_layer_0/angular_velocity = 0.0 +9:4/0 = 0 +9:4/0/physics_layer_0/linear_velocity = Vector2(0, 0) +9:4/0/physics_layer_0/angular_velocity = 0.0 +10:4/0 = 0 +10:4/0/physics_layer_0/linear_velocity = Vector2(0, 0) +10:4/0/physics_layer_0/angular_velocity = 0.0 +11:4/0 = 0 +11:4/0/physics_layer_0/linear_velocity = Vector2(0, 0) +11:4/0/physics_layer_0/angular_velocity = 0.0 +12:4/0 = 0 +12:4/0/physics_layer_0/linear_velocity = Vector2(0, 0) +12:4/0/physics_layer_0/angular_velocity = 0.0 +13:4/0 = 0 +13:4/0/physics_layer_0/linear_velocity = Vector2(0, 0) +13:4/0/physics_layer_0/angular_velocity = 0.0 +14:4/0 = 0 +14:4/0/physics_layer_0/linear_velocity = Vector2(0, 0) +14:4/0/physics_layer_0/angular_velocity = 0.0 +15:4/0 = 0 +15:4/0/physics_layer_0/linear_velocity = Vector2(0, 0) +15:4/0/physics_layer_0/angular_velocity = 0.0 +16:4/0 = 0 +16:4/0/physics_layer_0/linear_velocity = Vector2(0, 0) +16:4/0/physics_layer_0/angular_velocity = 0.0 +17:4/0 = 0 +17:4/0/physics_layer_0/linear_velocity = Vector2(0, 0) +17:4/0/physics_layer_0/angular_velocity = 0.0 +0:5/0 = 0 +0:5/0/physics_layer_0/linear_velocity = Vector2(0, 0) +0:5/0/physics_layer_0/angular_velocity = 0.0 +1:5/0 = 0 +1:5/0/physics_layer_0/linear_velocity = Vector2(0, 0) +1:5/0/physics_layer_0/angular_velocity = 0.0 +2:5/0 = 0 +2:5/0/physics_layer_0/linear_velocity = Vector2(0, 0) +2:5/0/physics_layer_0/angular_velocity = 0.0 +3:5/0 = 0 +3:5/0/physics_layer_0/linear_velocity = Vector2(0, 0) +3:5/0/physics_layer_0/angular_velocity = 0.0 +4:5/0 = 0 +4:5/0/physics_layer_0/linear_velocity = Vector2(0, 0) +4:5/0/physics_layer_0/angular_velocity = 0.0 +5:5/0 = 0 +5:5/0/physics_layer_0/linear_velocity = Vector2(0, 0) +5:5/0/physics_layer_0/angular_velocity = 0.0 +6:5/0 = 0 +6:5/0/physics_layer_0/linear_velocity = Vector2(0, 0) +6:5/0/physics_layer_0/angular_velocity = 0.0 +7:5/0 = 0 +7:5/0/physics_layer_0/linear_velocity = Vector2(0, 0) +7:5/0/physics_layer_0/angular_velocity = 0.0 +8:5/0 = 0 +8:5/0/physics_layer_0/linear_velocity = Vector2(0, 0) +8:5/0/physics_layer_0/angular_velocity = 0.0 +9:5/0 = 0 +9:5/0/physics_layer_0/linear_velocity = Vector2(0, 0) +9:5/0/physics_layer_0/angular_velocity = 0.0 +10:5/0 = 0 +10:5/0/physics_layer_0/linear_velocity = Vector2(0, 0) +10:5/0/physics_layer_0/angular_velocity = 0.0 +11:5/0 = 0 +11:5/0/physics_layer_0/linear_velocity = Vector2(0, 0) +11:5/0/physics_layer_0/angular_velocity = 0.0 +12:5/0 = 0 +12:5/0/physics_layer_0/linear_velocity = Vector2(0, 0) +12:5/0/physics_layer_0/angular_velocity = 0.0 +13:5/0 = 0 +13:5/0/physics_layer_0/linear_velocity = Vector2(0, 0) +13:5/0/physics_layer_0/angular_velocity = 0.0 +14:5/0 = 0 +14:5/0/physics_layer_0/linear_velocity = Vector2(0, 0) +14:5/0/physics_layer_0/angular_velocity = 0.0 +15:5/0 = 0 +15:5/0/physics_layer_0/linear_velocity = Vector2(0, 0) +15:5/0/physics_layer_0/angular_velocity = 0.0 +16:5/0 = 0 +16:5/0/physics_layer_0/linear_velocity = Vector2(0, 0) +16:5/0/physics_layer_0/angular_velocity = 0.0 +17:5/0 = 0 +17:5/0/physics_layer_0/linear_velocity = Vector2(0, 0) +17:5/0/physics_layer_0/angular_velocity = 0.0 +0:6/0 = 0 +0:6/0/physics_layer_0/linear_velocity = Vector2(0, 0) +0:6/0/physics_layer_0/angular_velocity = 0.0 +1:6/0 = 0 +1:6/0/physics_layer_0/linear_velocity = Vector2(0, 0) +1:6/0/physics_layer_0/angular_velocity = 0.0 +2:6/0 = 0 +2:6/0/physics_layer_0/linear_velocity = Vector2(0, 0) +2:6/0/physics_layer_0/angular_velocity = 0.0 +3:6/0 = 0 +3:6/0/physics_layer_0/linear_velocity = Vector2(0, 0) +3:6/0/physics_layer_0/angular_velocity = 0.0 +4:6/0 = 0 +4:6/0/physics_layer_0/linear_velocity = Vector2(0, 0) +4:6/0/physics_layer_0/angular_velocity = 0.0 +5:6/0 = 0 +5:6/0/physics_layer_0/linear_velocity = Vector2(0, 0) +5:6/0/physics_layer_0/angular_velocity = 0.0 +6:6/0 = 0 +6:6/0/physics_layer_0/linear_velocity = Vector2(0, 0) +6:6/0/physics_layer_0/angular_velocity = 0.0 +7:6/0 = 0 +7:6/0/physics_layer_0/linear_velocity = Vector2(0, 0) +7:6/0/physics_layer_0/angular_velocity = 0.0 +8:6/0 = 0 +8:6/0/physics_layer_0/linear_velocity = Vector2(0, 0) +8:6/0/physics_layer_0/angular_velocity = 0.0 +9:6/0 = 0 +9:6/0/physics_layer_0/linear_velocity = Vector2(0, 0) +9:6/0/physics_layer_0/angular_velocity = 0.0 +10:6/0 = 0 +10:6/0/physics_layer_0/linear_velocity = Vector2(0, 0) +10:6/0/physics_layer_0/angular_velocity = 0.0 +11:6/0 = 0 +11:6/0/physics_layer_0/linear_velocity = Vector2(0, 0) +11:6/0/physics_layer_0/angular_velocity = 0.0 +12:6/0 = 0 +12:6/0/physics_layer_0/linear_velocity = Vector2(0, 0) +12:6/0/physics_layer_0/angular_velocity = 0.0 +13:6/0 = 0 +13:6/0/physics_layer_0/linear_velocity = Vector2(0, 0) +13:6/0/physics_layer_0/angular_velocity = 0.0 +14:6/0 = 0 +14:6/0/physics_layer_0/linear_velocity = Vector2(0, 0) +14:6/0/physics_layer_0/angular_velocity = 0.0 +15:6/0 = 0 +15:6/0/physics_layer_0/linear_velocity = Vector2(0, 0) +15:6/0/physics_layer_0/angular_velocity = 0.0 +16:6/0 = 0 +16:6/0/physics_layer_0/linear_velocity = Vector2(0, 0) +16:6/0/physics_layer_0/angular_velocity = 0.0 +17:6/0 = 0 +17:6/0/physics_layer_0/linear_velocity = Vector2(0, 0) +17:6/0/physics_layer_0/angular_velocity = 0.0 +0:7/0 = 0 +0:7/0/physics_layer_0/linear_velocity = Vector2(0, 0) +0:7/0/physics_layer_0/angular_velocity = 0.0 +1:7/0 = 0 +1:7/0/physics_layer_0/linear_velocity = Vector2(0, 0) +1:7/0/physics_layer_0/angular_velocity = 0.0 +2:7/0 = 0 +2:7/0/physics_layer_0/linear_velocity = Vector2(0, 0) +2:7/0/physics_layer_0/angular_velocity = 0.0 +3:7/0 = 0 +3:7/0/physics_layer_0/linear_velocity = Vector2(0, 0) +3:7/0/physics_layer_0/angular_velocity = 0.0 +4:7/0 = 0 +4:7/0/physics_layer_0/linear_velocity = Vector2(0, 0) +4:7/0/physics_layer_0/angular_velocity = 0.0 +5:7/0 = 0 +5:7/0/physics_layer_0/linear_velocity = Vector2(0, 0) +5:7/0/physics_layer_0/angular_velocity = 0.0 +6:7/0 = 0 +6:7/0/physics_layer_0/linear_velocity = Vector2(0, 0) +6:7/0/physics_layer_0/angular_velocity = 0.0 +7:7/0 = 0 +7:7/0/physics_layer_0/linear_velocity = Vector2(0, 0) +7:7/0/physics_layer_0/angular_velocity = 0.0 +8:7/0 = 0 +8:7/0/physics_layer_0/linear_velocity = Vector2(0, 0) +8:7/0/physics_layer_0/angular_velocity = 0.0 +9:7/0 = 0 +9:7/0/physics_layer_0/linear_velocity = Vector2(0, 0) +9:7/0/physics_layer_0/angular_velocity = 0.0 +10:7/0 = 0 +10:7/0/physics_layer_0/linear_velocity = Vector2(0, 0) +10:7/0/physics_layer_0/angular_velocity = 0.0 +11:7/0 = 0 +11:7/0/physics_layer_0/linear_velocity = Vector2(0, 0) +11:7/0/physics_layer_0/angular_velocity = 0.0 +12:7/0 = 0 +12:7/0/physics_layer_0/linear_velocity = Vector2(0, 0) +12:7/0/physics_layer_0/angular_velocity = 0.0 +13:7/0 = 0 +13:7/0/physics_layer_0/linear_velocity = Vector2(0, 0) +13:7/0/physics_layer_0/angular_velocity = 0.0 +14:7/0 = 0 +14:7/0/physics_layer_0/linear_velocity = Vector2(0, 0) +14:7/0/physics_layer_0/angular_velocity = 0.0 +15:7/0 = 0 +15:7/0/physics_layer_0/linear_velocity = Vector2(0, 0) +15:7/0/physics_layer_0/angular_velocity = 0.0 +16:7/0 = 0 +16:7/0/physics_layer_0/linear_velocity = Vector2(0, 0) +16:7/0/physics_layer_0/angular_velocity = 0.0 +17:7/0 = 0 +17:7/0/physics_layer_0/linear_velocity = Vector2(0, 0) +17:7/0/physics_layer_0/angular_velocity = 0.0 +7:0/0 = 0 +7:0/0/physics_layer_0/linear_velocity = Vector2(0, 0) +7:0/0/physics_layer_0/angular_velocity = 0.0 +7:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8) + +[sub_resource type="TileSet" id="TileSet_yfqft"] +physics_layer_0/collision_layer = 1 +sources/0 = SubResource("TileSetAtlasSource_dpqv2") + +[sub_resource type="CircleShape2D" id="CircleShape2D_bch4g"] +radius = 24.0 + +[node name="WorldDev1" type="Node2D"] +scale = Vector2(2, 2) + +[node name="TileMap" type="TileMap" parent="."] +tile_set = SubResource("TileSet_yfqft") +format = 2 +layer_0/tile_data = PackedInt32Array(0, 0, 1, 65536, 0, 1, 131072, 0, 2, 196608, 0, 2, 262144, 0, 3, 327680, 0, 1, 393216, 0, 1, 458752, 0, 2, 524288, 0, 0, 589824, 0, 1, 655360, 0, 0, 720896, 0, 1, 786432, 0, 2, 851968, 0, 2, 917504, 0, 2, 1, 0, 1, 65537, 0, 2, 131073, 0, 0, 196609, 0, 0, 262145, 0, 3, 327681, 0, 2, 393217, 0, 1, 458753, 0, 3, 524289, 0, 1, 589825, 0, 2, 655361, 0, 0, 720897, 0, 1, 786433, 0, 2, 851969, 0, 1, 917505, 0, 1, 2, 0, 0, 65538, 0, 1, 131074, 0, 0, 196610, 0, 0, 262146, 0, 2, 327682, 0, 2, 393218, 0, 2, 458754, 0, 0, 524290, 0, 0, 589826, 0, 1, 655362, 0, 1, 720898, 0, 1, 786434, 0, 0, 851970, 0, 2, 917506, 0, 0, 3, 0, 1, 65539, 0, 2, 131075, 0, 2, 196611, 0, 1, 262147, 0, 0, 327683, 0, 2, 393219, 0, 1, 458755, 0, 0, 524291, 0, 1, 589827, 0, 1, 655363, 0, 0, 720899, 0, 1, 786435, 0, 1, 851971, 0, 3, 917507, 0, 1, 4, 0, 2, 65540, 0, 3, 131076, 458752, 0, 196612, 458752, 1, 262148, 458752, 2, 327684, 0, 2, 393220, 0, 3, 458756, 0, 1, 524292, 0, 2, 589828, 0, 1, 655364, 0, 3, 720900, 0, 0, 786436, 0, 3, 851972, 0, 2, 917508, 0, 0, 5, 0, 2, 65541, 0, 2, 327685, 1048576, 3, 393221, 0, 0, 458757, 0, 1, 524293, 0, 2, 589829, 0, 2, 655365, 0, 3, 720901, 0, 2, 786437, 0, 2, 851973, 0, 0, 917509, 0, 2, 6, 0, 1, 65542, 0, 0, 393222, 0, 1, 458758, 0, 1, 524294, 0, 0, 589830, 0, 1, 655366, 0, 0, 720902, 0, 2, 786438, 0, 0, 851974, 0, 2, 917510, 0, 2, 7, 0, 3, 65543, 0, 2, 327687, 0, 1, 393223, 0, 0, 458759, 0, 2, 524295, 0, 3, 589831, 0, 1, 655367, 0, 1, 720903, 0, 3, 786439, 0, 3, 851975, 0, 3, 917511, 0, 2, 8, 0, 0, 65544, 0, 1, 131080, 0, 2, 196616, 0, 0, 262152, 0, 2, 327688, 0, 1, 393224, 0, 0, 458760, 0, 2, 524296, 0, 1, 589832, 0, 3, 655368, 0, 3, 720904, 0, 2, 786440, 0, 2, 851976, 0, 1, 917512, 0, 3, 9, 0, 0, 65545, 0, 1, 131081, 458752, 0, 196617, 458752, 1, 262153, 458752, 2, 327689, 0, 1, 393225, 0, 0, 458761, 0, 3, 524297, 0, 1, 589833, 0, 1, 655369, 0, 2, 720905, 0, 3, 786441, 0, 0, 851977, 0, 3, 917513, 0, 3, 10, 0, 0, 65546, 0, 0, 131082, 524288, 0, 196618, 524288, 1, 262154, 524288, 2, 327690, 1048576, 3, 393226, 0, 2, 458762, 0, 2, 524298, 0, 3, 589834, 0, 3, 655370, 0, 3, 720906, 0, 3, 786442, 0, 0, 851978, 0, 2, 917514, 0, 1, 11, 0, 1, 65547, 0, 0, 131083, 589824, 0, 196619, 589824, 1, 262155, 589824, 2, 327691, 0, 1, 393227, 0, 0, 458763, 0, 0, 524299, 0, 3, 589835, 0, 3, 655371, 0, 0, 720907, 0, 0, 786443, 0, 0, 851979, 0, 1, 917515, 0, 1, 12, 0, 0, 65548, 0, 1, 131084, 0, 2, 196620, 0, 3, 262156, 0, 0, 327692, 0, 1, 393228, 0, 1, 458764, 0, 2, 524300, 0, 2, 589836, 0, 1, 655372, 0, 1, 720908, 0, 0, 786444, 0, 0, 851980, 0, 0, 917516, 0, 0, 13, 0, 0, 65549, 0, 1, 327693, 0, 1, 393229, 0, 3, 458765, 0, 3, 524301, 0, 3, 589837, 0, 3, 655373, 0, 1, 720909, 0, 2, 786445, 0, 3, 851981, 0, 3, 917517, 0, 0, 14, 0, 0, 65550, 0, 1, 393230, 0, 3, 458766, 0, 3, 524302, 0, 1, 589838, 0, 0, 655374, 0, 1, 720910, 0, 2, 786446, 0, 0, 851982, 0, 1, 917518, 0, 1, 15, 0, 0, 65551, 0, 1, 327695, 1048576, 3, 393231, 0, 2, 458767, 0, 3, 524303, 0, 1, 589839, 0, 0, 655375, 0, 3, 720911, 0, 1, 786447, 0, 1, 851983, 0, 2, 917519, 0, 2, 16, 0, 0, 65552, 0, 1, 131088, 589824, 0, 196624, 589824, 1, 262160, 589824, 2, 327696, 0, 1, 393232, 0, 0, 458768, 0, 0, 524304, 0, 0, 589840, 0, 2, 655376, 0, 2, 720912, 0, 0, 786448, 0, 1, 851984, 0, 3, 917520, 0, 3, 17, 0, 0, 65553, 0, 1, 131089, 0, 2, 196625, 0, 3, 262161, 0, 0, 327697, 0, 1, 393233, 0, 1, 458769, 0, 3, 524305, 0, 0, 589841, 0, 0, 655377, 0, 3, 720913, 0, 2, 786449, 0, 0, 851985, 0, 0, 917521, 0, 1, 18, 0, 0, 65554, 0, 3, 131090, 0, 3, 196626, 0, 1, 262162, 0, 2, 327698, 0, 1, 393234, 0, 0, 458770, 0, 3, 524306, 0, 2, 589842, 0, 0, 655378, 0, 0, 720914, 0, 2, 786450, 0, 1, 851986, 0, 3, 917522, 0, 2, 19, 0, 3, 65555, 0, 1, 131091, 0, 1, 196627, 0, 3, 262163, 0, 0, 327699, 0, 0, 393235, 0, 0, 458771, 0, 3, 524307, 0, 3, 589843, 0, 1, 655379, 0, 0, 720915, 0, 2, 786451, 0, 3, 851987, 0, 1, 917523, 0, 1, 131077, 524288, 0, 196613, 524288, 1, 262149, 524288, 2, 131078, 589824, 0, 196614, 589824, 1, 262150, 589824, 2, 131086, 458752, 0, 196622, 458752, 1, 262158, 458752, 2, 131087, 524288, 0, 196623, 524288, 1, 262159, 524288, 2, 196615, 0, 0, 131079, 0, 3, 262151, 0, 1, 327686, 0, 0, 196621, 0, 0, 131085, 0, 3, 262157, 0, 1, 327694, 0, 0) + +[node name="Them" parent="." instance=ExtResource("2_nss2c")] +position = Vector2(28, 164) + +[node name="Actionable" parent="." instance=ExtResource("3_3yrbr")] +dialogue_resource = ExtResource("4_eewpr") +dialogue_start = "sign_left" + +[node name="CollisionShape2D" type="CollisionShape2D" parent="Actionable"] +position = Vector2(88, 88) +shape = SubResource("CircleShape2D_bch4g") diff --git a/scenes/ui/dialogue/balloon.gd b/scenes/ui/dialogue/balloon.gd new file mode 100644 index 0000000..e1e2ebf --- /dev/null +++ b/scenes/ui/dialogue/balloon.gd @@ -0,0 +1,149 @@ +extends CanvasLayer + +## The action to use for advancing the dialogue +@export var next_action: StringName = &"ui_accept" + +## The action to use to skip typing the dialogue +@export var skip_action: StringName = &"ui_cancel" + +@onready var balloon: Control = %Balloon +@onready var character_label: RichTextLabel = %CharacterLabel +@onready var portrait = $Balloon/Panel/Dialogue/HBoxContainer/Portrait +@onready var dialogue_label: DialogueLabel = %DialogueLabel +@onready var responses_menu: DialogueResponsesMenu = %ResponsesMenu + +## The dialogue resource +var resource: DialogueResource + +## Temporary game states +var temporary_game_states: Array = [] + +## See if we are waiting for the player +var is_waiting_for_input: bool = false + +## See if we are running a long mutation and should hide the balloon +var will_hide_balloon: bool = false + +## The current line +var dialogue_line: DialogueLine: + set(next_dialogue_line): + is_waiting_for_input = false + balloon.focus_mode = Control.FOCUS_ALL + balloon.grab_focus() + + # The dialogue has finished so close the balloon + if not next_dialogue_line: + queue_free() + return + + # If the node isn't ready yet then none of the labels will be ready yet either + if not is_node_ready(): + await ready + + dialogue_line = next_dialogue_line + + character_label.visible = not dialogue_line.character.is_empty() + character_label.text = tr(dialogue_line.character, "dialogue") + + var portrait_path: String = "res://assets/characters/%s-face-left1.png" % dialogue_line.character.to_lower() + print(portrait_path) + if FileAccess.file_exists(portrait_path): + portrait.texture = load(portrait_path) + else: + portrait.texture = null + + dialogue_label.hide() + dialogue_label.dialogue_line = dialogue_line + + responses_menu.hide() + responses_menu.set_responses(dialogue_line.responses) + + # Show our balloon + balloon.show() + will_hide_balloon = false + + dialogue_label.show() + if not dialogue_line.text.is_empty(): + dialogue_label.type_out() + await dialogue_label.finished_typing + + # Wait for input + if dialogue_line.responses.size() > 0: + balloon.focus_mode = Control.FOCUS_NONE + responses_menu.show() + elif dialogue_line.time != "": + var time = dialogue_line.text.length() * 0.02 if dialogue_line.time == "auto" else dialogue_line.time.to_float() + await get_tree().create_timer(time).timeout + next(dialogue_line.next_id) + else: + is_waiting_for_input = true + balloon.focus_mode = Control.FOCUS_ALL + balloon.grab_focus() + get: + return dialogue_line + + +func _ready() -> void: + balloon.hide() + Engine.get_singleton("DialogueManager").mutated.connect(_on_mutated) + + # If the responses menu doesn't have a next action set, use this one + if responses_menu.next_action.is_empty(): + responses_menu.next_action = next_action + + +func _unhandled_input(_event: InputEvent) -> void: + # Only the balloon is allowed to handle input while it's showing + get_viewport().set_input_as_handled() + + +## Start some dialogue +func start(dialogue_resource: DialogueResource, title: String, extra_game_states: Array = []) -> void: + temporary_game_states = [self] + extra_game_states + is_waiting_for_input = false + resource = dialogue_resource + self.dialogue_line = await resource.get_next_dialogue_line(title, temporary_game_states) + + +## Go to the next line +func next(next_id: String) -> void: + self.dialogue_line = await resource.get_next_dialogue_line(next_id, temporary_game_states) + + +### Signals + + +func _on_mutated(_mutation: Dictionary) -> void: + is_waiting_for_input = false + will_hide_balloon = true + get_tree().create_timer(0.1).timeout.connect(func(): + if will_hide_balloon: + will_hide_balloon = false + balloon.hide() + ) + + +func _on_balloon_gui_input(event: InputEvent) -> void: + # See if we need to skip typing of the dialogue + if dialogue_label.is_typing: + var mouse_was_clicked: bool = event is InputEventMouseButton and event.button_index == MOUSE_BUTTON_LEFT and event.is_pressed() + var skip_button_was_pressed: bool = event.is_action_pressed(skip_action) + if mouse_was_clicked or skip_button_was_pressed: + get_viewport().set_input_as_handled() + dialogue_label.skip_typing() + return + + if not is_waiting_for_input: return + if dialogue_line.responses.size() > 0: return + + # When there are no response options the balloon itself is the clickable thing + get_viewport().set_input_as_handled() + + if event is InputEventMouseButton and event.is_pressed() and event.button_index == MOUSE_BUTTON_LEFT: + next(dialogue_line.next_id) + elif event.is_action_pressed(next_action) and get_viewport().gui_get_focus_owner() == balloon: + next(dialogue_line.next_id) + + +func _on_responses_menu_response_selected(response: DialogueResponse) -> void: + next(response.next_id) diff --git a/scenes/ui/dialogue/balloon.tscn b/scenes/ui/dialogue/balloon.tscn new file mode 100644 index 0000000..03f907a --- /dev/null +++ b/scenes/ui/dialogue/balloon.tscn @@ -0,0 +1,158 @@ +[gd_scene load_steps=9 format=3 uid="uid://73jm5qjy52vq"] + +[ext_resource type="Script" path="res://scenes/ui/dialogue/balloon.gd" id="1_36de5"] +[ext_resource type="PackedScene" uid="uid://ckvgyvclnwggo" path="res://addons/dialogue_manager/dialogue_label.tscn" id="2_a8ve6"] +[ext_resource type="Script" path="res://addons/dialogue_manager/dialogue_reponses_menu.gd" id="3_72ixx"] + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_spyqn"] +bg_color = Color(0, 0, 0, 1) +border_width_left = 3 +border_width_top = 3 +border_width_right = 3 +border_width_bottom = 3 +border_color = Color(0.329412, 0.329412, 0.329412, 1) +corner_radius_top_left = 5 +corner_radius_top_right = 5 +corner_radius_bottom_right = 5 +corner_radius_bottom_left = 5 + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_ri4m3"] +bg_color = Color(0.121569, 0.121569, 0.121569, 1) +border_width_left = 3 +border_width_top = 3 +border_width_right = 3 +border_width_bottom = 3 +border_color = Color(1, 1, 1, 1) +corner_radius_top_left = 5 +corner_radius_top_right = 5 +corner_radius_bottom_right = 5 +corner_radius_bottom_left = 5 + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_e0njw"] +bg_color = Color(0, 0, 0, 1) +border_width_left = 3 +border_width_top = 3 +border_width_right = 3 +border_width_bottom = 3 +border_color = Color(0.6, 0.6, 0.6, 1) +corner_radius_top_left = 5 +corner_radius_top_right = 5 +corner_radius_bottom_right = 5 +corner_radius_bottom_left = 5 + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_uy0d5"] +bg_color = Color(0, 0, 0, 1) +border_width_left = 3 +border_width_top = 3 +border_width_right = 3 +border_width_bottom = 3 +corner_radius_top_left = 5 +corner_radius_top_right = 5 +corner_radius_bottom_right = 5 +corner_radius_bottom_left = 5 + +[sub_resource type="Theme" id="Theme_qq3yp"] +default_font_size = 20 +Button/styles/disabled = SubResource("StyleBoxFlat_spyqn") +Button/styles/focus = SubResource("StyleBoxFlat_ri4m3") +Button/styles/hover = SubResource("StyleBoxFlat_e0njw") +Button/styles/normal = SubResource("StyleBoxFlat_e0njw") +MarginContainer/constants/margin_bottom = 15 +MarginContainer/constants/margin_left = 30 +MarginContainer/constants/margin_right = 30 +MarginContainer/constants/margin_top = 15 +Panel/styles/panel = SubResource("StyleBoxFlat_uy0d5") + +[node name="ExampleBalloon" type="CanvasLayer"] +layer = 100 +script = ExtResource("1_36de5") + +[node name="Balloon" type="Control" parent="."] +unique_name_in_owner = true +layout_mode = 3 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +theme = SubResource("Theme_qq3yp") + +[node name="Panel" type="Panel" parent="Balloon"] +clip_children = 2 +layout_mode = 1 +anchors_preset = 12 +anchor_top = 1.0 +anchor_right = 1.0 +anchor_bottom = 1.0 +offset_left = 21.0 +offset_top = -183.0 +offset_right = -19.0 +offset_bottom = -19.0 +grow_horizontal = 2 +grow_vertical = 0 +mouse_filter = 1 + +[node name="Dialogue" type="MarginContainer" parent="Balloon/Panel"] +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +theme_override_constants/margin_right = 15 + +[node name="HBoxContainer" type="HBoxContainer" parent="Balloon/Panel/Dialogue"] +layout_mode = 2 + +[node name="VBoxContainer" type="VBoxContainer" parent="Balloon/Panel/Dialogue/HBoxContainer"] +layout_mode = 2 +size_flags_horizontal = 3 + +[node name="CharacterLabel" type="RichTextLabel" parent="Balloon/Panel/Dialogue/HBoxContainer/VBoxContainer"] +unique_name_in_owner = true +modulate = Color(1, 1, 1, 0.501961) +layout_mode = 2 +mouse_filter = 1 +bbcode_enabled = true +text = "Character" +fit_content = true +scroll_active = false + +[node name="DialogueLabel" parent="Balloon/Panel/Dialogue/HBoxContainer/VBoxContainer" instance=ExtResource("2_a8ve6")] +unique_name_in_owner = true +layout_mode = 2 +size_flags_vertical = 3 +text = "Dialogue..." + +[node name="Portrait" type="TextureRect" parent="Balloon/Panel/Dialogue/HBoxContainer"] +custom_minimum_size = Vector2(134, 0) +layout_mode = 2 + +[node name="Responses" type="MarginContainer" parent="Balloon"] +layout_mode = 1 +anchors_preset = 7 +anchor_left = 0.5 +anchor_top = 1.0 +anchor_right = 0.5 +anchor_bottom = 1.0 +offset_left = -128.0 +offset_top = -576.0 +offset_right = 331.001 +offset_bottom = -172.0 +grow_horizontal = 2 +grow_vertical = 0 + +[node name="ResponsesMenu" type="VBoxContainer" parent="Balloon/Responses" node_paths=PackedStringArray("response_template")] +unique_name_in_owner = true +layout_mode = 2 +size_flags_vertical = 8 +theme_override_constants/separation = 2 +script = ExtResource("3_72ixx") +response_template = NodePath("ResponseExample") + +[node name="ResponseExample" type="Button" parent="Balloon/Responses/ResponsesMenu"] +layout_mode = 2 +text = "Response example" + +[connection signal="gui_input" from="Balloon" to="." method="_on_balloon_gui_input"] +[connection signal="response_selected" from="Balloon/Responses/ResponsesMenu" to="." method="_on_responses_menu_response_selected"] diff --git a/scenes/ui/dialogue/dialogue_box.tscn b/scenes/ui/dialogue/dialogue_box.tscn deleted file mode 100644 index 7a513e2..0000000 --- a/scenes/ui/dialogue/dialogue_box.tscn +++ /dev/null @@ -1,27 +0,0 @@ -[gd_scene format=3 uid="uid://bycj5268d3dyj"] - -[node name="DialogueBox" type="Control"] -layout_mode = 3 -anchors_preset = 15 -anchor_right = 1.0 -anchor_bottom = 1.0 -grow_horizontal = 2 -grow_vertical = 2 - -[node name="MarginContainer" type="MarginContainer" parent="."] -layout_mode = 1 -anchors_preset = 12 -anchor_top = 1.0 -anchor_right = 1.0 -anchor_bottom = 1.0 -offset_top = -128.0 -grow_horizontal = 2 -grow_vertical = 0 -theme_override_constants/margin_left = 10 -theme_override_constants/margin_top = 10 -theme_override_constants/margin_right = 10 -theme_override_constants/margin_bottom = 10 - -[node name="PanelContainer" type="PanelContainer" parent="MarginContainer"] -custom_minimum_size = Vector2(0, 192) -layout_mode = 2 diff --git a/scenes/utils/actionable.gd b/scenes/utils/actionable.gd new file mode 100644 index 0000000..55b6f48 --- /dev/null +++ b/scenes/utils/actionable.gd @@ -0,0 +1,7 @@ +extends Area2D + +@export var dialogue_resource: DialogueResource +@export var dialogue_start: String ="start" + +func action() -> void: + DialogueManager.show_dialogue_balloon(dialogue_resource, dialogue_start) diff --git a/scenes/utils/actionable.tscn b/scenes/utils/actionable.tscn new file mode 100644 index 0000000..4f378f6 --- /dev/null +++ b/scenes/utils/actionable.tscn @@ -0,0 +1,8 @@ +[gd_scene load_steps=2 format=3 uid="uid://bstlk1s4ttyup"] + +[ext_resource type="Script" path="res://scenes/utils/actionable.gd" id="1_qeu1m"] + +[node name="Actionable" type="Area2D"] +collision_layer = 256 +collision_mask = 0 +script = ExtResource("1_qeu1m") diff --git a/scenes/world/dev/world_dev1.tscn b/scenes/world/dev/world_dev1.tscn deleted file mode 100644 index 2c19a2d..0000000 --- a/scenes/world/dev/world_dev1.tscn +++ /dev/null @@ -1,3 +0,0 @@ -[gd_scene format=3 uid="uid://dqr3qt5htdki"] - -[node name="WorldDev1" type="Node2D"]