-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAnimatedBorder.tscn
40 lines (35 loc) · 1.3 KB
/
AnimatedBorder.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
[gd_scene load_steps=5 format=2]
[ext_resource path="res://Sprites/selection_sprite.png" type="Texture" id=1]
[ext_resource path="res://Scripts/AnimatedBorder.gd" type="Script" id=2]
[ext_resource path="res://Sprites/tile.png" type="Texture" id=3]
[sub_resource type="Animation" id=1]
resource_name = "RotatingBorder"
length = 3.0
loop = true
tracks/0/type = "value"
tracks/0/path = NodePath(".:texture_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, 3 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ 0.0, 360.0 ]
}
[node name="AnimatedBorder" type="Polygon2D"]
rotation = -6.28319
antialiased = true
texture = ExtResource( 1 )
texture_offset = Vector2( 32, 32 )
polygon = PoolVector2Array( 0.000116126, -26, 8.93276e-05, -20, -16, -10.0001, -16, 8.99993, -8.48612e-05, 19, 17, 9.00008, 17, -9.99992, 8.93276e-05, -20, 0.000116126, -26, 22.0001, -12.9999, 21.9999, 12.0001, -0.000111659, 25, -21.0001, 11.9999, -20.9999, -13.0001 )
script = ExtResource( 2 )
__meta__ = {
"_edit_group_": true
}
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
anims/RotatingBorder = SubResource( 1 )
[node name="TilePreview" type="Sprite" parent="."]
visible = false
texture = ExtResource( 3 )