summaryrefslogtreecommitdiff
path: root/Scenes/Entities/Objects/Coin.tscn
blob: 887ef0c3c30e7bdb5cfd820d8a787bdf4ea8f13e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
[gd_scene load_steps=4 format=3 uid="uid://cl7jri45a43t0"]

[ext_resource type="Script" path="res://Scenes/Entities/Objects/Coin.gd" id="1_kjrye"]
[ext_resource type="Texture2D" uid="uid://b6ce2eihxulqb" path="res://Assets/Stages/core_set pieces.png" id="2_jf7cy"]

[sub_resource type="RectangleShape2D" id="RectangleShape2D_rwppg"]
size = Vector2(16, 16)

[node name="Coin" type="StaticBody2D" groups=["breakables"]]
z_index = -1
collision_layer = 64
collision_mask = 34
script = ExtResource("1_kjrye")

[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("RectangleShape2D_rwppg")

[node name="Sprite2D" type="Sprite2D" parent="."]
texture_filter = 1
scale = Vector2(1.1, 1.1)
texture = ExtResource("2_jf7cy")
region_enabled = true
region_rect = Rect2(33.788, 376.89, 13, 13)