Marisa Rigate's Big Commit: Disaster Averted!

This commit is contained in:
Haze Weathers 2023-12-25 01:01:59 -05:00
parent 1215099f4d
commit 263d6219cc
19 changed files with 314 additions and 95 deletions

View file

@ -9,5 +9,6 @@ func _on_ActivationArea_area_entered(area):
if area.is_in_group("player_hitbox"):
activate()
$Sprite.frame = 1
$StaticBody2D/CollisionPolygon2D.disabled = true
pressed = true
Audio.play_sound(sound,$AudioStreamPlayer)

View file

@ -8,7 +8,6 @@ extents = Vector2( 2, 0.5 )
[node name="Button" type="Node2D"]
script = ExtResource( 2 )
type = "button"
[node name="Sprite" type="Sprite" parent="."]
position = Vector2( 4, 4 )