mirror of
https://github.com/Steffo99/swear-jar.git
synced 2024-11-21 23:34:18 +00:00
Fix bugs
This commit is contained in:
parent
7ce86494f0
commit
22b57619ad
4 changed files with 39 additions and 25 deletions
|
@ -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="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="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="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="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"]
|
||||
|
||||
[node name="ItemChalice" type="RigidBody2D"]
|
||||
|
@ -34,16 +32,8 @@ texture = ExtResource("3_crdaw")
|
|||
[node name="Colored" parent="CollisionShape2D/Sprite" instance=ExtResource("4_n40wg")]
|
||||
shader = ExtResource("5_bkxhb")
|
||||
|
||||
[node name="Collectible" parent="." instance=ExtResource("6_eanc2")]
|
||||
type = &"Gem"
|
||||
|
||||
[node name="Valuable" parent="." instance=ExtResource("7_0qpb5")]
|
||||
value = 10
|
||||
|
||||
[node name="RandomValue" type="Node" parent="Valuable"]
|
||||
script = ExtResource("8_87qrp")
|
||||
value = 7500
|
||||
|
||||
[node name="SoundWorking" type="AudioStreamPlayer" parent="."]
|
||||
stream = ExtResource("9_v6jws")
|
||||
|
||||
[connection signal="collected" from="Collectible" to="Collectible" method="_on_done" flags=18]
|
||||
|
|
|
@ -43,7 +43,7 @@ shader = ExtResource("5_c6qlx")
|
|||
type = &"Gem"
|
||||
|
||||
[node name="Valuable" parent="." instance=ExtResource("7_7rpe6")]
|
||||
value = 10
|
||||
value = 10000
|
||||
|
||||
[node name="RandomValue" type="Node" parent="Valuable"]
|
||||
script = ExtResource("8_utkrs")
|
||||
|
|
|
@ -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="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="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="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="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"]
|
||||
|
||||
[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")]
|
||||
shader = ExtResource("5_pu8lc")
|
||||
|
||||
[node name="Collectible" parent="." instance=ExtResource("6_lont5")]
|
||||
type = &"Gem"
|
||||
|
||||
[node name="Valuable" parent="." instance=ExtResource("7_37tvl")]
|
||||
value = 10
|
||||
|
||||
[node name="RandomValue" type="Node" parent="Valuable"]
|
||||
script = ExtResource("8_ddhh8")
|
||||
value = 5000
|
||||
|
||||
[node name="SoundWorking" type="AudioStreamPlayer" parent="."]
|
||||
stream = ExtResource("9_0enei")
|
||||
|
||||
[connection signal="collected" from="Collectible" to="Collectible" method="_on_done" flags=18]
|
||||
|
|
34
media/background.png.import
Normal file
34
media/background.png.import
Normal 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
|
Loading…
Reference in a new issue