fix last bugs

This commit is contained in:
Mylloon 2023-02-26 20:50:11 +01:00
parent f013ae2ef9
commit ec76fd5a95
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
11 changed files with 9 additions and 46 deletions

1
.gitattributes vendored
View file

@ -1,3 +1,4 @@
*.png filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.wav filter=lfs diff=lfs merge=lfs -text
*.ico filter=lfs diff=lfs merge=lfs -text

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.9 MiB

After

Width:  |  Height:  |  Size: 131 B

View file

@ -15,7 +15,7 @@ func _process(delta) -> void:
if etat:
timer += delta
if villain.animation == villain_animations.animations[-1]:
assert(get_tree().change_scene("res://Scenes/gameover.tscn") == OK)
get_tree().change_scene("res://Scenes/gameover.tscn")
if timer >= 7: # fermer le dossier et enlever l'icone
etat = false
self.get_parent().get_parent().visible = false

View file

@ -94,4 +94,4 @@ func _process(_delta) -> void:
if end:
mainMusic.set_volume_db(-80)
eyeMusic.set_volume_db(-80)
assert(get_tree().change_scene("res://Scenes/victory.tscn") == OK)
get_tree().change_scene("res://Scenes/victory.tscn")

View file

@ -3,7 +3,7 @@ onready var hover_sound = $"Hover"
func _on_RestartButton_pressed() -> void:
assert(get_tree().change_scene("res://Scenes/menu.tscn") == OK)
get_tree().change_scene("res://Scenes/Menu.tscn")
func _on_RestartButton_mouse_entered() -> void:

View file

@ -4,7 +4,7 @@ onready var help = $"../Help"
func _on_PlayButton_pressed() -> void:
assert(get_tree().change_scene("res://Scenes/DesktopScreen.tscn") == OK)
get_tree().change_scene("res://Scenes/DesktopScreen.tscn")
func _on_Help_Button_pressed() -> void:

View file

@ -32,11 +32,11 @@ codesign/digest_algorithm=1
codesign/description=""
codesign/custom_options=PoolStringArray( )
application/modify_resources=true
application/icon=""
application/icon="res://Assets/icons/jaquette.ico"
application/file_version=""
application/product_version=""
application/company_name="Bip boup"
application/product_name=""
application/product_name="Boups"
application/file_description="Jeu développé lors de la GameJam Advance 2023"
application/copyright=""
application/trademarks=""

BIN
icon.png (Stored with Git LFS)

Binary file not shown.

View file

@ -1,35 +0,0 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://icon.png"
dest_files=[ "res://.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
process/normal_map_invert_y=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0

View file

@ -10,7 +10,7 @@ config_version=4
[application]
config/name="Gja"
config/name="Boups"
run/main_scene="res://Scenes/Menu.tscn"
config/icon="res://Assets/icons/jaquette.png"
config/windows_native_icon="res://Assets/icons/jaquette.ico"