Skip to content

Commit

Permalink
Increase death buffer
Browse files Browse the repository at this point in the history
  • Loading branch information
maggardJosh committed Apr 13, 2024
1 parent 02450b7 commit 6b50f3b
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
Binary file modified player.aseprite
Binary file not shown.
4 changes: 2 additions & 2 deletions player.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"trimmed": true,
"spriteSourceSize": { "x": 11, "y": 8, "w": 13, "h": 17 },
"sourceSize": { "w": 32, "h": 32 },
"duration": 400
"duration": 600
},
"player 6.aseprite": {
"frame": { "x": 2, "y": 23, "w": 17, "h": 22 },
Expand All @@ -61,7 +61,7 @@
"trimmed": true,
"spriteSourceSize": { "x": 11, "y": 8, "w": 13, "h": 17 },
"sourceSize": { "w": 32, "h": 32 },
"duration": 400
"duration": 600
},
"player 8.aseprite": {
"frame": { "x": 69, "y": 26, "w": 17, "h": 22 },
Expand Down
11 changes: 6 additions & 5 deletions player.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -100,15 +100,15 @@ tracks/1/keys = {
}

[sub_resource type="Animation" id="Animation_krkgp"]
length = 1.2
length = 1.6
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite:region_rect")
tracks/0/interp = 0
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.4, 0.6, 1),
"times": PackedFloat32Array(0, 0.6, 0.8, 1.4),
"transitions": PackedFloat32Array(1, 1, 1, 1),
"update": 0,
"values": [Rect2(2, 47, 17, 21), Rect2(2, 23, 17, 22), Rect2(60, 50, 17, 21), Rect2(69, 26, 17, 22)]
Expand All @@ -120,7 +120,7 @@ tracks/1/path = NodePath("Sprite:offset")
tracks/1/interp = 0
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0, 0.4, 0.6, 1),
"times": PackedFloat32Array(0, 0.6, 0.8, 1.4),
"transitions": PackedFloat32Array(1, 1, 1, 1),
"update": 0,
"values": [Vector2(1.5, 0.5), Vector2(1.5, 2), Vector2(1.5, 0.5), Vector2(1.5, 2)]
Expand Down Expand Up @@ -172,13 +172,14 @@ script = ExtResource("4_qxc6h")
max_oxygen_seconds = 10.0
oxygen_bar = NodePath("../OxygenBar")
replenish_rate = 15.0
death_buffer = 4.5

[node name="Sprite" type="Sprite2D" parent="."]
unique_name_in_owner = true
texture = ExtResource("2_7u1va")
offset = Vector2(1, 0.5)
offset = Vector2(1.5, 0.5)
region_enabled = true
region_rect = Rect2(30, 2, 20, 21)
region_rect = Rect2(41, 46, 17, 21)

[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2(0, 1.5)
Expand Down
1 change: 1 addition & 0 deletions ui.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ grow_vertical = 2
mouse_filter = 2
color = Color(0, 0, 0, 1)
script = ExtResource("1_e1oy5")
show_time = 4.0
show_curve = SubResource("Curve_74mx5")

[node name="MarginContainer" type="MarginContainer" parent="."]
Expand Down

0 comments on commit 6b50f3b

Please sign in to comment.