-
Notifications
You must be signed in to change notification settings - Fork 1
/
Torch.tscn
43 lines (38 loc) · 1.34 KB
/
Torch.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
41
42
43
[gd_scene load_steps=8 format=2]
[ext_resource path="res://assets/light.png" type="Texture" id=1]
[ext_resource path="res://assets/torch/torch_2.png" type="Texture" id=2]
[ext_resource path="res://assets/torch/torch_3.png" type="Texture" id=3]
[ext_resource path="res://assets/torch/torch_4.png" type="Texture" id=4]
[ext_resource path="res://assets/torch/torch_1.png" type="Texture" id=5]
[ext_resource path="res://Torch.gd" type="Script" id=6]
[sub_resource type="Animation" id=1]
resource_name = "idle"
length = 0.4
loop = true
tracks/0/type = "value"
tracks/0/path = NodePath(".:texture")
tracks/0/interp = 2
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 0.1, 0.2, 0.3 ),
"transitions": PoolRealArray( 1, 1, 1, 1 ),
"update": 1,
"values": [ ExtResource( 5 ), ExtResource( 2 ), ExtResource( 3 ), ExtResource( 4 ) ]
}
[node name="Torch" type="Sprite"]
scale = Vector2( 0.5, 0.5 )
texture = ExtResource( 5 )
script = ExtResource( 6 )
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
playback_speed = 0.8
anims/idle = SubResource( 1 )
[node name="Light2D" type="Light2D" parent="."]
scale = Vector2( 0.4, 0.4 )
texture = ExtResource( 1 )
texture_scale = 0.75
color = Color( 0.992157, 0.980392, 0.207843, 1 )
shadow_enabled = true
shadow_filter = 5
shadow_filter_smooth = 1.0