-
Notifications
You must be signed in to change notification settings - Fork 1
/
Torch.tscn
59 lines (43 loc) · 1.85 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
[gd_scene load_steps=13 format=2]
[ext_resource path="res://KinematicBody2D.gd" type="Script" id=1]
[ext_resource path="res://assets/torch/tile000.png" type="Texture" id=2]
[ext_resource path="res://assets/torch/tile001.png" type="Texture" id=3]
[ext_resource path="res://assets/torch/tile002.png" type="Texture" id=4]
[ext_resource path="res://assets/torch/tile003.png" type="Texture" id=5]
[ext_resource path="res://assets/torch/tile004.png" type="Texture" id=6]
[ext_resource path="res://assets/torch/tile005.png" type="Texture" id=7]
[ext_resource path="res://assets/torch/tile006.png" type="Texture" id=8]
[ext_resource path="res://assets/torch/tile007.png" type="Texture" id=9]
[ext_resource path="res://assets/torch/tile008.png" type="Texture" id=10]
[sub_resource type="RectangleShape2D" id=1]
custom_solver_bias = 0.0
extents = Vector2( 10, 29.5372 )
[sub_resource type="SpriteFrames" id=2]
animations = [ {
"frames": [ ExtResource( 2 ), ExtResource( 3 ), ExtResource( 4 ), ExtResource( 5 ), ExtResource( 6 ), ExtResource( 7 ), ExtResource( 8 ), ExtResource( 9 ), ExtResource( 10 ) ],
"loop": true,
"name": "default",
"speed": 5.0
} ]
[node name="KinematicBody2D" type="KinematicBody2D"]
editor/display_folded = true
input_pickable = false
collision_layer = 1
collision_mask = 1
collision/safe_margin = 0.08
script = ExtResource( 1 )
[node name="Area2D" type="Area2D" parent="." index="0"]
input_pickable = true
gravity_vec = Vector2( 0, 1 )
gravity = 98.0
linear_damp = 0.1
angular_damp = 1.0
audio_bus_override = false
audio_bus_name = "Master"
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D" index="0"]
shape = SubResource( 1 )
[node name="Sprite" type="AnimatedSprite" parent="." index="1"]
frames = SubResource( 2 )
animation = "default"
playing = true
[connection signal="body_entered" from="Area2D" to="." method="_on_Area2D_body_entered"]