Compare commits

...

5 commits

Author SHA1 Message Date
Raxki 4fa8ff6bc3 Tweak shadow clone stats 2024-10-28 18:48:01 -04:00
Raxki 3f789c83a3 Fix projectile disappearing time 2024-10-28 18:47:33 -04:00
Raxki f873730598 Fix collission issues and add missing reference to cutscenes 2024-10-28 18:47:02 -04:00
Raxki 99f018cb0a Finalize HP bars 2024-10-28 18:45:18 -04:00
Raxki 43116d36a7 Tweak cutscenes 2024-10-28 18:43:47 -04:00
8 changed files with 66 additions and 40 deletions

View file

@ -30,8 +30,8 @@ textbox_direction = 1
script = ExtResource("2_4tx72")
character = 0
custom_name = ""
portrait_set = "default"
portrait_emotion = "normal"
portrait_set = "naked"
portrait_emotion = "embarrased"
messages = Array[String](["Aaargh! I hate being naked in front of a crowd!!"])
textbox_direction = 0

View file

@ -1,4 +1,4 @@
[gd_resource type="Resource" script_class="Cutscene" load_steps=19 format=3 uid="uid://bj3rm1r1ouq0r"]
[gd_resource type="Resource" script_class="Cutscene" load_steps=22 format=3 uid="uid://bj3rm1r1ouq0r"]
[ext_resource type="Script" path="res://Scripts/Cutscenes/cutscene.gd" id="1_ejncn"]
[ext_resource type="Script" path="res://Scripts/Cutscenes/Commands/show_dialogue.gd" id="1_r5tuj"]
@ -18,6 +18,19 @@ script = ExtResource("2_fbljl")
music = ExtResource("1_wnm4j")
crossfade = false
[sub_resource type="Resource" id="Resource_k43ld"]
script = ExtResource("5_3jan1")
time = 1.01667
[sub_resource type="Resource" id="Resource_sp0v6"]
script = ExtResource("1_r5tuj")
character = 0
custom_name = ""
portrait_set = "default"
portrait_emotion = "normal"
messages = Array[String](["Good afternoon!", "Today is my exhibition match with Reed, in front of an audience. I'm so excited!"])
textbox_direction = 0
[sub_resource type="Resource" id="Resource_grd1k"]
script = ExtResource("4_5lef5")
target_character = NodePath("../HiroPlayer")
@ -57,7 +70,7 @@ character = 0
custom_name = ""
portrait_set = "default"
portrait_emotion = "normal"
messages = Array[String](["Hm? Where's Reed?", "It's rare of him to be late to an exhibition match..."])
messages = Array[String](["Hm? Where's Reed?", "It's rare of him to be late..."])
textbox_direction = 0
[sub_resource type="Resource" id="Resource_fo1p1"]
@ -74,8 +87,17 @@ portrait_emotion = "normal"
messages = Array[String](["Maybe Nem knows something about where he is."])
textbox_direction = 0
[sub_resource type="Resource" id="Resource_6q3mr"]
script = ExtResource("1_r5tuj")
character = 0
custom_name = ""
portrait_set = "default"
portrait_emotion = "normal"
messages = Array[String](["I can move around using the D-Pad or the keyboard arrow keys."])
textbox_direction = 0
[resource]
resource_name = "prototype_start"
script = ExtResource("1_ejncn")
commands = Array[Resource("res://Scripts/Cutscenes/Commands/base.gd")]([SubResource("Resource_fuu2y"), SubResource("Resource_xw6ah"), SubResource("Resource_grd1k"), SubResource("Resource_oa4lm"), SubResource("Resource_bowq5"), SubResource("Resource_5g2uq"), SubResource("Resource_42rx3"), SubResource("Resource_pit05"), SubResource("Resource_7hpjt"), SubResource("Resource_fo1p1"), SubResource("Resource_dcpj2")])
commands = Array[Resource("res://Scripts/Cutscenes/Commands/base.gd")]([SubResource("Resource_fuu2y"), SubResource("Resource_xw6ah"), SubResource("Resource_k43ld"), SubResource("Resource_sp0v6"), SubResource("Resource_grd1k"), SubResource("Resource_oa4lm"), SubResource("Resource_bowq5"), SubResource("Resource_5g2uq"), SubResource("Resource_42rx3"), SubResource("Resource_pit05"), SubResource("Resource_7hpjt"), SubResource("Resource_fo1p1"), SubResource("Resource_dcpj2"), SubResource("Resource_6q3mr")])
auto_start_on_load = true

View file

