mirror of
https://github.com/Steffo99/swear-jar.git
synced 2024-11-22 07:44:17 +00:00
43 lines
1.7 KiB
Text
43 lines
1.7 KiB
Text
[gd_scene load_steps=9 format=3 uid="uid://bawprh8kluilq"]
|
|
|
|
[ext_resource type="PhysicsMaterial" uid="uid://b5egitifjvcqo" path="res://entity/gem_physics_material.tres" id="1_bt3de"]
|
|
[ext_resource type="Texture2D" uid="uid://b21bsbo5f0ed7" path="res://entity/gem/gemstone.png" id="3_6jejy"]
|
|
[ext_resource type="PackedScene" uid="uid://vkvtap437nnf" path="res://color/colored.tscn" id="4_2cetq"]
|
|
[ext_resource type="PackedScene" uid="uid://bk1vvq5rug01m" path="res://collector/collectible.tscn" id="4_idoeu"]
|
|
[ext_resource type="PackedScene" uid="uid://ujpra0s1kpqi" path="res://value/valuable.tscn" id="5_7bd6c"]
|
|
[ext_resource type="Shader" path="res://entity/gem/gem_shading_material.gdshader" id="5_v6ppl"]
|
|
[ext_resource type="AudioStream" uid="uid://br25ip30mu174" path="res://audio/conversione/mechanic_sound.wav" id="6_svrnw"]
|
|
|
|
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_jkfas"]
|
|
radius = 3.5
|
|
height = 9.0
|
|
|
|
[node name="Gem" type="RigidBody2D"]
|
|
collision_layer = 4
|
|
collision_mask = 14
|
|
mass = 8.0
|
|
inertia = 1500.0
|
|
physics_material_override = ExtResource("1_bt3de")
|
|
can_sleep = false
|
|
linear_damp = 0.1
|
|
angular_damp = 0.1
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
scale = Vector2(3, 3)
|
|
shape = SubResource("CapsuleShape2D_jkfas")
|
|
|
|
[node name="Sprite" type="Sprite2D" parent="CollisionShape2D"]
|
|
texture_filter = 1
|
|
texture = ExtResource("3_6jejy")
|
|
|
|
[node name="Colored" parent="CollisionShape2D/Sprite" instance=ExtResource("4_2cetq")]
|
|
shader = ExtResource("5_v6ppl")
|
|
|
|
[node name="Collectible" parent="." instance=ExtResource("4_idoeu")]
|
|
type = &"Gem"
|
|
|
|
[node name="Valuable" parent="." instance=ExtResource("5_7bd6c")]
|
|
value = 1000
|
|
|
|
[node name="SoundWorking" type="AudioStreamPlayer" parent="."]
|
|
stream = ExtResource("6_svrnw")
|