icon + no quit button on web
This commit is contained in:
parent
45e9b99f80
commit
720466f136
5 changed files with 44 additions and 4 deletions
BIN
icon.ico
Normal file
BIN
icon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 176 KiB |
BIN
icon.png
Normal file
BIN
icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 9.2 KiB |
34
icon.png.import
Normal file
34
icon.png.import
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://du8cs7ink5ysu"
|
||||||
|
path="res://.godot/imported/icon.png-487276ed1e3a0c39cad0279d744ee560.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://icon.png"
|
||||||
|
dest_files=["res://.godot/imported/icon.png-487276ed1e3a0c39cad0279d744ee560.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
|
|
@ -12,11 +12,15 @@ var forest = preload(\"res://levels/forest/level.tscn\")
|
||||||
var night = preload(\"res://levels/night/level.tscn\")
|
var night = preload(\"res://levels/night/level.tscn\")
|
||||||
|
|
||||||
func _ready() -> void:
|
func _ready() -> void:
|
||||||
|
var os_name = OS.get_name()
|
||||||
|
if os_name == \"Web\": ## we can't quit the game on web
|
||||||
|
$PauseMenu/VBoxContainer/Btn_Quit.hide()
|
||||||
|
|
||||||
$VictoryScreen.hide()
|
$VictoryScreen.hide()
|
||||||
$Informations.hide()
|
$Informations.hide()
|
||||||
$PauseMenu.hide()
|
$PauseMenu.hide()
|
||||||
## Add the version of the game and the name of the OS to the footer of the start menu
|
## Add the version of the game and the name of the OS to the footer of the start menu
|
||||||
$StartMenu/VBoxContainer/MarginContainer2/Notice.text += \" - build \" + ProjectSettings.get_setting(\"application/config/version\") + \" (\" + OS.get_name() + \")\"
|
$StartMenu/VBoxContainer/MarginContainer2/Notice.text += \" - build \" + ProjectSettings.get_setting(\"application/config/version\") + \" (\" + os_name + \")\"
|
||||||
|
|
||||||
func start_level(level_scene: PackedScene) -> void:
|
func start_level(level_scene: PackedScene) -> void:
|
||||||
$VictoryScreen.hide()
|
$VictoryScreen.hide()
|
||||||
|
|
|
@ -12,12 +12,14 @@ config_version=5
|
||||||
|
|
||||||
config/name="DreamBall"
|
config/name="DreamBall"
|
||||||
config/description="I'm Taevas, and this is \"DreamBall\", my entry for the 21st edition of \"Alakajam!\", a gamejam that lasts for 48 hours and starts on 2025-02-21 19:00UTC
|
config/description="I'm Taevas, and this is \"DreamBall\", my entry for the 21st edition of \"Alakajam!\", a gamejam that lasts for 48 hours and starts on 2025-02-21 19:00UTC
|
||||||
https://alakajam.com/21st-alakajam"
|
https://alakajam.com/21st-alakajam
|
||||||
config/version="20250223.0"
|
https://kitsunes.dev/Taevas/AlakajamEntry"
|
||||||
|
config/version="20250223.2"
|
||||||
run/main_scene="res://index.tscn"
|
run/main_scene="res://index.tscn"
|
||||||
config/features=PackedStringArray("4.3", "GL Compatibility")
|
config/features=PackedStringArray("4.3", "GL Compatibility")
|
||||||
boot_splash/show_image=false
|
boot_splash/show_image=false
|
||||||
config/icon="res://icon.svg"
|
config/icon="res://icon.png"
|
||||||
|
config/windows_native_icon="res://icon.ico"
|
||||||
|
|
||||||
[audio]
|
[audio]
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue