added dog distractions
This commit is contained in:
parent
4834ebdda8
commit
51af0ea751
11 changed files with 117 additions and 5 deletions
|
|
@ -1,11 +1,22 @@
|
|||
[gd_scene load_steps=2 format=3 uid="uid://ss2dg1i7j4ck"]
|
||||
[gd_scene load_steps=3 format=3 uid="uid://ss2dg1i7j4ck"]
|
||||
|
||||
[ext_resource type="Script" path="res://entities/scripts/distractor_drone.gd" id="1_vnjar"]
|
||||
|
||||
[node name="DistractorDrone" type="Node2D"]
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_bxdlt"]
|
||||
radius = 31.0161
|
||||
|
||||
[node name="DistractorDrone" type="CharacterBody2D" groups=["distractor"]]
|
||||
script = ExtResource("1_vnjar")
|
||||
|
||||
[node name="Shape2" type="CollisionShape2D" parent="."]
|
||||
shape = SubResource("CircleShape2D_bxdlt")
|
||||
|
||||
[node name="Polygon2D" type="Polygon2D" parent="."]
|
||||
position = Vector2(1, -1)
|
||||
color = Color(0.926224, 0.528901, 0.424107, 1)
|
||||
polygon = PackedVector2Array(-28, -25, 25, -28, 26, 33, -32, 19)
|
||||
|
||||
[node name="HitBox" type="Area2D" parent="."]
|
||||
|
||||
[node name="Shape" type="CollisionShape2D" parent="HitBox"]
|
||||
shape = SubResource("CircleShape2D_bxdlt")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue