mirror of
https://github.com/Steffo99/swear-jar.git
synced 2024-11-25 09:04:19 +00:00
Restore copper coin properties
This commit is contained in:
parent
61ac659945
commit
e546580176
1 changed files with 3 additions and 7 deletions
|
@ -1,13 +1,12 @@
|
||||||
[gd_scene load_steps=7 format=3 uid="uid://c3kitncwpi42j"]
|
[gd_scene load_steps=6 format=3 uid="uid://c3kitncwpi42j"]
|
||||||
|
|
||||||
[ext_resource type="PhysicsMaterial" uid="uid://c6kn1an85lccr" path="res://entity/coin_physics_material.tres" id="1_8k46m"]
|
[ext_resource type="PhysicsMaterial" uid="uid://c6kn1an85lccr" path="res://entity/coin_physics_material.tres" id="1_8k46m"]
|
||||||
[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"]
|
||||||
[ext_resource type="PackedScene" uid="uid://bk1vvq5rug01m" path="res://collector/collectible.tscn" id="4_yefrx"]
|
[ext_resource type="PackedScene" uid="uid://bk1vvq5rug01m" path="res://collector/collectible.tscn" id="4_yefrx"]
|
||||||
[ext_resource type="PackedScene" uid="uid://ujpra0s1kpqi" path="res://value/valuable.tscn" id="5_jdvvd"]
|
|
||||||
|
|
||||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_c6byl"]
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_c6byl"]
|
||||||
size = Vector2(16, 5)
|
size = Vector2(14, 3)
|
||||||
|
|
||||||
[node name="CoinCopper" type="RigidBody2D"]
|
[node name="CoinCopper" type="RigidBody2D"]
|
||||||
collision_layer = 5
|
collision_layer = 5
|
||||||
|
@ -19,7 +18,7 @@ linear_damp = 0.1
|
||||||
angular_damp = 0.1
|
angular_damp = 0.1
|
||||||
|
|
||||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||||
scale = Vector2(3, 3)
|
scale = Vector2(2, 2)
|
||||||
shape = SubResource("RectangleShape2D_c6byl")
|
shape = SubResource("RectangleShape2D_c6byl")
|
||||||
|
|
||||||
[node name="Sprite" type="Sprite2D" parent="CollisionShape2D"]
|
[node name="Sprite" type="Sprite2D" parent="CollisionShape2D"]
|
||||||
|
@ -33,6 +32,3 @@ texture = ExtResource("2_2ifq3")
|
||||||
|
|
||||||
[node name="Collectible" parent="." instance=ExtResource("4_yefrx")]
|
[node name="Collectible" parent="." instance=ExtResource("4_yefrx")]
|
||||||
type = &"Copper"
|
type = &"Copper"
|
||||||
|
|
||||||
[node name="Valuable" parent="." instance=ExtResource("5_jdvvd")]
|
|
||||||
value = 1
|
|
||||||
|
|
Loading…
Reference in a new issue