diff options
author | Daniel Weipert <git@mail.dweipert.de> | 2025-03-10 18:22:09 +0100 |
---|---|---|
committer | Daniel Weipert <git@mail.dweipert.de> | 2025-03-10 18:22:09 +0100 |
commit | 440020e642f539079867577435a9f8b02075699b (patch) | |
tree | 99acccfc1574a8ffc656d6f64ff934949edb1f52 /map/objects/stairs.tscn |
Diffstat (limited to 'map/objects/stairs.tscn')
-rw-r--r-- | map/objects/stairs.tscn | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/map/objects/stairs.tscn b/map/objects/stairs.tscn new file mode 100644 index 0000000..ba1530e --- /dev/null +++ b/map/objects/stairs.tscn @@ -0,0 +1,23 @@ +[gd_scene load_steps=6 format=3 uid="uid://c3cuwuulkgpld"] + +[ext_resource type="PackedScene" uid="uid://bw2qihhy14bxr" path="res://map/objects/door.tscn" id="1_eo2eb"] +[ext_resource type="Script" uid="uid://cthaxa2q26ia2" path="res://map/objects/stairs.gd" id="2_a67cu"] +[ext_resource type="Texture2D" uid="uid://dv8lud5b0tu3h" path="res://map/assets/tileset.png" id="2_nnfkg"] + +[sub_resource type="AtlasTexture" id="AtlasTexture_a67cu"] +atlas = ExtResource("2_nnfkg") +region = Rect2(144, 32, 16, 16) + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_eo2eb"] +size = Vector2(10, 14) + +[node name="Stairs" instance=ExtResource("1_eo2eb")] +script = ExtResource("2_a67cu") +invert_direction = true + +[node name="Sprite2D" parent="." index="0"] +texture = SubResource("AtlasTexture_a67cu") + +[node name="CollisionShape2D" parent="." index="1"] +position = Vector2(-2, 0) +shape = SubResource("RectangleShape2D_eo2eb") |