Heck yeah, you punch those trees, Gary!

This commit is contained in:
2025-10-31 21:10:55 +11:00
commit ee8deac651
27 changed files with 382 additions and 0 deletions

21
tree/small_tree.tscn Normal file
View File

@@ -0,0 +1,21 @@
[gd_scene load_steps=4 format=3 uid="uid://d2re5mee0xayj"]
[ext_resource type="Texture2D" uid="uid://bfyw8l1ubdnsj" path="res://tree/small_tree.png" id="1_1ao6o"]
[ext_resource type="Script" uid="uid://clxosihgty8t5" path="res://tree/small_tree.gd" id="1_brd4x"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_vb5bs"]
size = Vector2(32, 32)
[node name="Tree" type="Area2D"]
script = ExtResource("1_brd4x")
[node name="Sprite2D" type="Sprite2D" parent="."]
texture = ExtResource("1_1ao6o")
offset = Vector2(16, 16)
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
visible = false
position = Vector2(16, 16)
shape = SubResource("RectangleShape2D_vb5bs")
[connection signal="body_entered" from="." to="." method="_on_body_entered"]