1
Fork 0
mirror of https://github.com/Steffo99/swear-jar.git synced 2024-11-24 16:44:20 +00:00
swear-jar/entity/coin_silver/coin_silver.tscn

45 lines
1.7 KiB
Text
Raw Normal View History

2023-10-02 09:21:27 +00:00
[gd_scene load_steps=8 format=3 uid="uid://dme22vvfgme5f"]
2023-10-01 19:58:20 +00:00
[ext_resource type="PhysicsMaterial" uid="uid://c6kn1an85lccr" path="res://entity/coin_physics_material.tres" id="1_4sq1a"]
2023-10-02 00:53:12 +00:00
[ext_resource type="Texture2D" uid="uid://m5t74cw8ht5b" path="res://entity/coin_silver/coin_silver_2.png" id="2_0u0up"]
[ext_resource type="Texture2D" uid="uid://beikajpd08pwr" path="res://entity/coin_silver/coin_silver_outline_2.png" id="3_nxu2p"]
2023-10-01 19:58:20 +00:00
[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"]
2023-10-02 09:21:27 +00:00
[ext_resource type="AudioStream" uid="uid://br25ip30mu174" path="res://audio/conversione/mechanic_sound.wav" id="6_tmdfg"]
2023-10-01 19:58:20 +00:00
[sub_resource type="RectangleShape2D" id="RectangleShape2D_c6byl"]
size = Vector2(21, 4)
2023-10-01 19:58:20 +00:00
[node name="CoinSilver" type="RigidBody2D"]
2023-10-02 16:29:05 +00:00
collision_layer = 4
2023-10-02 16:36:55 +00:00
collision_mask = 14
2023-10-02 00:55:49 +00:00
mass = 1.5
2023-10-02 00:53:12 +00:00
inertia = 800.0
2023-10-01 19:58:20 +00:00
physics_material_override = ExtResource("1_4sq1a")
continuous_cd = 1
can_sleep = false
2023-10-01 19:58:20 +00:00
linear_damp = 0.1
angular_damp = 0.1
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
2023-10-02 21:33:32 +00:00
scale = Vector2(1.5, 1.5)
2023-10-01 19:58:20 +00:00
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"]
2023-10-02 00:54:45 +00:00
z_index = -1
2023-10-01 19:58:20 +00:00
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
2023-10-02 03:31:31 +00:00
2023-10-02 09:21:27 +00:00
[node name="SoundWorking" type="AudioStreamPlayer" parent="."]
stream = ExtResource("6_tmdfg")