diff options
author | Daniel Weipert <git@mail.dweipert.de> | 2024-04-22 16:34:25 +0200 |
---|---|---|
committer | Daniel Weipert <git@mail.dweipert.de> | 2024-04-22 16:34:25 +0200 |
commit | c8a316e4b8987dad963656a34665fa0e23dedcb1 (patch) | |
tree | 569af4b4f37d21079b6aedfad5164e94b50b6cb8 /Scenes/Entities/Objects/Coin.tscn | |
parent | f27937e6e9b6a7146dd09fc711d2d293ecf5abbf (diff) |
update
Diffstat (limited to 'Scenes/Entities/Objects/Coin.tscn')
-rw-r--r-- | Scenes/Entities/Objects/Coin.tscn | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/Scenes/Entities/Objects/Coin.tscn b/Scenes/Entities/Objects/Coin.tscn index aacb70b..1025602 100644 --- a/Scenes/Entities/Objects/Coin.tscn +++ b/Scenes/Entities/Objects/Coin.tscn @@ -1,13 +1,14 @@ [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://5dk0c1kpvdgs" path="res://Assets/bomb_party_v4.png" id="2_0mghm"] +[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"]] -collision_layer = 8 +z_index = -1 +collision_layer = 64 collision_mask = 34 script = ExtResource("1_kjrye") @@ -15,7 +16,7 @@ script = ExtResource("1_kjrye") shape = SubResource("RectangleShape2D_rwppg") [node name="Sprite2D" type="Sprite2D" parent="."] -self_modulate = Color(1, 0, 1, 1) -texture = ExtResource("2_0mghm") +scale = Vector2(1.1, 1.1) +texture = ExtResource("2_jf7cy") region_enabled = true -region_rect = Rect2(48.8626, 208.456, 15.1374, 15.5442) +region_rect = Rect2(33.788, 376.89, 13, 13) |