1
Fork 0
mirror of https://github.com/Steffo99/swear-jar.git synced 2024-11-21 23:34:18 +00:00
This commit is contained in:
Steffo 2023-10-03 00:05:39 +02:00
parent 7ce86494f0
commit 22b57619ad
Signed by: steffo
GPG key ID: 2A24051445686895
4 changed files with 39 additions and 25 deletions

View file

@ -1,13 +1,11 @@
[gd_scene load_steps=10 format=3 uid="uid://451ddbtq4163"] [gd_scene load_steps=8 format=3 uid="uid://451ddbtq4163"]
[ext_resource type="PhysicsMaterial" uid="uid://c6kn1an85lccr" path="res://entity/coin_physics_material.tres" id="1_vp2el"] [ext_resource type="PhysicsMaterial" uid="uid://c6kn1an85lccr" path="res://entity/coin_physics_material.tres" id="1_vp2el"]
[ext_resource type="Texture2D" uid="uid://wpen8vmuyvqv" path="res://entity/item/item_chalice.png" id="2_rnc33"] [ext_resource type="Texture2D" uid="uid://wpen8vmuyvqv" path="res://entity/item/item_chalice.png" id="2_rnc33"]
[ext_resource type="Texture2D" uid="uid://dvthocklcjh15" path="res://entity/item/item_chalice_gems.png" id="3_crdaw"] [ext_resource type="Texture2D" uid="uid://dvthocklcjh15" path="res://entity/item/item_chalice_gems.png" id="3_crdaw"]
[ext_resource type="PackedScene" uid="uid://vkvtap437nnf" path="res://color/colored.tscn" id="4_n40wg"] [ext_resource type="PackedScene" uid="uid://vkvtap437nnf" path="res://color/colored.tscn" id="4_n40wg"]
[ext_resource type="Shader" path="res://entity/gem/gem_shading_material.gdshader" id="5_bkxhb"] [ext_resource type="Shader" path="res://entity/gem/gem_shading_material.gdshader" id="5_bkxhb"]
[ext_resource type="PackedScene" uid="uid://bk1vvq5rug01m" path="res://collector/collectible.tscn" id="6_eanc2"]
[ext_resource type="PackedScene" uid="uid://ujpra0s1kpqi" path="res://value/valuable.tscn" id="7_0qpb5"] [ext_resource type="PackedScene" uid="uid://ujpra0s1kpqi" path="res://value/valuable.tscn" id="7_0qpb5"]
[ext_resource type="Script" path="res://entity/gem/RandomValue.gd" id="8_87qrp"]
[ext_resource type="AudioStream" uid="uid://br25ip30mu174" path="res://audio/conversione/mechanic_sound.wav" id="9_v6jws"] [ext_resource type="AudioStream" uid="uid://br25ip30mu174" path="res://audio/conversione/mechanic_sound.wav" id="9_v6jws"]
[node name="ItemChalice" type="RigidBody2D"] [node name="ItemChalice" type="RigidBody2D"]
@ -34,16 +32,8 @@ texture = ExtResource("3_crdaw")
[node name="Colored" parent="CollisionShape2D/Sprite" instance=ExtResource("4_n40wg")] [node name="Colored" parent="CollisionShape2D/Sprite" instance=ExtResource("4_n40wg")]
shader = ExtResource("5_bkxhb") shader = ExtResource("5_bkxhb")
[node name="Collectible" parent="." instance=ExtResource("6_eanc2")]
type = &"Gem"
[node name="Valuable" parent="." instance=ExtResource("7_0qpb5")] [node name="Valuable" parent="." instance=ExtResource("7_0qpb5")]
value = 10 value = 7500
[node name="RandomValue" type="Node" parent="Valuable"]
script = ExtResource("8_87qrp")
[node name="SoundWorking" type="AudioStreamPlayer" parent="."] [node name="SoundWorking" type="AudioStreamPlayer" parent="."]
stream = ExtResource("9_v6jws") stream = ExtResource("9_v6jws")
[connection signal="collected" from="Collectible" to="Collectible" method="_on_done" flags=18]

View file

