Compare commits

...

4 commits

7 changed files with 25 additions and 15 deletions

View file

@ -23,7 +23,7 @@ character = 0
custom_name = "Clone"
portrait_set = "clone"
portrait_emotion = "normal"
messages = Array[String](["See? I warned you! Now you can't fight Reed like this!"])
messages = Array[String](["Heh, told ya you would get injured."])
textbox_direction = 1
[resource]

View file

@ -23,7 +23,7 @@ character = 1
custom_name = ""
portrait_set = "default"
portrait_emotion = "normal"
messages = Array[String](["Already? Come on, Hiro. I thought you were stronger than that."])
messages = Array[String](["Giving up already?", "Come on, Hiro. I thought you were stronger than that."])
textbox_direction = 1
[sub_resource type="Resource" id="Resource_cw5jl"]

View file

@ -1,4 +1,4 @@
[gd_resource type="Resource" script_class="Cutscene" load_steps=8 format=3 uid="uid://b5a2tteo2j2cq"]
[gd_resource type="Resource" script_class="Cutscene" load_steps=9 format=3 uid="uid://b5a2tteo2j2cq"]
[ext_resource type="Script" path="res://Scripts/Cutscenes/Commands/wait.gd" id="1_u2p72"]
[ext_resource type="Script" path="res://Scripts/Cutscenes/Commands/show_dialogue.gd" id="2_hc28m"]
@ -14,29 +14,38 @@ character = 0
custom_name = ""
portrait_set = "default"
portrait_emotion = "normal"
messages = Array[String](["DEFEATED_SFW_RANGE_ATTACK"])
messages = Array[String](["Ugh... Why do you have a weapon? Where is MY weapon?"])
textbox_direction = 0
[sub_resource type="Resource" id="Resource_7atw7"]
[sub_resource type="Resource" id="Resource_1wi5v"]
script = ExtResource("2_hc28m")
character = 1
custom_name = ""
portrait_set = "default"
portrait_emotion = "normal"
messages = Array[String](["Already? Come on, Hiro. I thought you were stronger than that."])
messages = Array[String](["Whoops, I must've overdone it, hahaha!", "I guess there was no time to program your weapon."])
textbox_direction = 1
[sub_resource type="Resource" id="Resource_mm75k"]
script = ExtResource("2_hc28m")
character = 0
custom_name = ""
portrait_set = "default"
portrait_emotion = "normal"
messages = Array[String](["That's so unfair...!"])
textbox_direction = 0
[sub_resource type="Resource" id="Resource_cw5jl"]
script = ExtResource("2_hc28m")
character = 2
custom_name = ""
portrait_set = "default"
portrait_emotion = "normal"
messages = Array[String](["Ladies and gentlemen, we have a a winner!!", "Everyone give a round of aplause for Hiro!"])
messages = Array[String](["Ladies and gentlemen, we have a winner!!", "Everyone give a round of applause for Hiro!"])
textbox_direction = 1
[resource]
resource_name = "reed_wins_sfw_range"
script = ExtResource("3_vxdst")
commands = Array[Resource("res://Scripts/Cutscenes/Commands/base.gd")]([SubResource("Resource_j0qrl"), SubResource("Resource_o1ssy"), SubResource("Resource_7atw7"), SubResource("Resource_cw5jl")])
commands = Array[Resource("res://Scripts/Cutscenes/Commands/base.gd")]([SubResource("Resource_j0qrl"), SubResource("Resource_o1ssy"), SubResource("Resource_1wi5v"), SubResource("Resource_mm75k"), SubResource("Resource_cw5jl")])
auto_start_on_load = true

View file

@ -14,7 +14,7 @@ character = 0
custom_name = ""
portrait_set = "naked"
portrait_emotion = "embarrased"
messages = Array[String](["DEFEATED_NSFW_RANGE_ATTACK"])
messages = Array[String](["AAH! What happaned!? My clothes are gone!", "Also, why do you have a weapon!? Where is MY weapon!?"])
textbox_direction = 0
[sub_resource type="Resource" id="Resource_1wi5v"]
@ -23,7 +23,7 @@ character = 1
custom_name = ""
portrait_set = "default"
portrait_emotion = "normal"
messages = Array[String](["Oops. Guess I overdid it."])
messages = Array[String](["Whoops, I must've overdone it, hahaha!", "I guess there was no time to program your weapon."])
textbox_direction = 1
[sub_resource type="Resource" id="Resource_2fi0d"]
@ -32,7 +32,7 @@ character = 0
custom_name = ""
portrait_set = "naked"
portrait_emotion = "embarrased"
messages = Array[String](["Aaargh! I hate being naked in front of a crowd!!"])
messages = Array[String](["Argh, this is so unfair!!! I hate being naked in public!"])
textbox_direction = 0
[sub_resource type="Resource" id="Resource_cw5jl"]

View file

@ -19,7 +19,7 @@ shader_parameter/FlashColor = Color(1, 0, 0, 0)
animation = &"idle_south"
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_62pxx"]
animation = &"hurt_west"
animation = &"idle_west"
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_66fxj"]
animation = &"idle_east"

View file

@ -117,7 +117,7 @@ func set_ai_enabled(enabled: bool):
set_ai_process_mode(Node.PROCESS_MODE_INHERIT if enabled else Node.PROCESS_MODE_DISABLED)
func set_melee_box_enabled(enabled: bool):
melee_hitbox_collider.disabled = !enabled
melee_hitbox_collider.set_deferred("disabled", !enabled)
func _on_ai_got_hurt(attack_power: int, attack_direction: Vector2):
attacked_from = attack_direction

View file

@ -25,5 +25,6 @@ collision_mask = 17
[node name="CollisionShape2D" type="CollisionPolygon2D" parent="StaticBody2D"]
texture_filter = 1
position = Vector2(0, 10)
polygon = PackedVector2Array(-4, 10, -2, 12, 2, 12, 4, 10, 4, -5, 2, -8, -2, -8, -4, -5)
position = Vector2(0.5, 4.4375)
scale = Vector2(1.32813, 1.53125)
polygon = PackedVector2Array(-4, 10, -2, 12, 2, 12, 4, 10, 4, -5, 0.376471, -8.12245, -0.376471, -8.12245, -4, -5)