1
Fork 0
mirror of https://github.com/Steffo99/looping-for-loops.git synced 2024-11-25 17:44:22 +00:00
looping-for-loops/Objects/SpecialObjects/Clock.tscn
2020-10-05 14:31:00 +02:00

37 lines
1,021 B
Text

[gd_scene load_steps=5 format=2]
[ext_resource path="res://Sprites/clock.png" type="Texture" id=1]
[ext_resource path="res://Objects/SpecialObjects/Clock.gd" type="Script" id=2]
[ext_resource path="res://Sprites/clock_lancetta.png" type="Texture" id=3]
[sub_resource type="Animation" id=1]
resource_name = "SpinCCW"
loop = true
tracks/0/type = "value"
tracks/0/path = NodePath("Sprite:rotation_degrees")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 1 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ 0.0, -360.0 ]
}
[node name="Clock" type="Node2D"]
script = ExtResource( 2 )
[node name="Sprite" type="Sprite" parent="."]
rotation = -3.50922
texture = ExtResource( 1 )
[node name="Hand" type="Sprite" parent="."]
rotation = -6.28319
texture = ExtResource( 3 )
centered = false
offset = Vector2( -5, -40 )
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
anims/SpinCCW = SubResource( 1 )