Add new UID files and update scene configurations for dialogue components; refactor skill management and input handling
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
[ext_resource type="Texture2D" uid="uid://djifxc5x0dyrw" path="res://sprites/ppc_tileset.png" id="1_1co1x"]
|
||||
[ext_resource type="Script" uid="uid://r4jybneigfcn" path="res://scripts/components/CollectableComponent.cs" id="2_lthbn"]
|
||||
[ext_resource type="Resource" uid="uid://b6xqotmke54x" path="res://resources/collectables/big_treasure.tres" id="3_k64cr"]
|
||||
[ext_resource type="Script" uid="uid://bg75hnr3q6grk" path="res://scripts/components/fade_away.gd" id="4_nw7tw"]
|
||||
[ext_resource type="Script" uid="uid://bjln6jb1sigx2" path="res://scripts/components/FadeAwayComponent.cs" id="4_qwwsj"]
|
||||
[ext_resource type="AudioStream" uid="uid://wr7n5ivv06ux" path="res://sfx/pickup_coin_4.wav" id="5_fxf8v"]
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_3ask2"]
|
||||
@@ -29,12 +29,11 @@ CollisionShape = NodePath("../CollisionShape2D")
|
||||
Data = ExtResource("3_k64cr")
|
||||
Sfx = NodePath("../sfx")
|
||||
|
||||
[node name="FadeAwayComponent" type="Node" parent="." node_paths=PackedStringArray("sprite2d", "root", "area2d")]
|
||||
script = ExtResource("4_nw7tw")
|
||||
sprite2d = NodePath("../Sprite2D")
|
||||
fade_duration = 0.4
|
||||
root = NodePath("..")
|
||||
area2d = NodePath("..")
|
||||
[node name="FadeAwayComponent" type="Node" parent="." node_paths=PackedStringArray("Sprite", "Area")]
|
||||
script = ExtResource("4_qwwsj")
|
||||
Sprite = NodePath("../Sprite2D")
|
||||
FadeDuration = 0.4
|
||||
Area = NodePath("..")
|
||||
|
||||
[node name="sfx" type="AudioStreamPlayer2D" parent="."]
|
||||
stream = ExtResource("5_fxf8v")
|
||||
|
@@ -49,15 +49,13 @@ VisibilityNotifier = NodePath("../VisibleOnScreenNotifier2D")
|
||||
[node name="ProjectileInitComponent" type="Node" parent="." node_paths=PackedStringArray("LaunchComponent")]
|
||||
script = ExtResource("5_aiue8")
|
||||
LaunchComponent = NodePath("../LaunchComponent")
|
||||
metadata/_custom_type_script = "uid://bgty7040ams6s"
|
||||
|
||||
[node name="LaunchComponent" type="Node2D" parent="."]
|
||||
script = ExtResource("6_t4c40")
|
||||
metadata/_custom_type_script = "uid://873un8agkyja"
|
||||
Speed = 64.0
|
||||
|
||||
[node name="StraightMotionComponent" type="Node" parent="." node_paths=PackedStringArray("LaunchComponent")]
|
||||
script = ExtResource("7_y10b5")
|
||||
LaunchComponent = NodePath("../LaunchComponent")
|
||||
metadata/_custom_type_script = "uid://cvcnfrr1udco5"
|
||||
|
||||
[node name="TerrainHitFX" parent="." instance=ExtResource("8_d0tcd")]
|
||||
|
@@ -20,7 +20,6 @@
|
||||
[ext_resource type="Script" uid="uid://di572axt0c3s8" path="res://scripts/SkillManager.cs" id="18_6lsog"]
|
||||
[ext_resource type="AudioStream" uid="uid://duj2q0rqytaxg" path="res://sfx/jump.wav" id="18_pysae"]
|
||||
[ext_resource type="AudioStream" uid="uid://bmfn6p88gy575" path="res://sfx/player_hurt.wav" id="19_7anly"]
|
||||
[ext_resource type="Script" uid="uid://dlh5xcv2sy82s" path="res://scripts/components/SkillUnlockedComponent.cs" id="19_gwc8i"]
|
||||
[ext_resource type="Script" uid="uid://d4crrfmbgxnqf" path="res://scripts/Resources/SkillData.cs" id="19_yysbb"]
|
||||
[ext_resource type="AudioStream" uid="uid://ycgtf6wj7mto" path="res://sfx/heal.wav" id="20_bptj5"]
|
||||
[ext_resource type="Resource" uid="uid://dw5ee2lpeypnb" path="res://resources/skills/brick_throw.tres" id="20_o1ihh"]
|
||||
@@ -28,6 +27,7 @@
|
||||
[ext_resource type="Resource" uid="uid://cr5lo4h8wm0jc" path="res://resources/skills/fire_brick.tres" id="22_7til7"]
|
||||
[ext_resource type="Resource" uid="uid://ceakv6oqob6m7" path="res://resources/skills/ice_brick.tres" id="23_e5pae"]
|
||||
[ext_resource type="Resource" uid="uid://d3bjre2etov1n" path="res://resources/skills/magnetic.tres" id="24_xuhvf"]
|
||||
[ext_resource type="Script" uid="uid://dlh5xcv2sy82s" path="res://scripts/components/SkillUnlockerComponent.cs" id="25_yysbb"]
|
||||
[ext_resource type="Script" uid="uid://bo506l4x0808e" path="res://scripts/components/HitComponent.cs" id="26_6n1ss"]
|
||||
[ext_resource type="Script" uid="uid://cjcc7fia15wu3" path="res://scripts/components/CanBeLaunchedComponent.cs" id="27_oefns"]
|
||||
[ext_resource type="PackedScene" uid="uid://bg76mtpcmfm2j" path="res://objects/ui/charging_bar_layer.tscn" id="28_3f5nm"]
|
||||
@@ -175,8 +175,6 @@ Body = NodePath("..")
|
||||
KnockbackForce = 1250.0
|
||||
HealthComponent = NodePath("../HealthComponent")
|
||||
|
||||
[node name="ThrowTimer" type="Timer" parent="."]
|
||||
|
||||
[node name="InvulnerabilityComponent" type="Node" parent="." node_paths=PackedStringArray("FlashingComponent")]
|
||||
script = ExtResource("15_xuhvf")
|
||||
FlashingComponent = NodePath("../FlashingComponent Base")
|
||||
@@ -210,7 +208,7 @@ script = ExtResource("18_6lsog")
|
||||
AvailableSkills = Array[ExtResource("19_yysbb")]([ExtResource("20_o1ihh"), ExtResource("21_ur2y5"), ExtResource("22_7til7"), ExtResource("23_e5pae"), ExtResource("24_xuhvf")])
|
||||
|
||||
[node name="SkillUnlockerComponent" type="Node" parent="." node_paths=PackedStringArray("SkillManager")]
|
||||
script = ExtResource("19_gwc8i")
|
||||
script = ExtResource("25_yysbb")
|
||||
SkillManager = NodePath("../SkillManager")
|
||||
|
||||
[node name="HitComponent" type="Node" parent="." node_paths=PackedStringArray("Sprite", "Health", "HitFx")]
|
||||
@@ -218,7 +216,6 @@ script = ExtResource("26_6n1ss")
|
||||
Sprite = NodePath("../Graphics/Root/Base")
|
||||
Health = NodePath("../HealthComponent")
|
||||
HitFx = NodePath("../HitParticles")
|
||||
metadata/_custom_type_script = "uid://ceq8n7yw7qxpi"
|
||||
|
||||
[node name="MagneticArea" type="Area2D" parent="."]
|
||||
collision_layer = 0
|
||||
@@ -264,7 +261,6 @@ script = ExtResource("30_usc1p")
|
||||
BulletScene = ExtResource("36_oxudy")
|
||||
BulletSpawn = NodePath("../Ship shoot spawn")
|
||||
ShootSfx = NodePath("../sfx_shoot")
|
||||
metadata/_custom_type_script = "uid://d1ctdx52gskv1"
|
||||
|
||||
[node name="Ship shoot spawn" type="Marker2D" parent="."]
|
||||
position = Vector2(17, 5)
|
||||
|
@@ -42,7 +42,7 @@ script = ExtResource("2_nqeob")
|
||||
Damage = 5.0
|
||||
DamageTimer = NodePath("../Timer")
|
||||
|
||||
[node name="ExplosiveComponent" type="Node" parent="." node_paths=PackedStringArray("Damage", "Area", "ExplodeArea")]
|
||||
[node name="ExplosiveComponent" type="Node2D" parent="." node_paths=PackedStringArray("Damage", "Area", "ExplodeArea")]
|
||||
script = ExtResource("3_a2b5x")
|
||||
Damage = NodePath("../DamageComponent")
|
||||
Area = NodePath("../BulletArea")
|
||||
@@ -67,7 +67,6 @@ LifeTime = 30.0
|
||||
[node name="LaunchComponent" type="Node2D" parent="."]
|
||||
script = ExtResource("6_a2b5x")
|
||||
Speed = 240.0
|
||||
metadata/_custom_type_script = "uid://873un8agkyja"
|
||||
|
||||
[node name="GravityMotionComponent" type="Node2D" parent="." node_paths=PackedStringArray("Body", "LaunchComponent")]
|
||||
script = ExtResource("7_4ly8b")
|
||||
@@ -84,4 +83,3 @@ shape = SubResource("RectangleShape2D_nqeob")
|
||||
[node name="ProjectileInitComponent" type="Node" parent="." node_paths=PackedStringArray("LaunchComponent")]
|
||||
script = ExtResource("8_nqeob")
|
||||
LaunchComponent = NodePath("../LaunchComponent")
|
||||
metadata/_custom_type_script = "uid://bgty7040ams6s"
|
||||
|
@@ -1,183 +0,0 @@
|
||||
[gd_scene load_steps=29 format=3 uid="uid://8wy1jxy1lihn"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://dhkwyv6ayb5qb" path="res://sprites/flying_ship.png" id="1_umrfk"]
|
||||
[ext_resource type="Shader" uid="uid://bs4xvm4qkurpr" path="res://shaders/hit_flash.tres" id="2_vlo17"]
|
||||
[ext_resource type="Texture2D" uid="uid://b7gp0gqvkv8j4" path="res://sprites/MrBrick_base.png" id="3_e1par"]
|
||||
[ext_resource type="Texture2D" uid="uid://jl1gwqchhpdc" path="res://sprites/left_eye.png" id="4_d5f6y"]
|
||||
[ext_resource type="Texture2D" uid="uid://iiawtnwmeny3" path="res://sprites/right_eye.png" id="5_k3peb"]
|
||||
[ext_resource type="Script" uid="uid://btfsq0bvtrx3t" path="res://scripts/components/health.gd" id="6_e1par"]
|
||||
[ext_resource type="AudioStream" uid="uid://bmfn6p88gy575" path="res://sfx/player_hurt.wav" id="7_q8x53"]
|
||||
[ext_resource type="AudioStream" uid="uid://ycgtf6wj7mto" path="res://sfx/heal.wav" id="8_5aboc"]
|
||||
[ext_resource type="PackedScene" uid="uid://b12tppjkkqpt4" path="res://objects/fxs/hit_particles.tscn" id="9_buvrj"]
|
||||
[ext_resource type="Script" uid="uid://ijrli0x8ij8v" path="res://scripts/components/invulnerability_component.gd" id="10_y4xwp"]
|
||||
[ext_resource type="Script" uid="uid://dqmbvuutd5c3c" path="res://scripts/components/flashing_component.gd" id="11_m7okj"]
|
||||
[ext_resource type="Script" uid="uid://ceq8n7yw7qxpi" path="res://scripts/components/hit_component.gd" id="12_dwqug"]
|
||||
[ext_resource type="Script" uid="uid://b3mrdvre1y567" path="res://scripts/components/ship_movement.gd" id="13_m7okj"]
|
||||
[ext_resource type="Script" uid="uid://d1ctdx52gskv1" path="res://scripts/components/ship_shooter.gd" id="14_e7gat"]
|
||||
[ext_resource type="AudioStream" uid="uid://dyev46uqusimi" path="res://sfx/shoot.wav" id="15_4fjnq"]
|
||||
[ext_resource type="PackedScene" uid="uid://dtem8jgcyoqar" path="res://objects/entities/green_laser.tscn" id="15_67g38"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_y4xwp"]
|
||||
size = Vector2(16, 32)
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_q8x53"]
|
||||
shader = ExtResource("2_vlo17")
|
||||
shader_parameter/enabled = false
|
||||
shader_parameter/tint = Color(1, 1, 1, 1)
|
||||
|
||||
[sub_resource type="Gradient" id="Gradient_umrfk"]
|
||||
offsets = PackedFloat32Array(0, 0.173759, 0.521277, 0.687943, 0.886525, 1)
|
||||
colors = PackedColorArray(1.635, 0.188, 0, 1, 1.89, 0.318, 0, 1, 1, 0.470588, 0.188235, 1, 1, 0.635294, 0, 1, 1, 0.858824, 0.635294, 1, 1, 1, 1, 0.501961)
|
||||
|
||||
[sub_resource type="GradientTexture1D" id="GradientTexture1D_g31n1"]
|
||||
gradient = SubResource("Gradient_umrfk")
|
||||
use_hdr = true
|
||||
|
||||
[sub_resource type="Curve" id="Curve_wcyu2"]
|
||||
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(0.606498, 0.621642), -1.25408, -1.25408, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0]
|
||||
point_count = 3
|
||||
|
||||
[sub_resource type="CurveTexture" id="CurveTexture_epnjh"]
|
||||
curve = SubResource("Curve_wcyu2")
|
||||
|
||||
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_vlo17"]
|
||||
lifetime_randomness = 0.85
|
||||
particle_flag_disable_z = true
|
||||
emission_shape = 1
|
||||
emission_sphere_radius = 3.0
|
||||
angle_min = -35.0
|
||||
angle_max = 35.0
|
||||
direction = Vector3(0, 1, 0)
|
||||
initial_velocity_min = 30.0
|
||||
initial_velocity_max = 60.0
|
||||
gravity = Vector3(0, 98, 0)
|
||||
scale_min = 2.0
|
||||
scale_max = 4.0
|
||||
scale_curve = SubResource("CurveTexture_epnjh")
|
||||
color_ramp = SubResource("GradientTexture1D_g31n1")
|
||||
|
||||
[sub_resource type="Gradient" id="Gradient_m7okj"]
|
||||
colors = PackedColorArray(1, 1, 1, 1, 1, 1, 1, 0)
|
||||
|
||||
[sub_resource type="GradientTexture1D" id="GradientTexture1D_f1fvy"]
|
||||
gradient = SubResource("Gradient_m7okj")
|
||||
|
||||
[sub_resource type="Curve" id="Curve_dwqug"]
|
||||
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0]
|
||||
point_count = 2
|
||||
|
||||
[sub_resource type="CurveTexture" id="CurveTexture_7b7mt"]
|
||||
curve = SubResource("Curve_dwqug")
|
||||
|
||||
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_e7gat"]
|
||||
resource_local_to_scene = true
|
||||
lifetime_randomness = 1.0
|
||||
particle_flag_disable_z = true
|
||||
emission_shape = 1
|
||||
emission_sphere_radius = 8.0
|
||||
direction = Vector3(0.1, -0.5, 0)
|
||||
initial_velocity_min = 200.0
|
||||
initial_velocity_max = 400.0
|
||||
gravity = Vector3(0, 80, 0)
|
||||
damping_min = 400.0
|
||||
damping_max = 800.0
|
||||
scale_max = 3.0
|
||||
scale_curve = SubResource("CurveTexture_7b7mt")
|
||||
color = Color(0.764706, 0.443137, 0, 1)
|
||||
color_ramp = SubResource("GradientTexture1D_f1fvy")
|
||||
|
||||
[node name="Flying ship" type="CharacterBody2D"]
|
||||
collision_layer = 4
|
||||
collision_mask = 9
|
||||
motion_mode = 1
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionPolygon2D" parent="."]
|
||||
position = Vector2(-0.5, 7)
|
||||
polygon = PackedVector2Array(-13.5, -8, -13.5, -10, -12.5, -11, -10.5, -11, -8.5, -8, -7.5, -7, 10.5, -7, 15.5, -3, 15.5, -1, 10.5, 3, 6.5, 4, 4.5, 5, 2.5, 7, -1.5, 7, -5.5, 4, -9.5, 3, -11.5, 2, -14.5, -1, -14.5, -3, -12.5, -5, -11.5, -5, -11.5, -7, -12.5, -7)
|
||||
|
||||
[node name="Player hitbox" type="CollisionShape2D" parent="."]
|
||||
position = Vector2(-2, -7)
|
||||
shape = SubResource("RectangleShape2D_y4xwp")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
position = Vector2(0, -1)
|
||||
texture = ExtResource("1_umrfk")
|
||||
|
||||
[node name="Brick Position" type="Node2D" parent="."]
|
||||
|
||||
[node name="Root" type="Node2D" parent="Brick Position"]
|
||||
z_index = -1
|
||||
position = Vector2(-2, -7)
|
||||
|
||||
[node name="Base" type="Sprite2D" parent="Brick Position/Root"]
|
||||
material = SubResource("ShaderMaterial_q8x53")
|
||||
texture = ExtResource("3_e1par")
|
||||
|
||||
[node name="Left Eye" type="Sprite2D" parent="Brick Position/Root"]
|
||||
position = Vector2(-7, -6)
|
||||
texture = ExtResource("4_d5f6y")
|
||||
hframes = 2
|
||||
|
||||
[node name="Right Eye" type="Sprite2D" parent="Brick Position/Root"]
|
||||
position = Vector2(6, -5)
|
||||
texture = ExtResource("5_k3peb")
|
||||
hframes = 2
|
||||
|
||||
[node name="Engine particles" type="GPUParticles2D" parent="."]
|
||||
z_index = -1
|
||||
position = Vector2(0, 12)
|
||||
amount = 64
|
||||
fixed_fps = 24
|
||||
process_material = SubResource("ParticleProcessMaterial_vlo17")
|
||||
|
||||
[node name="HealthComponent" type="Node" parent="." node_paths=PackedStringArray("hurt_fx", "heal_fx")]
|
||||
script = ExtResource("6_e1par")
|
||||
hurt_fx = NodePath("../sfx_hurt")
|
||||
heal_fx = NodePath("../sfx_heal")
|
||||
metadata/_custom_type_script = "uid://btfsq0bvtrx3t"
|
||||
|
||||
[node name="sfx_hurt" type="AudioStreamPlayer2D" parent="."]
|
||||
stream = ExtResource("7_q8x53")
|
||||
|
||||
[node name="sfx_heal" type="AudioStreamPlayer2D" parent="."]
|
||||
stream = ExtResource("8_5aboc")
|
||||
|
||||
[node name="HitParticles" parent="." instance=ExtResource("9_buvrj")]
|
||||
position = Vector2(-2, -5)
|
||||
process_material = SubResource("ParticleProcessMaterial_e7gat")
|
||||
|
||||
[node name="InvulnerabilityComponent" type="Node" parent="." node_paths=PackedStringArray("flashing_component")]
|
||||
script = ExtResource("10_y4xwp")
|
||||
flashing_component = NodePath("../FlashingComponent Base")
|
||||
|
||||
[node name="FlashingComponent Base" type="Node" parent="." node_paths=PackedStringArray("sprite", "health_component")]
|
||||
script = ExtResource("11_m7okj")
|
||||
sprite = NodePath("../Brick Position/Root/Base")
|
||||
flash_duration = 1.0
|
||||
health_component = NodePath("../HealthComponent")
|
||||
|
||||
[node name="HitComponent" type="Node" parent="." node_paths=PackedStringArray("sprite", "health_component", "hit_fx")]
|
||||
script = ExtResource("12_dwqug")
|
||||
sprite = NodePath("../Brick Position/Root/Base")
|
||||
health_component = NodePath("../HealthComponent")
|
||||
hit_fx = NodePath("../HitParticles")
|
||||
metadata/_custom_type_script = "uid://ceq8n7yw7qxpi"
|
||||
|
||||
[node name="ShipMovement" type="Node" parent="." node_paths=PackedStringArray("body")]
|
||||
script = ExtResource("13_m7okj")
|
||||
acceleration = 800.0
|
||||
friction = 600.0
|
||||
body = NodePath("..")
|
||||
|
||||
[node name="Shoot spawn" type="Marker2D" parent="."]
|
||||
position = Vector2(16, -2)
|
||||
gizmo_extents = 1.0
|
||||
|
||||
[node name="ShipShooter" type="Node" parent="." node_paths=PackedStringArray("bullet_spawn", "shoot_sfx")]
|
||||
script = ExtResource("14_e7gat")
|
||||
bullet_scene = ExtResource("15_67g38")
|
||||
bullet_spawn = NodePath("../Shoot spawn")
|
||||
shoot_sfx = NodePath("../sfx_shoot")
|
||||
|
||||
[node name="sfx_shoot" type="AudioStreamPlayer2D" parent="."]
|
||||
stream = ExtResource("15_4fjnq")
|
@@ -3,7 +3,7 @@
|
||||
[ext_resource type="Texture2D" uid="uid://djifxc5x0dyrw" path="res://sprites/ppc_tileset.png" id="1_uh3ex"]
|
||||
[ext_resource type="Script" uid="uid://r4jybneigfcn" path="res://scripts/components/CollectableComponent.cs" id="2_n5rum"]
|
||||
[ext_resource type="Resource" uid="uid://bws2xldndlre1" path="res://resources/collectables/treasure.tres" id="3_uknsr"]
|
||||
[ext_resource type="Script" uid="uid://bg75hnr3q6grk" path="res://scripts/components/fade_away.gd" id="4_ccbcr"]
|
||||
[ext_resource type="Script" uid="uid://bjln6jb1sigx2" path="res://scripts/components/FadeAwayComponent.cs" id="4_o1r16"]
|
||||
[ext_resource type="AudioStream" uid="uid://d2rj7uy5f0kwm" path="res://sfx/pickup_coin_3.wav" id="5_xt2rk"]
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_3ask2"]
|
||||
@@ -29,12 +29,11 @@ CollisionShape = NodePath("../CollisionShape2D")
|
||||
Data = ExtResource("3_uknsr")
|
||||
Sfx = NodePath("../sfx")
|
||||
|
||||
[node name="FadeAwayComponent" type="Node" parent="." node_paths=PackedStringArray("sprite2d", "root", "area2d")]
|
||||
script = ExtResource("4_ccbcr")
|
||||
sprite2d = NodePath("../Sprite2D")
|
||||
fade_duration = 0.4
|
||||
root = NodePath("..")
|
||||
area2d = NodePath("..")
|
||||
[node name="FadeAwayComponent" type="Node" parent="." node_paths=PackedStringArray("Sprite", "Area")]
|
||||
script = ExtResource("4_o1r16")
|
||||
Sprite = NodePath("../Sprite2D")
|
||||
FadeDuration = 0.4
|
||||
Area = NodePath("..")
|
||||
|
||||
[node name="sfx" type="AudioStreamPlayer2D" parent="."]
|
||||
stream = ExtResource("5_xt2rk")
|
||||
|
@@ -1,6 +1,6 @@
|
||||
[gd_scene load_steps=9 format=3 uid="uid://dyp4i4ru2j2jh"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://f74xpfg7624d" path="res://scripts/components/cleanup_component.gd" id="1_8uvxg"]
|
||||
[ext_resource type="Script" uid="uid://v7tt4w6bejux" path="res://scripts/components/CleanupComponent.cs" id="1_5wuia"]
|
||||
|
||||
[sub_resource type="Curve" id="Curve_8umf8"]
|
||||
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(1, 0.4), 0.0, 0.0, 0, 0]
|
||||
@@ -45,8 +45,7 @@ explosiveness = 1.0
|
||||
fixed_fps = 24
|
||||
process_material = SubResource("ParticleProcessMaterial_1ujje")
|
||||
|
||||
[node name="CleanUpComponent" type="Node" parent="." node_paths=PackedStringArray("root")]
|
||||
script = ExtResource("1_8uvxg")
|
||||
root = NodePath("..")
|
||||
[node name="CleanUpComponent" type="Node" parent="."]
|
||||
script = ExtResource("1_5wuia")
|
||||
|
||||
[connection signal="finished" from="." to="CleanUpComponent" method="clean_up"]
|
||||
|
@@ -53,13 +53,16 @@ ease = 2
|
||||
|
||||
[node name="Brick Player" parent="." instance=ExtResource("1_lbnsn")]
|
||||
|
||||
[node name="HitParticles" parent="Brick Player" index="27"]
|
||||
[node name="HitParticles" parent="Brick Player" index="26"]
|
||||
process_material = SubResource("ParticleProcessMaterial_lgb3u")
|
||||
|
||||
[node name="WorldEnvironment" parent="." instance=ExtResource("1_hb5r3")]
|
||||
|
||||
[node name="UI Layer" parent="." instance=ExtResource("2_lbnsn")]
|
||||
|
||||
[node name="Marketplace" parent="UI Layer" index="3" node_paths=PackedStringArray("SkillUnlockerComponent")]
|
||||
SkillUnlockerComponent = NodePath("../../Brick Player/SkillUnlockerComponent")
|
||||
|
||||
[node name="Global Light" parent="." instance=ExtResource("3_3732a")]
|
||||
|
||||
[node name="Camera2D" parent="." instance=ExtResource("5_517ha")]
|
||||
|
@@ -7,5 +7,5 @@
|
||||
[node name="BrickThrowComponent" type="Node"]
|
||||
script = ExtResource("1_ogpnm")
|
||||
BrickScene = ExtResource("2_4txoq")
|
||||
FireRate = 0.3
|
||||
FireRate = 0.6
|
||||
ThrowInputBehavior = ExtResource("3_gxahf")
|
||||
|
11
objects/player_skills/exploding_brick_throw_skill.tscn
Normal file
11
objects/player_skills/exploding_brick_throw_skill.tscn
Normal file
@@ -0,0 +1,11 @@
|
||||
[gd_scene load_steps=4 format=3 uid="uid://cfses3kn3y8qw"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://b0bv8kw5w5037" path="res://scripts/components/BrickThrowComponent.cs" id="1_xj8hl"]
|
||||
[ext_resource type="PackedScene" uid="uid://5surx230gfw3" path="res://objects/entities/exploding_brick.tscn" id="2_xj8hl"]
|
||||
[ext_resource type="Resource" uid="uid://diuv6pr6a0dup" path="res://resources/throw_behaviors/charge_throw_input.tres" id="3_xj8hl"]
|
||||
|
||||
[node name="BrickThrowComponent" type="Node"]
|
||||
script = ExtResource("1_xj8hl")
|
||||
BrickScene = ExtResource("2_xj8hl")
|
||||
FireRate = 0.6
|
||||
ThrowInputBehavior = ExtResource("3_xj8hl")
|
11
objects/player_skills/fire_brick_throw_skill.tscn
Normal file
11
objects/player_skills/fire_brick_throw_skill.tscn
Normal file
@@ -0,0 +1,11 @@
|
||||
[gd_scene load_steps=4 format=3 uid="uid://dfm2you3v5ap4"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://b0bv8kw5w5037" path="res://scripts/components/BrickThrowComponent.cs" id="1_rvtv7"]
|
||||
[ext_resource type="PackedScene" uid="uid://daau4j5hbklk0" path="res://objects/entities/fire_brick.tscn" id="2_rvtv7"]
|
||||
[ext_resource type="Resource" uid="uid://br84dsfa3ti04" path="res://resources/throw_behaviors/tap_throw_input.tres" id="3_rr0fu"]
|
||||
|
||||
[node name="BrickThrowComponent" type="Node"]
|
||||
script = ExtResource("1_rvtv7")
|
||||
BrickScene = ExtResource("2_rvtv7")
|
||||
FireRate = 0.3
|
||||
ThrowInputBehavior = ExtResource("3_rr0fu")
|
11
objects/player_skills/ice_brick_throw_skill.tscn
Normal file
11
objects/player_skills/ice_brick_throw_skill.tscn
Normal file
@@ -0,0 +1,11 @@
|
||||
[gd_scene load_steps=4 format=3 uid="uid://dpmmacva7qf8j"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://b0bv8kw5w5037" path="res://scripts/components/BrickThrowComponent.cs" id="1_wjj0s"]
|
||||
[ext_resource type="PackedScene" uid="uid://bcmx07k12gcsc" path="res://objects/entities/ice_brick.tscn" id="2_wjj0s"]
|
||||
[ext_resource type="Resource" uid="uid://br84dsfa3ti04" path="res://resources/throw_behaviors/tap_throw_input.tres" id="3_44pyn"]
|
||||
|
||||
[node name="BrickThrowComponent" type="Node"]
|
||||
script = ExtResource("1_wjj0s")
|
||||
BrickScene = ExtResource("2_wjj0s")
|
||||
FireRate = 0.3
|
||||
ThrowInputBehavior = ExtResource("3_44pyn")
|
Reference in New Issue
Block a user