Started working on a floaty field

This commit is contained in:
2026-01-27 19:15:00 +11:00
parent 8cf357ca68
commit ab0f5efa30
12 changed files with 146 additions and 24 deletions

10
platforms/floaty.gd Normal file
View File

@@ -0,0 +1,10 @@
extends Area2D
func _on_body_entered(body) -> void:
#print("collision")
if body is BoxBoy:
body.enable_float()
func _on_body_exited(body) -> void:
if body is BoxBoy:
body.disable_float()