cleans code. adds sign for wrong way

This commit is contained in:
2020-11-06 21:26:56 +01:00
parent a8280df733
commit d439d67813
7 changed files with 251 additions and 89 deletions

View File

@@ -1,4 +1,4 @@
extends Label
extends TextureRect
# Called when the node enters the scene tree for the first time.
func _ready():
@@ -10,4 +10,4 @@ func _on_RaceTrack_wrong_way(coords):
set_visible(false)
else:
set_visible(true)
set_position(coords)
set_position(Vector2(coords.x + 32, coords.y + 32))