Optimized scene tree and debugged some area detection

This commit is contained in:
VoidTwo
2021-11-30 23:06:42 -06:00
parent 34f7407d6a
commit 34d4e0454e
27 changed files with 380 additions and 481 deletions

17
Levels/Objects/Tree.tscn Normal file
View File

@@ -0,0 +1,17 @@
[gd_scene load_steps=3 format=2]
[ext_resource path="res://Sprites/Assets/forestTreeBig.png" type="Texture" id=1]
[sub_resource type="CapsuleShape2D" id=1]
radius = 5.0
height = 9.0
[node name="Tree" type="StaticBody2D"]
[node name="Sprite" type="Sprite" parent="."]
texture = ExtResource( 1 )
offset = Vector2( 0, -5 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
rotation = 1.5708
shape = SubResource( 1 )