designed map
This commit is contained in:
16
scene/chest.tscn
Normal file
16
scene/chest.tscn
Normal file
@@ -0,0 +1,16 @@
|
||||
[gd_scene load_steps=4 format=3 uid="uid://c267u62jmp3dq"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://b0h7llq1qb706" path="res://assets/chest.png" id="1_dmyxo"]
|
||||
[ext_resource type="Script" path="res://scripts/chest.gd" id="1_nilcj"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_miucj"]
|
||||
size = Vector2(14, 14)
|
||||
|
||||
[node name="Chest" type="StaticBody2D"]
|
||||
script = ExtResource("1_nilcj")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
texture = ExtResource("1_dmyxo")
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
shape = SubResource("RectangleShape2D_miucj")
|
||||
Reference in New Issue
Block a user