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/PlayerStartMarker.gd
Executable file
8
Scripts/Parts/PlayerStartMarker.gd
Executable file
@@ -0,0 +1,8 @@
|
||||
extends Node2D
|
||||
|
||||
func _ready() -> void:
|
||||
Global.level_editor.level_start.connect(move_players)
|
||||
|
||||
func move_players() -> void:
|
||||
for i in get_tree().get_nodes_in_group("Players"):
|
||||
i.global_position = global_position
|
||||
Reference in New Issue
Block a user