From 6440bf4737b6435df98fce21b29b6db7d0d4479b Mon Sep 17 00:00:00 2001 From: Page Asgardius Date: Mon, 11 Nov 2024 10:39:03 -0700 Subject: [PATCH] ltc --- ...t.csv-f7bafd51ed4405bc3f45b54fa34fb92c.md5 | 4 +- global.gd | 4 +- levels/Ceres/honkerrailway.gd | 30 +- levels/Ceres/honkerrailway.tscn | 29 +- levels/Ceres/map.tscn | 8 +- levels/Earth/map.gd | 49 ++- levels/Earth/map.tscn | 401 ++++++++++++++++-- sprites/ceres/pamela/pamela.tscn | 3 +- sprites/common/kimberly/kimberly.tscn | 3 +- sprites/common/midori/lily.tscn | 2 +- sprites/common/natasha/natasha.tscn | 3 +- sprites/common/player/player.tscn | 3 +- text.csv | 2 + 13 files changed, 495 insertions(+), 46 deletions(-) diff --git a/.import/text.csv-f7bafd51ed4405bc3f45b54fa34fb92c.md5 b/.import/text.csv-f7bafd51ed4405bc3f45b54fa34fb92c.md5 index 8cd399a..65d789f 100644 --- a/.import/text.csv-f7bafd51ed4405bc3f45b54fa34fb92c.md5 +++ b/.import/text.csv-f7bafd51ed4405bc3f45b54fa34fb92c.md5 @@ -1,3 +1,3 @@ -source_md5="730d70ca0db1394b3e6d0cd0f7274a85" -dest_md5="3b4c00f57a428b4fa5d0f9f8718481c5" +source_md5="b5c42211b198f831f844cd1975987cc8" +dest_md5="7f31c19ea2e353e911a4b7bdac1a3f1d" diff --git a/global.gd b/global.gd index f4a8fb5..f10ad03 100644 --- a/global.gd +++ b/global.gd @@ -14,10 +14,10 @@ var playery var ccutscene = null const cutscenes = [["res://levels/Cutscenes/opening/aboutkaizo.tscn", "res://levels/Cutscenes/opening/midorihello.tscn", 18, false], ["res://levels/Cutscenes/opening/midorihello.tscn", "res://levels/Cutscenes/opening/fearlessmidori.tscn", 18, false], ["res://levels/Cutscenes/opening/fearlessmidori.tscn", "res://levels/Cutscenes/opening/midoriwaterfall.tscn", 0, false], ["res://levels/Cutscenes/opening/midoriwaterfall.tscn", "res://levels/Cutscenes/opening/midorireading.tscn", 0, false], ["res://levels/Cutscenes/opening/midorireading.tscn", "res://levels/Cutscenes/opening/boomboomtorofi.tscn", 0, false], ["res://levels/Cutscenes/opening/boomboomtorofi.tscn", "res://levels/ui/gameplay.tscn", 0, true], ["res://levels/Cutscenes/unfunaversary/punishment.tscn", "res://levels/Cutscenes/unfunaversary/sadness.tscn", 1, false], ["res://levels/Cutscenes/unfunaversary/sadness.tscn", "res://levels/Cutscenes/unfunaversary/r3.tscn", 1, false], ["res://levels/Cutscenes/unfunaversary/r3.tscn", "res://levels/Cutscenes/unfunaversary/firstclass.tscn", 1, false], ["res://levels/Cutscenes/unfunaversary/firstclass.tscn", "res://backgounds/result.tscn", 5, true], ["res://levels/Cutscenes/Honker Railway/forest.tscn", "res://levels/Cutscenes/Honker Railway/lordlytrashcan.tscn", 19, false], ["res://levels/Cutscenes/Honker Railway/lordlytrashcan.tscn", "res://levels/Cutscenes/Honker Railway/railway.tscn", 19, false], ["res://levels/Cutscenes/Honker Railway/railway.tscn", "res://levels/ui/gameplay.tscn", 19, true], ["res://levels/Cutscenes/Troublemaker/buildings.tscn", "res://levels/Cutscenes/Troublemaker/pamela.tscn", 18, false], ["res://levels/Cutscenes/Troublemaker/pamela.tscn", "res://levels/Cutscenes/Troublemaker/kungfu.tscn", 18, false], ["res://levels/Cutscenes/Troublemaker/kungfu.tscn", "res://levels/ui/gameplay.tscn", 6, true]] const pcnames = ["Midori Asgardius", "Diana Asgardius", null, "Kimberly Arch", null, null, null, "Pamela Hashimoto", "Lety Hashimoto", "Natasha Dostoyevsky"] -const npcnames = ["Lily", null, null, "Kimberly Arch", null, null, null, null, null, "Natasha Dostoyevsky"] +const npcnames = ["Lily", "Railway Girl", null, "Kimberly Arch", null, null, null, null, null, "Natasha Dostoyevsky"] const pcfaces = [["res://sprites/common/midori/face.png"], ["res://sprites/common/tuna/face.png"], [null], ["res://sprites/common/kimberly/face.png"], [null], [null], [null], ["res://sprites/ceres/pamela/face.png"], ["res://sprites/ceres/lety/face.png"], ["res://sprites/common/natasha/face.png"]] const hudfaces = [["res://sprites/common/midori/facehud.png"], ["res://sprites/common/tuna/facehud.png"], [null], ["res://sprites/common/kimberly/facehud.png"], [null], [null], [null], ["res://sprites/ceres/pamela/facehud.png"], ["res://sprites/ceres/lety/facehud.png"], ["res://sprites/common/natasha/facehud.png"]] -const npcfaces = ["res://sprites/common/midori/face.png",null, null, "res://sprites/common/kimberly/face.png", null, null, null, null, null, "res://sprites/common/natasha/face.png"] +const npcfaces = ["res://sprites/common/midori/face.png","res://sprites/ceres/railway/face.png", null, "res://sprites/common/kimberly/face.png", null, null, null, null, null, "res://sprites/common/natasha/face.png"] const basestats = [[800, 200, 52, 12, 136, 25, 800], [1094, 200, 54, 7, 106, 48, 600], [null], [1143, 200, 59, 5, 117, 18, 650], [null], [null], [null], [null], [null], [1026, 200, 87, 7, 105, 49, 115]] var cstats = [[800, 200, 52, 12, 136, 25, 800], [1094, 200, 54, 7, 106, 48, 600], [null], [1143, 200, 59, 5, 117, 18, 650], [null], [null], [null], [null], [null], [1026, 200, 87, 7, 105, 49, 115]] var dstats = [[800, 200, 52, 12, 136, 25, 800], [1094, 200, 54, 7, 106, 48, 600], [null], [1143, 200, 59, 5, 117, 18, 650], [null], [null], [null], [null], [null], [1026, 200, 87, 7, 105, 49, 115]] diff --git a/levels/Ceres/honkerrailway.gd b/levels/Ceres/honkerrailway.gd index 62f4d60..691dff1 100644 --- a/levels/Ceres/honkerrailway.gd +++ b/levels/Ceres/honkerrailway.gd @@ -1,6 +1,6 @@ extends Node2D - +var talk # Called when the node enters the scene tree for the first time. func _ready(): if !Global.debug: @@ -15,8 +15,36 @@ func _ready(): func _process(delta): pass +func _input(event): + if Input.is_action_just_pressed("ui_accept") && Global.cdialog != []: + if Global.live == 1: + Global.live = 0 + talk = load("res://levels/ui/talk.tscn").instance() + call_deferred("_talk") + func _statrebase(): for i in 4: if Global.party[i][0] != null: for j in 7: Global.cstats[Global.party[i][0]][j] = Global.basestats[Global.party[i][0]][j] * Global.level[Global.dparty[i][0]] + + +func _on_Ltctalk_body_entered(body): + if body.is_in_group("players"): + Global.cdialog = [[tr("DIALOG_HKR_0"), true, 0, 0]] + + +func _on_Ltctalk_body_exited(body): + Global.cdialog = [] + + +func _on_Rgtalk_body_entered(body): + if body.is_in_group("players"): + Global.cdialog = [[tr("DIALOG_HKR_1"), false, 1]] + + +func _on_Rgtalk_body_exited(body): + Global.cdialog = [] + +func _talk(): + get_tree().root.add_child(talk) diff --git a/levels/Ceres/honkerrailway.tscn b/levels/Ceres/honkerrailway.tscn index ecfb624..8ebe0a7 100644 --- a/levels/Ceres/honkerrailway.tscn +++ b/levels/Ceres/honkerrailway.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=20 format=2] +[gd_scene load_steps=22 format=2] [ext_resource path="res://sprites/ceres/railway/sprite.png" type="Texture" id=1] [ext_resource path="res://sprites/ceres/items/hkr.png" type="Texture" id=2] @@ -33,7 +33,7 @@ tracks/0/keys = { "times": PoolRealArray( 0 ), "transitions": PoolRealArray( 1 ), "update": 1, -"values": [ 8 ] +"values": [ 0 ] } [sub_resource type="Animation" id=7] @@ -170,6 +170,12 @@ tracks/0/keys = { "values": [ 13, 12, 14 ] } +[sub_resource type="RectangleShape2D" id=15] +extents = Vector2( 43, 91 ) + +[sub_resource type="RectangleShape2D" id=16] +extents = Vector2( 48.5, 146 ) + [node name="Honkerrailway" type="Node2D"] script = ExtResource( 5 ) @@ -244,5 +250,24 @@ anims/swalk = SubResource( 12 ) anims/widle = SubResource( 13 ) anims/wwalk = SubResource( 14 ) +[node name="Ltctalk" type="Area2D" parent="."] +position = Vector2( 384, 186 ) + +[node name="CollisionShape2D" type="CollisionShape2D" parent="Ltctalk"] +position = Vector2( -8, 1 ) +shape = SubResource( 15 ) + +[node name="Rgtalk" type="Area2D" parent="."] +position = Vector2( 473, 133 ) + +[node name="CollisionShape2D" type="CollisionShape2D" parent="Rgtalk"] +position = Vector2( 2.5, 16 ) +shape = SubResource( 16 ) + [node name="Player" parent="." instance=ExtResource( 3 )] position = Vector2( 635, 586 ) + +[connection signal="body_entered" from="Ltctalk" to="." method="_on_Ltctalk_body_entered"] +[connection signal="body_exited" from="Ltctalk" to="." method="_on_Ltctalk_body_exited"] +[connection signal="body_entered" from="Rgtalk" to="." method="_on_Rgtalk_body_entered"] +[connection signal="body_exited" from="Rgtalk" to="." method="_on_Rgtalk_body_exited"] diff --git a/levels/Ceres/map.tscn b/levels/Ceres/map.tscn index 9a92104..ae60ca9 100644 --- a/levels/Ceres/map.tscn +++ b/levels/Ceres/map.tscn @@ -23,10 +23,10 @@ tracks/0/loop_wrap = true tracks/0/imported = false tracks/0/enabled = true tracks/0/keys = { -"times": PoolRealArray( 0 ), +"times": PoolRealArray( 0.001 ), "transitions": PoolRealArray( 1 ), "update": 1, -"values": [ 8 ] +"values": [ 0 ] } [sub_resource type="Animation" id=5] @@ -175,7 +175,7 @@ tracks/0/keys = { "times": PoolRealArray( 0 ), "transitions": PoolRealArray( 1 ), "update": 1, -"values": [ 8 ] +"values": [ 0 ] } [sub_resource type="Animation" id=14] @@ -353,7 +353,6 @@ position = Vector2( 615, -444 ) texture = ExtResource( 1 ) hframes = 4 vframes = 4 -frame = 8 [node name="CollisionShape2D" type="CollisionShape2D" parent="Railwaygirl"] shape = SubResource( 3 ) @@ -376,7 +375,6 @@ position = Vector2( -651, 133 ) texture = ExtResource( 2 ) hframes = 4 vframes = 4 -frame = 8 [node name="CollisionShape2D" type="CollisionShape2D" parent="Pamela"] shape = SubResource( 3 ) diff --git a/levels/Earth/map.gd b/levels/Earth/map.gd index 58577cf..4efa9da 100644 --- a/levels/Earth/map.gd +++ b/levels/Earth/map.gd @@ -1,11 +1,58 @@ extends Node2D +var hkr +var troublemaker +var travel = null # Called when the node enters the scene tree for the first time. func _ready(): - pass # Replace with function body. + hkr = $Railwaygirl + troublemaker = $Pamela + if !Global.debug: + _statrebase() + Global.live = 1 + if Global.quest[1] == 0: + hkr.queue_free() + if Global.quest[2] == 0: + troublemaker.queue_free() + #pass # Replace with function body. # Called every frame. 'delta' is the elapsed time since the previous frame. func _process(delta): pass + +func _input(event): + if Input.is_action_just_pressed("ui_accept") && travel != null: + if Global.ccutscene == null: + if Global.debug: + Global.dplace = travel + else: + Global.cplace = travel + Global.live = 5 + else: + Global.live = 8 + +func _statrebase(): + for i in 4: + if Global.party[i][0] != null: + for j in 7: + Global.cstats[Global.party[i][0]][j] = Global.basestats[Global.party[i][0]][j] * Global.level[Global.dparty[i][0]] + + +func _on_railwaygirl_body_entered(body: Node2D) -> void: + Global.ccutscene = 10 + travel = [1, 8, 11] + + +func _on_railwaygirl_body_exited(body: Node2D) -> void: + travel = null + + +func _on_pamela_body_entered(body: Node2D) -> void: + Global.ccutscene = 13 + travel = [1, 1, 17] + + +func _on_pamela_body_exited(body: Node2D) -> void: + travel = null diff --git a/levels/Earth/map.tscn b/levels/Earth/map.tscn index c042152..409cb34 100644 --- a/levels/Earth/map.tscn +++ b/levels/Earth/map.tscn @@ -1,46 +1,399 @@ -[gd_scene load_steps=6 format=3 uid="uid://bqthmqpx51x01"] +[gd_scene load_steps=26 format=2] -[ext_resource type="Script" path="res://levels/Testrooms/testspawn.gd" id="1_82nl8"] -[ext_resource type="Texture2D" uid="uid://kxvipok4tnuw" path="res://backgounds/wip.jpg" id="2_nugl5"] -[ext_resource type="PackedScene" uid="uid://cehe6sm8ly06u" path="res://sprites/common/player/player.tscn" id="3_0rw86"] +[ext_resource path="res://sprites/ceres/railway/sprite.png" type="Texture" id=1] +[ext_resource path="res://sprites/ceres/pamela/sprite.png" type="Texture" id=2] +[ext_resource path="res://sprites/common/player/player.tscn" type="PackedScene" id=3] +[ext_resource path="res://levels/Earth/map.gd" type="Script" id=4] -[sub_resource type="RectangleShape2D" id="RectangleShape2D_nytv7"] -size = Vector2(20, 761) +[sub_resource type="RectangleShape2D" id=1] +extents = Vector2( 18.5, 721 ) -[sub_resource type="RectangleShape2D" id="RectangleShape2D_wkumn"] -size = Vector2(1283, 20) +[sub_resource type="RectangleShape2D" id=2] +extents = Vector2( 1167.5, 20.5 ) -[node name="Testspawn" type="Node2D"] -script = ExtResource("1_82nl8") +[sub_resource type="RectangleShape2D" id=3] +extents = Vector2( 45, 128 ) -[node name="WIP" type="TextureRect" parent="."] -offset_right = 40.0 -offset_bottom = 40.0 -texture = ExtResource("2_nugl5") +[sub_resource type="Animation" id=4] +length = 0.001 +tracks/0/type = "value" +tracks/0/path = NodePath("Sprite:frame") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0.001 ), +"transitions": PoolRealArray( 1 ), +"update": 1, +"values": [ 0 ] +} + +[sub_resource type="Animation" id=5] +resource_name = "eidle" +loop = true +tracks/0/type = "value" +tracks/0/path = NodePath("Sprite:frame") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0 ), +"transitions": PoolRealArray( 1 ), +"update": 1, +"values": [ 8 ] +} + +[sub_resource type="Animation" id=6] +resource_name = "ewalk" +length = 0.3 +loop = true +step = 0.033 +tracks/0/type = "value" +tracks/0/path = NodePath("Sprite:frame") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0, 0.099, 0.198 ), +"transitions": PoolRealArray( 1, 1, 1 ), +"update": 1, +"values": [ 9, 8, 10 ] +} + +[sub_resource type="Animation" id=7] +resource_name = "nidle" +loop = true +tracks/0/type = "value" +tracks/0/path = NodePath("Sprite:frame") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0.1 ), +"transitions": PoolRealArray( 1 ), +"update": 1, +"values": [ 4 ] +} + +[sub_resource type="Animation" id=8] +resource_name = "nwalk" +length = 0.3 +loop = true +tracks/0/type = "value" +tracks/0/path = NodePath("Sprite:frame") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0, 0.1, 0.2 ), +"transitions": PoolRealArray( 1, 1, 1 ), +"update": 1, +"values": [ 5, 4, 6 ] +} + +[sub_resource type="Animation" id=9] +resource_name = "sidle" +loop = true +tracks/0/type = "value" +tracks/0/path = NodePath("Sprite:frame") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0.5 ), +"transitions": PoolRealArray( 1 ), +"update": 1, +"values": [ 0 ] +} + +[sub_resource type="Animation" id=10] +resource_name = "swalk" +length = 0.3 +loop = true +tracks/0/type = "value" +tracks/0/path = NodePath("Sprite:frame") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0, 0.1, 0.2 ), +"transitions": PoolRealArray( 1, 1, 1 ), +"update": 1, +"values": [ 1, 0, 2 ] +} + +[sub_resource type="Animation" id=11] +resource_name = "widle" +length = 0.3 +loop = true +tracks/0/type = "value" +tracks/0/path = NodePath("Sprite:frame") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0 ), +"transitions": PoolRealArray( 1 ), +"update": 1, +"values": [ 12 ] +} + +[sub_resource type="Animation" id=12] +resource_name = "wwalk" +length = 0.3 +loop = true +tracks/0/type = "value" +tracks/0/path = NodePath("Sprite:frame") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0, 0.1, 0.2 ), +"transitions": PoolRealArray( 1, 1, 1 ), +"update": 1, +"values": [ 13, 12, 14 ] +} + +[sub_resource type="Animation" id=13] +length = 0.001 +tracks/0/type = "value" +tracks/0/path = NodePath("Sprite:frame") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0 ), +"transitions": PoolRealArray( 1 ), +"update": 1, +"values": [ 0 ] +} + +[sub_resource type="Animation" id=14] +resource_name = "eidle" +loop = true +tracks/0/type = "value" +tracks/0/path = NodePath("Sprite:frame") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0 ), +"transitions": PoolRealArray( 1 ), +"update": 1, +"values": [ 8 ] +} + +[sub_resource type="Animation" id=15] +resource_name = "ewalk" +length = 0.3 +loop = true +step = 0.033 +tracks/0/type = "value" +tracks/0/path = NodePath("Sprite:frame") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0, 0.099, 0.198 ), +"transitions": PoolRealArray( 1, 1, 1 ), +"update": 1, +"values": [ 9, 8, 10 ] +} + +[sub_resource type="Animation" id=16] +resource_name = "nidle" +loop = true +tracks/0/type = "value" +tracks/0/path = NodePath("Sprite:frame") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0.1 ), +"transitions": PoolRealArray( 1 ), +"update": 1, +"values": [ 4 ] +} + +[sub_resource type="Animation" id=17] +resource_name = "nwalk" +length = 0.3 +loop = true +tracks/0/type = "value" +tracks/0/path = NodePath("Sprite:frame") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0, 0.1, 0.2 ), +"transitions": PoolRealArray( 1, 1, 1 ), +"update": 1, +"values": [ 5, 4, 6 ] +} + +[sub_resource type="Animation" id=18] +resource_name = "sidle" +loop = true +tracks/0/type = "value" +tracks/0/path = NodePath("Sprite:frame") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0.5 ), +"transitions": PoolRealArray( 1 ), +"update": 1, +"values": [ 0 ] +} + +[sub_resource type="Animation" id=19] +resource_name = "swalk" +length = 0.3 +loop = true +tracks/0/type = "value" +tracks/0/path = NodePath("Sprite:frame") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0, 0.1, 0.2 ), +"transitions": PoolRealArray( 1, 1, 1 ), +"update": 1, +"values": [ 1, 0, 2 ] +} + +[sub_resource type="Animation" id=20] +resource_name = "widle" +length = 0.3 +loop = true +tracks/0/type = "value" +tracks/0/path = NodePath("Sprite:frame") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0 ), +"transitions": PoolRealArray( 1 ), +"update": 1, +"values": [ 12 ] +} + +[sub_resource type="Animation" id=21] +resource_name = "wwalk" +length = 0.3 +loop = true +tracks/0/type = "value" +tracks/0/path = NodePath("Sprite:frame") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0, 0.1, 0.2 ), +"transitions": PoolRealArray( 1, 1, 1 ), +"update": 1, +"values": [ 13, 12, 14 ] +} + +[node name="Map" type="Node2D"] +script = ExtResource( 4 ) + +[node name="ColorRect" type="ColorRect" parent="."] +margin_left = -939.0 +margin_top = -613.0 +margin_right = 1282.0 +margin_bottom = 715.0 +color = Color( 0.211765, 0.552941, 0.376471, 1 ) [node name="StaticBody2D" type="StaticBody2D" parent="."] [node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D"] -position = Vector2(-11, 361.5) -shape = SubResource("RectangleShape2D_nytv7") +position = Vector2( -958, 58 ) +shape = SubResource( 1 ) [node name="StaticBody2D2" type="StaticBody2D" parent="."] [node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D2"] -position = Vector2(1293, 358) -shape = SubResource("RectangleShape2D_nytv7") +position = Vector2( 1299, 77.75 ) +shape = SubResource( 1 ) [node name="StaticBody2D3" type="StaticBody2D" parent="."] [node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D3"] -position = Vector2(641.5, -9) -shape = SubResource("RectangleShape2D_wkumn") +position = Vector2( 186.5, -634 ) +shape = SubResource( 2 ) [node name="StaticBody2D4" type="StaticBody2D" parent="."] [node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D4"] -position = Vector2(644, 731) -shape = SubResource("RectangleShape2D_wkumn") +position = Vector2( 159, 736 ) +shape = SubResource( 2 ) -[node name="Player" parent="." instance=ExtResource("3_0rw86")] -position = Vector2(633, 590) +[node name="Railwaygirl" type="Area2D" parent="."] +position = Vector2( 615, -444 ) + +[node name="Sprite" type="Sprite" parent="Railwaygirl"] +texture = ExtResource( 1 ) +hframes = 4 +vframes = 4 + +[node name="CollisionShape2D" type="CollisionShape2D" parent="Railwaygirl"] +shape = SubResource( 3 ) + +[node name="AnimationPlayer" type="AnimationPlayer" parent="Railwaygirl"] +anims/RESET = SubResource( 4 ) +anims/eidle = SubResource( 5 ) +anims/ewalk = SubResource( 6 ) +anims/nidle = SubResource( 7 ) +anims/nwalk = SubResource( 8 ) +anims/sidle = SubResource( 9 ) +anims/swalk = SubResource( 10 ) +anims/widle = SubResource( 11 ) +anims/wwalk = SubResource( 12 ) + +[node name="Pamela" type="Area2D" parent="."] +position = Vector2( -651, 133 ) + +[node name="Sprite" type="Sprite" parent="Pamela"] +texture = ExtResource( 2 ) +hframes = 4 +vframes = 4 + +[node name="CollisionShape2D" type="CollisionShape2D" parent="Pamela"] +shape = SubResource( 3 ) + +[node name="AnimationPlayer" type="AnimationPlayer" parent="Pamela"] +anims/RESET = SubResource( 13 ) +anims/eidle = SubResource( 14 ) +anims/ewalk = SubResource( 15 ) +anims/nidle = SubResource( 16 ) +anims/nwalk = SubResource( 17 ) +anims/sidle = SubResource( 18 ) +anims/swalk = SubResource( 19 ) +anims/widle = SubResource( 20 ) +anims/wwalk = SubResource( 21 ) + +[node name="Player" parent="." instance=ExtResource( 3 )] +position = Vector2( 635, 586 ) + +[connection signal="body_entered" from="Railwaygirl" to="." method="_on_railwaygirl_body_entered"] +[connection signal="body_exited" from="Railwaygirl" to="." method="_on_railwaygirl_body_exited"] +[connection signal="body_entered" from="Pamela" to="." method="_on_pamela_body_entered"] +[connection signal="body_exited" from="Pamela" to="." method="_on_pamela_body_exited"] diff --git a/sprites/ceres/pamela/pamela.tscn b/sprites/ceres/pamela/pamela.tscn index df18992..e84bd71 100644 --- a/sprites/ceres/pamela/pamela.tscn +++ b/sprites/ceres/pamela/pamela.tscn @@ -18,7 +18,7 @@ tracks/0/keys = { "times": PoolRealArray( 0 ), "transitions": PoolRealArray( 1 ), "update": 1, -"values": [ 8 ] +"values": [ 0 ] } [sub_resource type="Animation" id=3] @@ -162,7 +162,6 @@ script = ExtResource( 2 ) texture = ExtResource( 1 ) hframes = 4 vframes = 4 -frame = 8 [node name="CollisionShape2D" type="CollisionShape2D" parent="."] shape = SubResource( 1 ) diff --git a/sprites/common/kimberly/kimberly.tscn b/sprites/common/kimberly/kimberly.tscn index e0bfeb5..e482e1a 100644 --- a/sprites/common/kimberly/kimberly.tscn +++ b/sprites/common/kimberly/kimberly.tscn @@ -18,7 +18,7 @@ tracks/0/keys = { "times": PoolRealArray( 0 ), "transitions": PoolRealArray( 1 ), "update": 1, -"values": [ 8 ] +"values": [ 0 ] } [sub_resource type="Animation" id=3] @@ -162,7 +162,6 @@ script = ExtResource( 2 ) texture = ExtResource( 1 ) hframes = 4 vframes = 4 -frame = 8 [node name="CollisionShape2D" type="CollisionShape2D" parent="."] shape = SubResource( 1 ) diff --git a/sprites/common/midori/lily.tscn b/sprites/common/midori/lily.tscn index ac8295b..e5f7eda 100644 --- a/sprites/common/midori/lily.tscn +++ b/sprites/common/midori/lily.tscn @@ -18,7 +18,7 @@ tracks/0/keys = { "times": PoolRealArray( 0 ), "transitions": PoolRealArray( 1 ), "update": 1, -"values": [ 8 ] +"values": [ 0 ] } [sub_resource type="Animation" id=3] diff --git a/sprites/common/natasha/natasha.tscn b/sprites/common/natasha/natasha.tscn index 2cc975d..c947afd 100644 --- a/sprites/common/natasha/natasha.tscn +++ b/sprites/common/natasha/natasha.tscn @@ -18,7 +18,7 @@ tracks/0/keys = { "times": PoolRealArray( 0 ), "transitions": PoolRealArray( 1 ), "update": 1, -"values": [ 8 ] +"values": [ 0 ] } [sub_resource type="Animation" id=3] @@ -162,7 +162,6 @@ script = ExtResource( 2 ) texture = ExtResource( 1 ) hframes = 4 vframes = 4 -frame = 8 [node name="CollisionShape2D" type="CollisionShape2D" parent="."] shape = SubResource( 1 ) diff --git a/sprites/common/player/player.tscn b/sprites/common/player/player.tscn index 28c1055..4f49b3f 100644 --- a/sprites/common/player/player.tscn +++ b/sprites/common/player/player.tscn @@ -17,7 +17,7 @@ tracks/0/keys = { "times": PoolRealArray( 0 ), "transitions": PoolRealArray( 1 ), "update": 1, -"values": [ 8 ] +"values": [ 0 ] } [sub_resource type="Animation" id=3] @@ -160,7 +160,6 @@ script = ExtResource( 2 ) [node name="Sprite" type="Sprite" parent="."] hframes = 4 vframes = 4 -frame = 8 [node name="CollisionShape2D" type="CollisionShape2D" parent="."] shape = SubResource( 1 ) diff --git a/text.csv b/text.csv index 5fc591f..d0a3a1f 100644 --- a/text.csv +++ b/text.csv @@ -127,6 +127,8 @@ DIALOG_TROUBLEMAKER_2;I am not a terrorist;No soy una terrorista;私はテロリ DIALOG_TROUBLEMAKER_3;This is an Easy Quiz;Esto fue un examen fácil;これは簡単な試験でした DIALOG_TROUBLEMAKER_4;What hapened to my house?;¿Que le ocurrió a mi casa?;私の家に何が起こったのでしょうか? DIALOG_TROUBLEMAKER_5;Which house?;¿Cual casa?;どの家ですか? +DIALOG_HKR_0;I hear a heartbeat coming from inside this trash can;Escucho un latido que proviene del interior de este \ncubo de basura;このゴミ箱の中から鼓動が聞こえる +DIALOG_HKR_1;Don't underestimate the emotions of a trash can;No subestimes las emociones de un cubo de basura;ゴミ箱の感情を過小評価しないでください CERES_L20_DESC;Kimberly’s Challenge;Reto de Kimberly;キンバリーの挑戦 TWIN_TROUBLEMAKERS;Twin Troublemakers;Gemelas problématicas;双子のトラブルメーカー MENU_CHARACTER;Character List;Lista de Personajes;キャラクター一覧