-
Notifications
You must be signed in to change notification settings - Fork 1
/
Wolf.tscn
77 lines (56 loc) · 2.3 KB
/
Wolf.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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
[gd_scene load_steps=15 format=2]
[ext_resource path="res://Wolf.gd" type="Script" id=1]
[ext_resource path="res://assets/wolf/tile018.png" type="Texture" id=2]
[ext_resource path="res://assets/wolf/tile000.png" type="Texture" id=3]
[ext_resource path="res://assets/wolf/tile001.png" type="Texture" id=4]
[ext_resource path="res://assets/wolf/tile002.png" type="Texture" id=5]
[ext_resource path="res://assets/wolf/tile003.png" type="Texture" id=6]
[ext_resource path="res://assets/wolf/tile004.png" type="Texture" id=7]
[ext_resource path="res://assets/wolf/tile006.png" type="Texture" id=8]
[ext_resource path="res://assets/wolf/tile007.png" type="Texture" id=9]
[ext_resource path="res://assets/wolf/tile010.png" type="Texture" id=10]
[ext_resource path="res://assets/wolf/tile011.png" type="Texture" id=11]
[sub_resource type="SpriteFrames" id=1]
animations = [ {
"frames": [ ExtResource( 2 ) ],
"loop": true,
"name": "idle",
"speed": 5.0
}, {
"frames": [ ExtResource( 3 ), ExtResource( 4 ), ExtResource( 5 ), ExtResource( 6 ), ExtResource( 7 ), ExtResource( 8 ), ExtResource( 9 ), ExtResource( 10 ), ExtResource( 11 ) ],
"loop": true,
"name": "run",
"speed": 5.0
} ]
[sub_resource type="RectangleShape2D" id=2]
custom_solver_bias = 0.0
extents = Vector2( 30.6058, 14.2478 )
[sub_resource type="CircleShape2D" id=3]
custom_solver_bias = 0.0
radius = 165.823
[node name="Node2D" type="KinematicBody2D"]
input_pickable = false
collision_layer = 1
collision_mask = 1
collision/safe_margin = 0.08
script = ExtResource( 1 )
_sections_unfolded = [ "Collision", "Pickable", "collision" ]
[node name="Sprite" type="AnimatedSprite" parent="." index="0"]
frames = SubResource( 1 )
animation = "idle"
playing = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="." index="1"]
position = Vector2( 0, 0.233661 )
shape = SubResource( 2 )
[node name="Area2D" type="Area2D" parent="." index="2"]
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( 3 )
[connection signal="body_entered" from="Area2D" to="." method="_on_Area2D_body_entered"]
[connection signal="body_exited" from="Area2D" to="." method="_on_Area2D_body_exited"]