Adds Relay Boss
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
[gd_scene load_steps=4 format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/enemies/relay.gd" id="1_relay"]
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_body"]
|
||||
radius = 24.0
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_contact"]
|
||||
radius = 28.0
|
||||
|
||||
[node name="Relay" type="CharacterBody2D"]
|
||||
collision_layer = 8
|
||||
collision_mask = 1
|
||||
script = ExtResource("1_relay")
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
shape = SubResource("CircleShape2D_body")
|
||||
|
||||
[node name="Visual" type="Node2D" parent="."]
|
||||
|
||||
[node name="Body" type="Polygon2D" parent="Visual"]
|
||||
color = Color(0.15, 0.55, 0.65, 1)
|
||||
polygon = PackedVector2Array(0, -30, 18, 0, 0, 30, -18, 0)
|
||||
|
||||
[node name="Antenna" type="Polygon2D" parent="Visual"]
|
||||
color = Color(0.25, 0.7, 0.8, 1)
|
||||
polygon = PackedVector2Array(-3, -30, 3, -30, 3, -42, -3, -42)
|
||||
|
||||
[node name="AntennaTop" type="Polygon2D" parent="Visual"]
|
||||
color = Color(0.9, 0.95, 1.0, 1)
|
||||
polygon = PackedVector2Array(-5, -42, 5, -42, 5, -46, -5, -46)
|
||||
|
||||
[node name="ContactArea" type="Area2D" parent="."]
|
||||
collision_layer = 0
|
||||
collision_mask = 2
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="ContactArea"]
|
||||
shape = SubResource("CircleShape2D_contact")
|
||||
Reference in New Issue
Block a user