mirror of
https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public.git
synced 2025-10-22 23:48:11 +00:00
added the game
This commit is contained in:
8
Scripts/Parts/PickAPathPoint.gd
Normal file
8
Scripts/Parts/PickAPathPoint.gd
Normal file
@@ -0,0 +1,8 @@
|
||||
class_name PickAPathPoint
|
||||
extends Node2D
|
||||
|
||||
var crossed := false
|
||||
|
||||
func on_player_entered(_player: Player) -> void:
|
||||
crossed = true
|
||||
AudioManager.play_global_sfx("correct")
|
Reference in New Issue
Block a user