1
Fork 0
mirror of https://github.com/Steffo99/looping-for-loops.git synced 2024-11-24 17:14:22 +00:00
looping-for-loops/Objects/SpecialObjects/Clock.tscn

39 lines
1 KiB
Text
Raw Normal View History

2020-10-05 12:31:00 +00:00
[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"]
z_index = 5
2020-10-05 12:31:00 +00:00
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 )