From 516d22c1737a9c94026b5ff0c9856bc5549aa416 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Fri, 3 May 2024 09:32:22 +0200 Subject: update --- Scenes/Entities/Objects/Wood.tscn | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Scenes/Entities/Objects/Wood.tscn (limited to 'Scenes/Entities/Objects/Wood.tscn') diff --git a/Scenes/Entities/Objects/Wood.tscn b/Scenes/Entities/Objects/Wood.tscn new file mode 100644 index 0000000..23ba656 --- /dev/null +++ b/Scenes/Entities/Objects/Wood.tscn @@ -0,0 +1,22 @@ +[gd_scene load_steps=3 format=3 uid="uid://b2xpm8k3chbae"] + +[ext_resource type="Texture2D" uid="uid://cctukh2hhfgty" path="res://Assets/Stages/core_outdoor_nature.png" id="1_khy0w"] + +[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_1je2f"] +radius = 7.0 +height = 60.0 + +[node name="Wood" type="StaticBody2D"] +z_index = -1 +y_sort_enabled = true +collision_layer = 8 +collision_mask = 30 + +[node name="Sprite2D" type="Sprite2D" parent="."] +texture_filter = 1 +texture = ExtResource("1_khy0w") +region_enabled = true +region_rect = Rect2(912, 0, 16, 64) + +[node name="CollisionShape2D" type="CollisionShape2D" parent="."] +shape = SubResource("CapsuleShape2D_1je2f") -- cgit v1.2.3