the-crypt/ai/Hell.tscn

61 lines
1.7 KiB
Plaintext
Raw Normal View History

2020-07-21 14:50:04 -05:00
[gd_scene load_steps=7 format=2]
2020-07-19 17:19:31 -05:00
[ext_resource path="res://art/Hell Dude.png" type="Texture" id=1]
[ext_resource path="res://ai/Hell.gd" type="Script" id=2]
2020-07-21 14:50:04 -05:00
[ext_resource path="res://Music and Fonts(Misc.)/Hell Hit.tres" type="Animation" id=3]
[ext_resource path="res://Music and Fonts(Misc.)/Ogre Hit.tres" type="Animation" id=4]
2020-07-19 17:19:31 -05:00
2020-07-20 23:24:09 -05:00
[sub_resource type="RectangleShape2D" id=1]
2020-07-19 17:19:31 -05:00
extents = Vector2( 5.06709, 5.78183 )
2020-07-20 23:24:09 -05:00
[sub_resource type="Animation" id=2]
2020-07-21 15:20:55 -05:00
length = 0.6
2020-07-19 17:19:31 -05:00
loop = true
tracks/0/type = "value"
tracks/0/path = NodePath("Hell:frame")
tracks/0/interp = 1
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, 0.4, 0.5, 0.6 ),
"transitions": PoolRealArray( 1, 1, 1, 1, 1, 1, 1 ),
"update": 1,
"values": [ 1, 2, 3, 4, 5, 6, 7 ]
}
[node name="KinematicBody2D" type="KinematicBody2D"]
collision_layer = 4
2020-07-19 19:57:06 -05:00
collision_mask = 11
2020-07-19 17:19:31 -05:00
script = ExtResource( 2 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
2020-07-21 15:20:55 -05:00
position = Vector2( 0, 1.87833 )
2020-07-20 23:24:09 -05:00
shape = SubResource( 1 )
2020-07-19 17:19:31 -05:00
[node name="Hell" type="Sprite" parent="."]
2020-07-21 15:20:55 -05:00
position = Vector2( -7.56425, -7.87261 )
2020-07-19 17:19:31 -05:00
texture = ExtResource( 1 )
centered = false
hframes = 8
2020-07-21 14:50:04 -05:00
frame = 2
2020-07-19 17:19:31 -05:00
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
autoplay = "Devil"
2020-07-20 23:24:09 -05:00
anims/Devil = SubResource( 2 )
2020-07-19 17:19:31 -05:00
2020-07-21 14:50:04 -05:00
[node name="AnimationPlayer2" type="AnimationPlayer" parent="."]
"anims/Hell Hit" = ExtResource( 3 )
anims/Hit = ExtResource( 4 )
2020-07-19 17:19:31 -05:00
[node name="ShootDelay" type="Timer" parent="."]
2020-07-20 23:24:09 -05:00
wait_time = 2.0
one_shot = true
2020-07-19 17:19:31 -05:00
[node name="Position2D" type="Position2D" parent="."]
2020-07-20 23:24:09 -05:00
[node name="PlayerRaycast" type="RayCast2D" parent="."]
modulate = Color( 0.615686, 1, 0, 1 )
enabled = true
collision_mask = 3