@ -1,4 +1,4 @@
[gd_resource type="Resource" script_class="Cutscene" load_steps=40 format=3 uid="uid://ck0ry5vxaj8a7"]
[gd_resource type="Resource" script_class="Cutscene" load_steps=42 format=3 uid="uid://ck0ry5vxaj8a7"]
[ext_resource type="Script" path="res://Scripts/Cutscenes/Commands/lookat_character.gd" id="1_ri0w6"]
[ext_resource type="Script" path="res://Scripts/Cutscenes/Commands/show_dialogue.gd" id="2_c1bel"]
@ -13,13 +13,13 @@
[sub_resource type="Resource" id="Resource_de27e"]
script = ExtResource("1_ri0w6")
character = NodePath(".")
character = NodePath("../NemNPC")
lookat_target = NodePath("../HiroPlayer")
[sub_resource type="Resource" id="Resource_3bkhm"]
script = ExtResource("1_ri0w6")
character = NodePath("../HiroPlayer")
lookat_target = NodePath(".")
lookat_target = NodePath("../NemNPC")
[sub_resource type="Resource" id="Resource_tgajv"]
script = ExtResource("2_c1bel")
@ -61,7 +61,11 @@ target_node = NodePath("../PositionMarkers/Marker2")
[sub_resource type="Resource" id="Resource_h8br4"]
script = ExtResource("4_fur8q")
character = NodePath("../HiroPlayer")
facing_direction = 3
facing_direction = 2
[sub_resource type="Resource" id="Resource_ecaiv"]
script = ExtResource("5_oj3jh")
time = 0.716667
[sub_resource type="Resource" id="Resource_0c4lk"]
script = ExtResource("2_c1bel")
@ -72,6 +76,11 @@ portrait_emotion = "normal"
messages = Array[String](["All I have to do is summon my shadow clone!"])
textbox_direction = 0
[sub_resource type="Resource" id="Resource_b2wnb"]
script = ExtResource("4_fur8q")
character = NodePath("../HiroPlayer")
facing_direction = 3
[sub_resource type="Resource" id="Resource_8188r"]
script = ExtResource("5_15rwr")
target_camera = NodePath("../HiroPlayer/Camera2D")
@ -235,5 +244,5 @@ wait_until_completion = true
[resource]
resource_name = "talking_to_nem"
script = ExtResource("5_wqnqw")
commands = Array[Resource("res://Scripts/Cutscenes/Commands/base.gd")]([SubResource("Resource_de27e"), SubResource("Resource_3bkhm"), SubResource("Resource_tgajv"), SubResource("Resource_qi6iy"), SubResource("Resource_775qe"), SubResource("Resource_yaf72"), SubResource("Resource_h8br4"), SubResource("Resource_0c4lk"), SubResource("Resource_8188r"), SubResource("Resource_83rs0"), SubResource("Resource_blakn"), SubResource("Resource_r5wd6"), SubResource("Resource_slop4"), SubResource("Resource_h3k50"), SubResource("Resource_wo7y2"), SubResource("Resource_hi1ck"), SubResource("Resource_5ci1l"), SubResource("Resource_abui6"), SubResource("Resource_kb8r5"), SubResource("Resource_8xfaf"), SubResource("Resource_4iw0f"), SubResource("Resource_kd0jj"), SubResource("Resource_w7l1e"), SubResource("Resource_7url7"), SubResource("Resource_efygu"), SubResource("Resource_u7g7o"), SubResource("Resource_ujwnf"), SubResource("Resource_ts1m3"), SubResource("Resource_uibnf")])
commands = Array[Resource("res://Scripts/Cutscenes/Commands/base.gd")]([SubResource("Resource_de27e"), SubResource("Resource_3bkhm"), SubResource("Resource_tgajv"), SubResource("Resource_qi6iy"), SubResource("Resource_775qe"), SubResource("Resource_yaf72"), SubResource("Resource_h8br4"), SubResource("Resource_ecaiv"), SubResource("Resource_0c4lk"), SubResource("Resource_b2wnb"), SubResource("Resource_8188r"), SubResource("Resource_83rs0"), SubResource("Resource_blakn"), SubResource("Resource_r5wd6"), SubResource("Resource_slop4"), SubResource("Resource_h3k50"), SubResource("Resource_wo7y2"), SubResource("Resource_hi1ck"), SubResource("Resource_5ci1l"), SubResource("Resource_abui6"), SubResource("Resource_kb8r5"), SubResource("Resource_8xfaf"), SubResource("Resource_4iw0f"), SubResource("Resource_kd0jj"), SubResource("Resource_w7l1e"), SubResource("Resource_7url7"), SubResource("Resource_efygu"), SubResource("Resource_u7g7o"), SubResource("Resource_ujwnf"), SubResource("Resource_ts1m3"), SubResource("Resource_uibnf")])
auto_start_on_load = true

View file

@ -30,7 +30,7 @@ func _on_timeout():
queue_free()
func _boom():
timer.wait_time = 1.0
timer.start(0.3)
play(&"hit")
speed = 0.0
z_index = 1

View file

@ -31,7 +31,7 @@ layout_mode = 2
[node name="HealthBar" type="TextureProgressBar" parent="MarginContainer/HBoxContainer"]
texture_filter = 1
custom_minimum_size = Vector2(0, 12)
custom_minimum_size = Vector2(0, 15)
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 0
@ -53,7 +53,7 @@ size_flags_stretch_ratio = 3.5
[node name="EnemyBar" type="TextureProgressBar" parent="MarginContainer/HBoxContainer"]
texture_filter = 1
custom_minimum_size = Vector2(0, 12)
custom_minimum_size = Vector2(0, 15)
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 0

