-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDemonSummoner.tscn
55 lines (44 loc) · 2.33 KB
/
DemonSummoner.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
[gd_scene load_steps=14 format=2]
[ext_resource path="res://Assets/sprites/0x72_DungeonTilesetII_v1.3.1/frames/big_demon_idle_anim_f1.png" type="Texture" id=1]
[ext_resource path="res://Assets/sprites/0x72_DungeonTilesetII_v1.3.1/frames/big_demon_idle_anim_f2.png" type="Texture" id=2]
[ext_resource path="res://Assets/sprites/0x72_DungeonTilesetII_v1.3.1/frames/big_demon_idle_anim_f3.png" type="Texture" id=3]
[ext_resource path="res://Assets/sprites/0x72_DungeonTilesetII_v1.3.1/frames/big_demon_idle_anim_f0.png" type="Texture" id=4]
[ext_resource path="res://Assets/sprites/0x72_DungeonTilesetII_v1.3.1/frames/big_demon_run_anim_f1.png" type="Texture" id=5]
[ext_resource path="res://Assets/sprites/0x72_DungeonTilesetII_v1.3.1/frames/big_demon_run_anim_f0.png" type="Texture" id=6]
[ext_resource path="res://Assets/sprites/0x72_DungeonTilesetII_v1.3.1/frames/big_demon_run_anim_f3.png" type="Texture" id=7]
[ext_resource path="res://Assets/sprites/0x72_DungeonTilesetII_v1.3.1/frames/big_demon_run_anim_f2.png" type="Texture" id=8]
[ext_resource path="res://DemonSummoner.gd" type="Script" id=9]
[ext_resource path="res://Demon.tscn" type="PackedScene" id=10]
[sub_resource type="SpriteFrames" id=1]
animations = [ {
"frames": [ ExtResource( 4 ), ExtResource( 1 ), ExtResource( 2 ), ExtResource( 3 ), ExtResource( 6 ), ExtResource( 5 ), ExtResource( 8 ), ExtResource( 7 ) ],
"loop": true,
"name": "default",
"speed": 10.0
} ]
[sub_resource type="CircleShape2D" id=2]
[sub_resource type="CircleShape2D" id=28]
radius = 9.0
[node name="DemonSummoner" type="KinematicBody2D"]
script = ExtResource( 9 )
Demon = ExtResource( 10 )
[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
position = Vector2( 0, -18 )
frames = SubResource( 1 )
frame = 3
playing = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2( 0, -5 )
shape = SubResource( 2 )
[node name="Timer" type="Timer" parent="."]
wait_time = 4.0
autostart = true
[node name="Area2D" type="Area2D" parent="."]
position = Vector2( 0, 6 )
collision_layer = 4
collision_mask = 2
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
position = Vector2( 0, -11 )
shape = SubResource( 28 )
[connection signal="timeout" from="Timer" to="." method="_on_Timer_timeout"]
[connection signal="area_entered" from="Area2D" to="." method="_on_Area2D_area_entered"]