Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Cowe500 |
So i have this basic concept and so far i have a producer and a product. Im trying to make the producer produce the product but when it generates it’s meant to be on top of the producer but for some reason it puts it somewhere else
extends Sprite
func Produce():
var sprite = load("res://Product.tscn")
var s = sprite.instance()
add_child(s)
s.position = position
func _ready():
Produce()