Removing stray images, small cleanups.
This commit is contained in:
4
label.gd
4
label.gd
@@ -12,10 +12,8 @@ func _ready():
|
||||
n.connect("exited", Callable(self, "_on_setpiece_exited"))
|
||||
|
||||
func _on_transitioned(s):
|
||||
print ("transitioning")
|
||||
$label.hide()
|
||||
for n in get_tree().get_nodes_in_group("set-piece"):
|
||||
print(n)
|
||||
n.connect("entered", Callable(self, "_on_setpiece_entered"))
|
||||
n.connect("exited", Callable(self, "_on_setpiece_exited"))
|
||||
|
||||
@@ -71,7 +69,7 @@ func _process(delta):
|
||||
|
||||
|
||||
func _on_setpiece_entered(lab):
|
||||
print("HERE?")
|
||||
print ("ENTERED")
|
||||
$label.show()
|
||||
$label.text = lab
|
||||
|
||||
|
||||
Reference in New Issue
Block a user