first commit
This commit is contained in:
12
Wrong Way.gd
Normal file
12
Wrong Way.gd
Normal file
@@ -0,0 +1,12 @@
|
||||
extends Label
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready():
|
||||
set_visible(false)
|
||||
|
||||
func _on_TileMap_wrong_way(coords):
|
||||
if coords == Vector2(-1,-1):
|
||||
set_visible(false)
|
||||
else:
|
||||
set_visible(true)
|
||||
set_position(coords)
|
||||
Reference in New Issue
Block a user