diff options
author | Daniel Weipert <code@drogueronin.de> | 2023-08-10 11:48:05 +0200 |
---|---|---|
committer | Daniel Weipert <code@drogueronin.de> | 2023-08-10 11:48:05 +0200 |
commit | 46556d864b9685c3b09a0038f5de83966fe7ff94 (patch) | |
tree | c68082eacd35559e14565d1598dd694972fb8e0e /Scenes/Entities/Objects/Coin.tscn |
Initial commit
Diffstat (limited to 'Scenes/Entities/Objects/Coin.tscn')
-rw-r--r-- | Scenes/Entities/Objects/Coin.tscn | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Scenes/Entities/Objects/Coin.tscn b/Scenes/Entities/Objects/Coin.tscn new file mode 100644 index 0000000..aacb70b --- /dev/null +++ b/Scenes/Entities/Objects/Coin.tscn @@ -0,0 +1,21 @@ +[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"] + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_rwppg"] +size = Vector2(16, 16) + +[node name="Coin" type="StaticBody2D" groups=["breakables"]] +collision_layer = 8 +collision_mask = 34 +script = ExtResource("1_kjrye") + +[node name="CollisionShape2D" type="CollisionShape2D" parent="."] +shape = SubResource("RectangleShape2D_rwppg") + +[node name="Sprite2D" type="Sprite2D" parent="."] +self_modulate = Color(1, 0, 1, 1) +texture = ExtResource("2_0mghm") +region_enabled = true +region_rect = Rect2(48.8626, 208.456, 15.1374, 15.5442) |