From 722f600b201faa745fac8406ad74d932ba26f7f3 Mon Sep 17 00:00:00 2001 From: debugman18 Date: Sun, 18 Oct 2026 21:03:50 -0500 Subject: [PATCH] Level stuff --- player_2d.gd | 3 ++- project.godot | 17 +++++++++++++++++ world.tscn | 2 +- 3 files changed, 20 insertions(+), 2 deletions(-) diff --git a/player_2d.gd b/player_2d.gd index 382d9e7..6f411d2 100644 --- a/player_2d.gd +++ b/player_2d.gd @@ -123,7 +123,8 @@ func on_death(instant = false, player_position = position): #position = %LevelStart.position velocity = Vector2(0,0) - position = spawn_point + Vector2(0,-100) + var fall_offset = Vector2(0,-100) + position = spawn_point# + fall_offset await get_tree().create_timer(0.1).timeout death_cooldown = 0 diff --git a/project.godot b/project.godot index 214ce8e..086a5ff 100644 --- a/project.godot +++ b/project.godot @@ -206,6 +206,23 @@ dash={ "location": 0, "echo": false, "script": null +), Object(InputEventKey, +"resource_local_to_scene": false, +"resource_name": "", +"device": -1, +"window_id": 0, +"alt_pressed": false, +"shift_pressed": true, +"ctrl_pressed": false, +"meta_pressed": false, +"pressed": false, +"keycode": 0, +"physical_keycode": 4194325, +"key_label": 0, +"unicode": 0, +"location": 0, +"echo": false, +"script": null )] } dash_down={ diff --git a/world.tscn b/world.tscn index 3a36d98..2ae82bd 100644 --- a/world.tscn +++ b/world.tscn @@ -2436,7 +2436,7 @@ position = Vector2(9468, -1299.7467) position = Vector2(9385, -1243.6213) [node name="Spike12" parent="." unique_id=1044461511 instance=ExtResource("27_4h6ng")] -position = Vector2(9533, -1243.6213) +position = Vector2(9459, -1243.6213) [node name="Spike13" parent="." unique_id=840093208 instance=ExtResource("27_4h6ng")] position = Vector2(9459, -1283.0076)