initial commit

This commit is contained in:
Ultrablob 2024-04-16 20:29:45 -04:00
commit e446938ba7
74 changed files with 3212 additions and 0 deletions

11
CollisionCheck.gd Normal file
View file

@ -0,0 +1,11 @@
extends ShapeCast2D
func is_clear(area: Vector2):
position = area
force_shapecast_update()
return get_collision_count() == 0
func flash():
$Sprite2D.visible = true
await get_tree().create_timer(0.2).timeout # waits for .2 seconds
$Sprite2D.visible = false