Rotate the plompy
This commit is contained in:
parent
d19ddcb23b
commit
230242aad2
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 21 KiB |
|
@ -3,15 +3,15 @@
|
|||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://btgsbvc7gidjq"
|
||||
path="res://.godot/imported/planet.png-f5f0897f63991c459b7eb98202909edd.ctex"
|
||||
path="res://.godot/imported/planet.png-e822bf70e388ca590b75493654bc8bdc.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://planet.png"
|
||||
dest_files=["res://.godot/imported/planet.png-f5f0897f63991c459b7eb98202909edd.ctex"]
|
||||
source_file="res://planetScene/planet.png"
|
||||
dest_files=["res://.godot/imported/planet.png-e822bf70e388ca590b75493654bc8bdc.ctex"]
|
||||
|
||||
[params]
|
||||
|
11
planetScene/planet.tscn
Normal file
11
planetScene/planet.tscn
Normal file
|
@ -0,0 +1,11 @@
|
|||
[gd_scene load_steps=3 format=3 uid="uid://dh0lvt4eb1x5s"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://btgsbvc7gidjq" path="res://planetScene/planet.png" id="1_6j83a"]
|
||||
[ext_resource type="Script" uid="uid://b8kcef36xwy7k" path="res://planetScene/planet_sprite.gd" id="2_jgijx"]
|
||||
|
||||
[node name="planet" type="Node2D"]
|
||||
|
||||
[node name="planetSprite" type="Sprite2D" parent="."]
|
||||
position = Vector2(483, 276)
|
||||
texture = ExtResource("1_6j83a")
|
||||
script = ExtResource("2_jgijx")
|
11
planetScene/planet_sprite.gd
Normal file
11
planetScene/planet_sprite.gd
Normal file
|
@ -0,0 +1,11 @@
|
|||
extends Sprite2D
|
||||
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready() -> void:
|
||||
pass # Replace with function body.
|
||||
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
func _process(delta: float) -> void:
|
||||
rotate(0.01)
|
1
planetScene/planet_sprite.gd.uid
Normal file
1
planetScene/planet_sprite.gd.uid
Normal file
|
@ -0,0 +1 @@
|
|||
uid://b8kcef36xwy7k
|
Loading…
Reference in New Issue
Block a user