refactor: implement singleton pattern for key managers and improve resource access
This commit is contained in:
@@ -32,7 +32,7 @@ point_count = 2
|
||||
[sub_resource type="CurveTexture" id="CurveTexture_7b7mt"]
|
||||
curve = SubResource("Curve_82d6e")
|
||||
|
||||
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_85ofa"]
|
||||
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_sktot"]
|
||||
resource_local_to_scene = true
|
||||
lifetime_randomness = 1.0
|
||||
particle_flag_disable_z = true
|
||||
@@ -114,7 +114,7 @@ script = ExtResource("13_sktot")
|
||||
metadata/_custom_type_script = "uid://6foetukqmyoe"
|
||||
|
||||
[node name="HitParticles" parent="Brick Player" index="23"]
|
||||
process_material = SubResource("ParticleProcessMaterial_85ofa")
|
||||
process_material = SubResource("ParticleProcessMaterial_sktot")
|
||||
|
||||
[connection signal="Death" from="Brick Player/HealthComponent" to="UI Layer/DeathScreen" method="OnPlayerDeath"]
|
||||
[connection signal="Death" from="Brick Player/HealthComponent" to="UI Layer/GameOverScreen" method="OnPlayerDeath"]
|
||||
|
||||
Reference in New Issue
Block a user