@ -43,7 +43,7 @@ shader = ExtResource("5_c6qlx")
type = &"Gem" type = &"Gem"
[node name="Valuable" parent="." instance=ExtResource("7_7rpe6")] [node name="Valuable" parent="." instance=ExtResource("7_7rpe6")]
value = 10 value = 10000
[node name="RandomValue" type="Node" parent="Valuable"] [node name="RandomValue" type="Node" parent="Valuable"]
script = ExtResource("8_utkrs") script = ExtResource("8_utkrs")

View file

@ -1,13 +1,11 @@
[gd_scene load_steps=11 format=3 uid="uid://y2p6j177k3nr"] [gd_scene load_steps=9 format=3 uid="uid://y2p6j177k3nr"]
[ext_resource type="PhysicsMaterial" uid="uid://c6kn1an85lccr" path="res://entity/coin_physics_material.tres" id="1_yyeot"] [ext_resource type="PhysicsMaterial" uid="uid://c6kn1an85lccr" path="res://entity/coin_physics_material.tres" id="1_yyeot"]
[ext_resource type="Texture2D" uid="uid://dcw3cq3ni253t" path="res://entity/item/item_ring.png" id="2_kevks"] [ext_resource type="Texture2D" uid="uid://dcw3cq3ni253t" path="res://entity/item/item_ring.png" id="2_kevks"]
[ext_resource type="Texture2D" uid="uid://dnfkvj0usdb6n" path="res://entity/item/item_ring_gems.png" id="3_foriv"] [ext_resource type="Texture2D" uid="uid://dnfkvj0usdb6n" path="res://entity/item/item_ring_gems.png" id="3_foriv"]
[ext_resource type="PackedScene" uid="uid://vkvtap437nnf" path="res://color/colored.tscn" id="4_dscrk"] [ext_resource type="PackedScene" uid="uid://vkvtap437nnf" path="res://color/colored.tscn" id="4_dscrk"]
[ext_resource type="Shader" path="res://entity/gem/gem_shading_material.gdshader" id="5_pu8lc"] [ext_resource type="Shader" path="res://entity/gem/gem_shading_material.gdshader" id="5_pu8lc"]
[ext_resource type="PackedScene" uid="uid://bk1vvq5rug01m" path="res://collector/collectible.tscn" id="6_lont5"]
[ext_resource type="PackedScene" uid="uid://ujpra0s1kpqi" path="res://value/valuable.tscn" id="7_37tvl"] [ext_resource type="PackedScene" uid="uid://ujpra0s1kpqi" path="res://value/valuable.tscn" id="7_37tvl"]
[ext_resource type="Script" path="res://entity/gem/RandomValue.gd" id="8_ddhh8"]
[ext_resource type="AudioStream" uid="uid://br25ip30mu174" path="res://audio/conversione/mechanic_sound.wav" id="9_0enei"] [ext_resource type="AudioStream" uid="uid://br25ip30mu174" path="res://audio/conversione/mechanic_sound.wav" id="9_0enei"]
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_ka4h2"] [sub_resource type="CapsuleShape2D" id="CapsuleShape2D_ka4h2"]
@ -38,16 +36,8 @@ texture = ExtResource("3_foriv")
[node name="Colored" parent="CollisionShape2D/Sprite" instance=ExtResource("4_dscrk")] [node name="Colored" parent="CollisionShape2D/Sprite" instance=ExtResource("4_dscrk")]
shader = ExtResource("5_pu8lc") shader = ExtResource("5_pu8lc")
[node name="Collectible" parent="." instance=ExtResource("6_lont5")]
type = &"Gem"
[node name="Valuable" parent="." instance=ExtResource("7_37tvl")] [node name="Valuable" parent="." instance=ExtResource("7_37tvl")]
value = 10 value = 5000
[node name="RandomValue" type="Node" parent="Valuable"]
script = ExtResource("8_ddhh8")
[node name="SoundWorking" type="AudioStreamPlayer" parent="."] [node name="SoundWorking" type="AudioStreamPlayer" parent="."]
stream = ExtResource("9_0enei") stream = ExtResource("9_0enei")
[connection signal="collected" from="Collectible" to="Collectible" method="_on_done" flags=18]

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://d3l5lvva448mk"
path="res://.godot/imported/background.png-3637988983a9bc44c057e1e7c5b91f26.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://media/background.png"
dest_files=["res://.godot/imported/background.png-3637988983a9bc44c057e1e7c5b91f26.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1