finished belts. Some random errors in corners...
This commit is contained in:
+4
-3
@@ -2,13 +2,14 @@ extends Sprite2D
|
||||
|
||||
var output_value: int
|
||||
|
||||
func setup(output_value):
|
||||
func setup(out_value):
|
||||
$tooltip.hide()
|
||||
print("Producer spawned physically with a value of: ", output_value)
|
||||
$text_value.text = str(output_value)
|
||||
print("Producer spawned physically with a value of: ", out_value)
|
||||
$text_value.text = str(out_value)
|
||||
$tooltip.text = "Placed at: (%s, %s)" % [self.global_position[0], self.global_position[1]]
|
||||
print($tooltip.size )
|
||||
$tooltip.size = Vector2i(100, 100)
|
||||
output_value = out_value
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready() -> void:
|
||||
|
||||
Reference in New Issue
Block a user