Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- extends Node2D
- # member variables here, example:
- # var a=2
- # var b="textvar"
- func _ready():
- var spr = Sprite.new()
- add_child(spr)
- spr.set_texture(preload("res://icon.png"))
- pass
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement