diff options
author | Logan <logan@cflip.net> | 2022-09-22 23:56:05 -0600 |
---|---|---|
committer | Logan <logan@cflip.net> | 2022-09-22 23:56:05 -0600 |
commit | 30d0d19465186b847b7d440b4ff35effd7999030 (patch) | |
tree | 2e8c8212465b2c05a81f4b7795a35391c30c2241 /Sprite.gd |
Add initial project files & resources.
Diffstat (limited to 'Sprite.gd')
-rw-r--r-- | Sprite.gd | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Sprite.gd b/Sprite.gd new file mode 100644 index 0000000..c55df61 --- /dev/null +++ b/Sprite.gd @@ -0,0 +1,12 @@ +extends Sprite + +var angular_speed = PI + +# Called when the node enters the scene tree for the first time. +func _ready(): + pass # Replace with function body. + +# Called every frame. 'delta' is the elapsed time since the previous frame. +func _process(delta): + rotation += angular_speed * delta + |