BIN
UI/hp_bar_border.png (Stored with Git LFS)

Binary file not shown.

View file

@ -1,24 +1,10 @@
[gd_scene load_steps=4 format=3 uid="uid://c503u0i421w34"]
[gd_scene load_steps=3 format=3 uid="uid://c503u0i421w34"]
[ext_resource type="Texture2D" uid="uid://d0aw0q6fvgk1o" path="res://world/wood pillar.png" id="1_wjgo2"]
[ext_resource type="Texture2D" uid="uid://dywy1nhojkpuq" path="res://world/long wood pillar .png" id="2_q108x"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_nsmbw"]
size = Vector2(8, 24)
[node name="Node2D" type="Node2D"]
[node name="StaticBody2D" type="StaticBody2D" parent="."]
texture_filter = 1
position = Vector2(0, -22)
collision_layer = 49
collision_mask = 17
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D"]
texture_filter = 1
position = Vector2(0, 10)
shape = SubResource("RectangleShape2D_nsmbw")
[node name="WoodPillar" type="Sprite2D" parent="."]
visible = false
y_sort_enabled = true
@ -30,3 +16,14 @@ texture = ExtResource("1_wjgo2")
texture_filter = 1
position = Vector2(0, -32)
texture = ExtResource("2_q108x")
[node name="StaticBody2D" type="StaticBody2D" parent="."]
texture_filter = 1
position = Vector2(0, -22)
collision_layer = 49
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)

View file

@ -6,7 +6,7 @@
[ext_resource type="FontFile" uid="uid://bgqotudi6bifk" path="res://UI/Gundam 00 font gaufont.ttf" id="2_64thh"]
[ext_resource type="Script" path="res://Scripts/UI/pause_menu.gd" id="2_nw73f"]
[ext_resource type="PackedScene" uid="uid://bcwkugn6v3oy7" path="res://addons/godot_state_charts/utilities/state_chart_debugger.tscn" id="2_o5str"]
[ext_resource type="Resource" uid="uid://bj3rm1r1ouq0r" path="res://Cutscenes/prototype_start.tres" id="3_s1wqq"]
[ext_resource type="Resource" uid="uid://bj3rm1r1ouq0r" path="res://Cutscenes/prototype_start.tres" id="3_0opva"]
[ext_resource type="Texture2D" uid="uid://b40la2vyf4rn6" path="res://world/Fighting Dojo BG.png" id="4_elb6q"]
[ext_resource type="AudioStream" uid="uid://b72f2jvv2283j" path="res://Audio/SFX/dialog_page.wav" id="6_vecai"]
[ext_resource type="AudioStream" uid="uid://drossx2nhgeue" path="res://Audio/SFX/dialog_open.wav" id="7_lglyc"]
@ -137,7 +137,7 @@ script = ExtResource("1_y634h")
[node name="CutsceneManager" type="Node" parent="."]
script = ExtResource("19_5yvrq")
cutscene = ExtResource("3_s1wqq")
cutscene = ExtResource("3_0opva")
[node name="MusicManager" parent="." instance=ExtResource("24_03wyf")]
@ -318,7 +318,7 @@ position = Vector2(176, 280)
[node name="Walls" type="Sprite2D" parent="MapElements"]
z_index = 1
texture_filter = 1
position = Vector2(137, 199)
position = Vector2(138, 199)
texture = ExtResource("7_pp5dn")
[node name="HiroPlayer" parent="." instance=ExtResource("1_c1gpq")]
@ -340,12 +340,10 @@ interaction_cutscene = ExtResource("12_cb4j5")
[node name="ShadowClone" parent="." node_paths=PackedStringArray("player_character") instance=ExtResource("30_le27a")]
position = Vector2(75, 285)
player_character = NodePath("../HiroPlayer")
MELEE_RADIUS = 200
chase_speed = 40
approach_speed = 25
min_recoil_time = 0.15
max_recoil_time = 2.0
reduce_recoil_time_threshold = 0.5
KNOCKBACK_REPOSITION_POWER = 90
MELEE_RADIUS = 9999
max_health = 200
health = 200
attack_power = 10
[node name="ReedAI" parent="." node_paths=PackedStringArray("player_character") instance=ExtResource("21_dioix")]
@ -429,7 +427,7 @@ position = Vector2(-107.5, -19.5)
shape = SubResource("RectangleShape2D_c5p72")
[node name="CollisionShape2D2" type="CollisionShape2D" parent="Barrier"]
position = Vector2(113, -20)
position = Vector2(111, -19)
shape = SubResource("RectangleShape2D_ledaf")
[node name="CollisionShape2D3" type="CollisionShape2D" parent="Barrier"]