33 lines
649 B
Plaintext
33 lines
649 B
Plaintext
[gd_scene load_steps=3 format=2]
|
|
|
|
[ext_resource path="res://julian.png" type="Texture" id=1]
|
|
|
|
[sub_resource type="GDScript" id=1]
|
|
script/source = "extends Sprite
|
|
|
|
|
|
# Declare member variables here. Examples:
|
|
# var a = 2
|
|
# var b = \"text\"
|
|
|
|
|
|
# Called when the node enters the scene tree for the first time.
|
|
func _ready():
|
|
pass # Replace with function body.
|
|
|
|
|
|
var rot_speed = 1
|
|
|
|
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
|
func _process(delta):
|
|
print(\"julian\")
|
|
rotation = 0.5
|
|
rot_speed *= 1.01
|
|
|
|
"
|
|
|
|
[node name="Julian" type="Sprite"]
|
|
position = Vector2( -1, 1 )
|
|
texture = ExtResource( 1 )
|
|
script = SubResource( 1 )
|