Background character and enemy
This commit is contained in:
18
scenes/chest.tscn
Normal file
18
scenes/chest.tscn
Normal file
@ -0,0 +1,18 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://d65w0p8s6dv4"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://cxnqvliar8e6v" path="res://sprites/objects/chest_01.png" id="1_pwf4c"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_j04xx"]
|
||||
size = Vector2(14, 12.5)
|
||||
|
||||
[node name="Chest" type="StaticBody2D"]
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
position = Vector2(0, -6)
|
||||
texture = ExtResource("1_pwf4c")
|
||||
region_enabled = true
|
||||
region_rect = Rect2(0, 0, 15.8215, 16)
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
position = Vector2(0, -6)
|
||||
shape = SubResource("RectangleShape2D_j04xx")
|
Reference in New Issue
Block a user