forked from Chaitanyassr/BraveKnight--
-
Notifications
You must be signed in to change notification settings - Fork 0
/
AI.tscn
103 lines (89 loc) · 3.17 KB
/
AI.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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
[gd_scene load_steps=18 format=2]
[ext_resource path="res://AI.gd" type="Script" id=1]
[ext_resource path="res://Dead/blood_PNG6088small.png" type="Texture" id=2]
[ext_resource path="res://Area2dddD.gd" type="Script" id=3]
[ext_resource path="res://runninja/Run__000.png" type="Texture" id=4]
[ext_resource path="res://runninja/Run__001.png" type="Texture" id=5]
[ext_resource path="res://runninja/Run__002.png" type="Texture" id=6]
[ext_resource path="res://runninja/Run__003.png" type="Texture" id=7]
[ext_resource path="res://runninja/Run__004.png" type="Texture" id=8]
[ext_resource path="res://runninja/Run__005.png" type="Texture" id=9]
[ext_resource path="res://runninja/Run__006.png" type="Texture" id=10]
[ext_resource path="res://runninja/Run__007.png" type="Texture" id=11]
[ext_resource path="res://runninja/Run__008.png" type="Texture" id=12]
[ext_resource path="res://runninja/Run__009.png" type="Texture" id=13]
[sub_resource type="CapsuleShape2D" id=1]
radius = 17.5347
height = 10.6661
[sub_resource type="ParticlesMaterial" id=2]
trail_divisor = 11
emission_shape = 4
emission_point_count = 19
flag_disable_z = true
spread = 180.0
flatness = 1.0
gravity = Vector3( 0, 300, 0 )
initial_velocity = 623.66
initial_velocity_random = 1.0
angular_velocity = 15.0006
orbit_velocity = 0.0
orbit_velocity_random = 0.0
linear_accel = -17.3
[sub_resource type="CapsuleShape2D" id=3]
radius = 20.4769
height = 13.3087
[sub_resource type="SpriteFrames" id=4]
animations = [ {
"frames": [ ExtResource( 4 ), ExtResource( 5 ), ExtResource( 6 ), ExtResource( 7 ), ExtResource( 8 ), ExtResource( 9 ), ExtResource( 10 ), ExtResource( 11 ), ExtResource( 12 ), ExtResource( 13 ) ],
"loop": true,
"name": "Run",
"speed": 5.0
} ]
[node name="AI" type="KinematicBody2D"]
position = Vector2( 176.695, -53.5533 )
script = ExtResource( 1 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2( 1711.58, -323.048 )
shape = SubResource( 1 )
one_way_collision_margin = 32.3
[node name="RayCast2D" type="RayCast2D" parent="."]
position = Vector2( 1718.93, -330.992 )
enabled = true
cast_to = Vector2( 0, -30 )
[node name="RayCast2D2" type="RayCast2D" parent="."]
position = Vector2( 1704.91, -328.052 )
enabled = true
cast_to = Vector2( 0, -30 )
[node name="Particles2D3" type="Particles2D" parent="."]
visible = false
position = Vector2( 1705.84, -302.197 )
z_index = 3
amount = 5
lifetime = 7.06
one_shot = true
speed_scale = 5.0
explosiveness = 0.5
process_material = SubResource( 2 )
texture = ExtResource( 2 )
[node name="Particles2D4" type="Particles2D" parent="."]
visible = false
position = Vector2( 1707.93, -303.411 )
z_index = 3
amount = 5
lifetime = 7.06
one_shot = true
speed_scale = 5.0
explosiveness = 0.5
process_material = SubResource( 2 )
texture = ExtResource( 2 )
[node name="Area2D" type="Area2D" parent="."]
position = Vector2( -97.1669, 167.388 )
script = ExtResource( 3 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
position = Vector2( 1786.23, -460.337 )
shape = SubResource( 3 )
[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
position = Vector2( 1693.74, -306.95 )
scale = Vector2( 0.189548, 0.171936 )
frames = SubResource( 4 )
animation = "Run"