From f27937e6e9b6a7146dd09fc711d2d293ecf5abbf Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Sun, 14 Apr 2024 21:49:20 +0200 Subject: update --- Scenes/Entities/Objects/Sign.tscn | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Scenes/Entities/Objects/Sign.tscn (limited to 'Scenes/Entities/Objects/Sign.tscn') diff --git a/Scenes/Entities/Objects/Sign.tscn b/Scenes/Entities/Objects/Sign.tscn new file mode 100644 index 0000000..847b768 --- /dev/null +++ b/Scenes/Entities/Objects/Sign.tscn @@ -0,0 +1,21 @@ +[gd_scene load_steps=4 format=3 uid="uid://gvsyy1b1pq53"] + +[ext_resource type="Script" path="res://Scenes/Entities/Objects/Sign.gd" id="1_gowid"] +[ext_resource type="Texture2D" uid="uid://b6ce2eihxulqb" path="res://Assets/Stages/core_set pieces.png" id="2_us5wr"] + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_5hdba"] +size = Vector2(14, 17) + +[node name="Sign" type="StaticBody2D"] +collision_layer = 8 +collision_mask = 6 +script = ExtResource("1_gowid") + +[node name="CollisionShape2D" type="CollisionShape2D" parent="."] +position = Vector2(0, 0.5) +shape = SubResource("RectangleShape2D_5hdba") + +[node name="Sprite2D" type="Sprite2D" parent="."] +texture = ExtResource("2_us5wr") +region_enabled = true +region_rect = Rect2(208.674, 94.2419, 14.7292, 17.7021) -- cgit v1.2.3