mirror of
https://github.com/Steffo99/swear-jar.git
synced 2024-11-22 23:54:21 +00:00
39 lines
1.4 KiB
Text
39 lines
1.4 KiB
Text
|
[gd_scene load_steps=7 format=3 uid="uid://dme22vvfgme5f"]
|
||
|
|
||
|
[ext_resource type="PhysicsMaterial" uid="uid://c6kn1an85lccr" path="res://entity/coin_physics_material.tres" id="1_4sq1a"]
|
||
|
[ext_resource type="Texture2D" uid="uid://m5t74cw8ht5b" path="res://entity/coin_silver_2.png" id="2_0u0up"]
|
||
|
[ext_resource type="Texture2D" uid="uid://beikajpd08pwr" path="res://entity/coin_silver_outline_2.png" id="3_nxu2p"]
|
||
|
[ext_resource type="PackedScene" uid="uid://bk1vvq5rug01m" path="res://collector/collectible.tscn" id="4_12sii"]
|
||
|
[ext_resource type="PackedScene" uid="uid://ujpra0s1kpqi" path="res://value/valuable.tscn" id="5_u3bvw"]
|
||
|
|
||
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_c6byl"]
|
||
|
size = Vector2(23, 6.16667)
|
||
|
|
||
|
[node name="CoinSilver" type="RigidBody2D"]
|
||
|
collision_layer = 5
|
||
|
collision_mask = 7
|
||
|
inertia = 20000.0
|
||
|
physics_material_override = ExtResource("1_4sq1a")
|
||
|
continuous_cd = 1
|
||
|
linear_damp = 0.1
|
||
|
angular_damp = 0.1
|
||
|
|
||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||
|
scale = Vector2(2, 2)
|
||
|
shape = SubResource("RectangleShape2D_c6byl")
|
||
|
|
||
|
[node name="Sprite" type="Sprite2D" parent="CollisionShape2D"]
|
||
|
texture_filter = 1
|
||
|
texture = ExtResource("2_0u0up")
|
||
|
|
||
|
[node name="Outline" type="Sprite2D" parent="CollisionShape2D"]
|
||
|
z_index = -10
|
||
|
texture_filter = 1
|
||
|
texture = ExtResource("3_nxu2p")
|
||
|
|
||
|
[node name="Collectible" parent="." instance=ExtResource("4_12sii")]
|
||
|
type = &"Silver"
|
||
|
|
||
|
[node name="Valuable" parent="." instance=ExtResource("5_u3bvw")]
|
||
|
value = 10
|