Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | cloa513 |
Extends Node2D
Declare member variables here. Examples:
onready var Tile=preload(“res://tile.tscn”)
var xPn:float =0.0
var yPn:float=0.0
var myObject = Tile.instance()
func addobj():
add_child(myObject)
myObject.position = Vector2(10,0)
Called when the node enters the scene tree for the first time.
Called every frame. ‘delta’ is the elapsed time since the previous frame.
#func _process(delta):