Moved godot files into a directory to keep things clean
This commit is contained in:
21
project/small_tree/small_tree.tscn
Normal file
21
project/small_tree/small_tree.tscn
Normal file
@@ -0,0 +1,21 @@
|
||||
[gd_scene load_steps=4 format=3 uid="uid://d2re5mee0xayj"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://bfyw8l1ubdnsj" path="res://small_tree/small_tree.png" id="1_1ao6o"]
|
||||
[ext_resource type="Script" uid="uid://clxosihgty8t5" path="res://small_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"]
|
||||
Reference in New Issue
Block a user