removed debug stuff

This commit is contained in:
Florian 2025-09-18 20:16:53 +02:00
parent 58bed67228
commit 0b843960c4
2 changed files with 1 additions and 5 deletions

View file

@ -19,7 +19,7 @@ unique_name_in_owner = true
[node name="Player" parent="." instance=ExtResource("2_1bvp3")]
unique_name_in_owner = true
position = Vector2(709, 2980)
position = Vector2(709, -2980)
scale = Vector2(3, 3)
[node name="Camera2D" type="Camera2D" parent="Player"]

View file

@ -88,7 +88,6 @@ func update_shader():
tsunami_size = tsunami_size
func _ready() -> void:
print("ready")
print(name)
update_shader()
radius_base = rise_from
@ -127,15 +126,12 @@ func create_tsunami(angle : float, dir : int):
$Tsunami.play("tsunami")
func rise_water():
print("ho")
auto_rise = false
$ParticleContainer.scale = Vector2.ONE * radius/3000
var pos = player.position
var angle = atan2(pos.y, pos.x)
$ParticleContainer.rotation = angle + PI/2
$WaterRise.play("water_rise")
await $WaterRise.animation_finished
radius_base = radius_base + animation_height
print("hi")
animation_height = 0