Adding initial doggo
This commit is contained in:
parent
07b63a8426
commit
136b4963ea
3 changed files with 40 additions and 6 deletions
21
entities/Dog.tscn
Normal file
21
entities/Dog.tscn
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
[gd_scene load_steps=3 format=3 uid="uid://cfhoi2rqxa3up"]
|
||||
|
||||
[ext_resource type="Script" path="res://scenes/scripts/dog.gd" id="1_26pvc"]
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_eyufl"]
|
||||
radius = 191.83
|
||||
|
||||
[node name="Dog" type="Node2D"]
|
||||
position = Vector2(-5, -1)
|
||||
script = ExtResource("1_26pvc")
|
||||
|
||||
[node name="DogGraphic" type="Polygon2D" parent="."]
|
||||
position = Vector2(4, 28)
|
||||
color = Color(0.803922, 0.407843, 0.239216, 1)
|
||||
offset = Vector2(0, -15)
|
||||
polygon = PackedVector2Array(17, -32, 57, -45, 51, 27, 29, -5, 31, 27, 15, 57, -15, 55, -29, 31, -23, -9, -51, 25, -53, -43, -17, -32)
|
||||
|
||||
[node name="DeathBox" type="Area2D" parent="."]
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="DeathBox"]
|
||||
shape = SubResource("CircleShape2D_eyufl")
|
||||
Loading…
Add table
Add a link
Reference in a new issue