25 lines
691 B
Plaintext
25 lines
691 B
Plaintext
[gd_scene load_steps=4 format=3 uid="uid://c7ir6imnqx4py"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://i7fjjduk8b0c" path="res://textures/world/biome/forest/tree.svg" id="1_nvko3"]
|
|
|
|
[sub_resource type="GDScript" id="GDScript_d7f4g"]
|
|
script/source = "extends StaticBody2D
|
|
|
|
|
|
var type = \"resource\"
|
|
var resource_type = \"wood\"
|
|
"
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_fb1fv"]
|
|
radius = 32.0
|
|
|
|
[node name="tree" type="StaticBody2D"]
|
|
script = SubResource("GDScript_d7f4g")
|
|
|
|
[node name="collision" type="CollisionShape2D" parent="."]
|
|
shape = SubResource("CircleShape2D_fb1fv")
|
|
|
|
[node name="body" type="Sprite2D" parent="."]
|
|
scale = Vector2(0.2, 0.2)
|
|
texture = ExtResource("1_nvko3")
|