1
Fork 0
mirror of https://github.com/Steffo99/swear-jar.git synced 2024-11-25 17:14:20 +00:00

coin copper is son of

This commit is contained in:
Matteo Balugani 2023-09-30 20:36:43 +02:00
parent 49b1baaeae
commit 8b3570b780

View file

@ -1,6 +1,6 @@
[gd_scene load_steps=5 format=3 uid="uid://c3kitncwpi42j"] [gd_scene load_steps=5 format=3 uid="uid://c3kitncwpi42j"]
[ext_resource type="PhysicsMaterial" path="res://entity/coin.tres" id="1_1merf"] [ext_resource type="PhysicsMaterial" uid="uid://wjrjkmxp41dt" path="res://entity/coin.tres" id="1_1merf"]
[ext_resource type="Texture2D" uid="uid://dbdkb4vt7dh85" path="res://entity/coin_copper_4.png" id="1_wedw1"] [ext_resource type="Texture2D" uid="uid://dbdkb4vt7dh85" path="res://entity/coin_copper_4.png" id="1_wedw1"]
[ext_resource type="Texture2D" uid="uid://2vtvoj6ua3cb" path="res://entity/coin_copper_outline_2.png" id="2_2ifq3"] [ext_resource type="Texture2D" uid="uid://2vtvoj6ua3cb" path="res://entity/coin_copper_outline_2.png" id="2_2ifq3"]
@ -10,19 +10,22 @@ size = Vector2(14, 3)
[node name="CoinCopper" type="RigidBody2D"] [node name="CoinCopper" type="RigidBody2D"]
collision_layer = 5 collision_layer = 5
collision_mask = 7 collision_mask = 7
center_of_mass_mode = 1
center_of_mass = Vector2(10, 0)
physics_material_override = ExtResource("1_1merf") physics_material_override = ExtResource("1_1merf")
continuous_cd = 1 continuous_cd = 1
linear_damp = 0.1 linear_damp = 0.1
angular_damp = 0.1 angular_damp = 0.1
[node name="Outline" type="Sprite2D" parent="."] [node name="CollisionShape2D" type="CollisionShape2D" parent="."]
z_index = -10 scale = Vector2(2, 2)
texture_filter = 1 shape = SubResource("RectangleShape2D_c6byl")
texture = ExtResource("2_2ifq3")
[node name="Sprite" type="Sprite2D" parent="."] [node name="Sprite" type="Sprite2D" parent="CollisionShape2D"]
texture_filter = 1 texture_filter = 1
texture = ExtResource("1_wedw1") texture = ExtResource("1_wedw1")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."] [node name="Outline" type="Sprite2D" parent="CollisionShape2D"]
shape = SubResource("RectangleShape2D_c6byl") z_index = -10
texture_filter = 1
texture = ExtResource("2_2ifq3")