Refactor scene configurations and add z-index properties for better layering; implement grace period logic in DeadliftSystem
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=5 format=3 uid="uid://dxq2510ywj1hy"]
|
||||
[gd_scene load_steps=4 format=3 uid="uid://dxq2510ywj1hy"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://dn8y3bgovnh4a" path="res://Objects/bench_press_stickman.tscn" id="2_0c1tm"]
|
||||
[ext_resource type="Texture2D" uid="uid://dsovna2tmb4o3" path="res://Sprites/bench.png" id="2_ky8t4"]
|
||||
@@ -9,14 +9,17 @@
|
||||
[node name="System" type="BenchPressSystem" parent="."]
|
||||
|
||||
[node name="Bench" type="Sprite2D" parent="."]
|
||||
position = Vector2(11, 1)
|
||||
z_index = 1
|
||||
position = Vector2(11, 128.5)
|
||||
scale = Vector2(2.086, 2.086)
|
||||
texture = ExtResource("2_ky8t4")
|
||||
|
||||
[node name="BenchPressStickman" parent="." instance=ExtResource("2_0c1tm")]
|
||||
position = Vector2(0, 127.5)
|
||||
|
||||
[node name="Barbell" type="Sprite2D" parent="."]
|
||||
position = Vector2(22, -5)
|
||||
z_index = 1
|
||||
position = Vector2(22, 122.5)
|
||||
scale = Vector2(2.432, 2.432)
|
||||
texture = ExtResource("3_ky8t4")
|
||||
|
||||
@@ -24,4 +27,4 @@ texture = ExtResource("3_ky8t4")
|
||||
player_anim = NodePath("../BenchPressStickman")
|
||||
barbell = NodePath("../Barbell")
|
||||
animation_name = "default"
|
||||
bar_positions = Array[Vector2]([Vector2(19, -5), Vector2(19, -19), Vector2(21, -36), Vector2(21, -15), Vector2(23, 3), Vector2(22, 11), Vector2(22, -1), Vector2(22, -1)])
|
||||
bar_positions = Array[Vector2]([Vector2(19, 123), Vector2(19, 109), Vector2(21, 92), Vector2(21, 113), Vector2(23, 131), Vector2(22, 139), Vector2(22, 127), Vector2(22, 127)])
|
||||
|
||||
Reference in New Issue
Block a user