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
[gd_scene load_steps=4 format=2] [ext_resource path="res://enemy/scenes/Enemy.tscn" type="PackedScene" id=1] [ext_resource path="res://enemy/scripts/Boss.gd" type="Script" id=2] [sub_resource type="RectangleShape2D" id=1] resource_local_to_scene = true extents = Vector2( 4.5, 4.5 ) [node name="squid" instance=ExtResource( 1 )] script = ExtResource( 2 ) drop_power_up = true ARMOR = 75 score_on_kill = 200 SPEED = 10 shootspeed = 0.2 stop_pos = Vector2( 100, 0 ) [node name="Sprite" parent="." index="0"] rotation = 1.5708 animation = "New Anim 2" [node name="CollisionShape2D" parent="." index="1"] position = Vector2( -0.5, 0 ) shape = SubResource( 1 ) [node name="Timer" parent="." index="3"] wait_time = 2.0