[gd_scene load_steps=5 format=2] [ext_resource path="res://art/Hell Dude.png" type="Texture" id=1] [ext_resource path="res://ai/Hell.gd" type="Script" id=2] [sub_resource type="RectangleShape2D" id=2] extents = Vector2( 5.06709, 5.78183 ) [sub_resource type="Animation" id=1] resource_name = "Devil" length = 0.6 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 collision_mask = 11 script = ExtResource( 2 ) [node name="CollisionShape2D" type="CollisionShape2D" parent="."] position = Vector2( 0, 1.87833 ) shape = SubResource( 2 ) [node name="RayCast2D" type="RayCast2D" parent="."] position = Vector2( 0, 1.87833 ) enabled = true cast_to = Vector2( -80, 0 ) collision_mask = 3 [node name="RayCast2D2" type="RayCast2D" parent="."] position = Vector2( 0, 1.87833 ) enabled = true cast_to = Vector2( 80, 0 ) collision_mask = 3 [node name="RayCast2D3" type="RayCast2D" parent="."] position = Vector2( 0, 1.87833 ) enabled = true cast_to = Vector2( 80, -25 ) collision_mask = 3 [node name="RayCast2D4" type="RayCast2D" parent="."] position = Vector2( 0, 1.87833 ) enabled = true cast_to = Vector2( -80, -25 ) collision_mask = 3 [node name="Hell" type="Sprite" parent="."] position = Vector2( -7.56425, -7.87261 ) texture = ExtResource( 1 ) centered = false hframes = 8 frame = 4 [node name="AnimationPlayer" type="AnimationPlayer" parent="."] autoplay = "Devil" anims/Devil = SubResource( 1 ) [node name="ShootDelay" type="Timer" parent="."] wait_time = 1.239 [node name="Position2D" type="Position2D" parent="."]