Skip to content

Commit

Permalink
Configure game parameters for release
Browse files Browse the repository at this point in the history
* Add splash screen

This might need to be changed by using the splash as a part of a game intro
This would allow us to show it for longer (instead of relying on load time)

* Change game to launch in fullscreen

* Use antialiasing

Not useful yet because the art is still concept art, but will be useful later

* Add game logo

* Add export presets for Windows and Linux/X11

Those exports preset exclude GUT and tests since they are not needed for release
  • Loading branch information
Saplings-Projects committed Feb 28, 2024
1 parent c926142 commit f85dfe7
Show file tree
Hide file tree
Showing 7 changed files with 180 additions and 1 deletion.
104 changes: 104 additions & 0 deletions export_presets.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
[preset.0]

name="Windows Desktop"
platform="Windows Desktop"
runnable=true
dedicated_server=false
custom_features=""
export_filter="exclude"
export_files=PackedStringArray("res://addons/gut/fonts/AnonymousPro-Bold.ttf", "res://addons/gut/fonts/AnonymousPro-BoldItalic.ttf", "res://addons/gut/fonts/AnonymousPro-Italic.ttf", "res://addons/gut/fonts/AnonymousPro-Regular.ttf", "res://addons/gut/fonts/CourierPrime-Bold.ttf", "res://addons/gut/fonts/CourierPrime-BoldItalic.ttf", "res://addons/gut/fonts/CourierPrime-Italic.ttf", "res://addons/gut/fonts/CourierPrime-Regular.ttf", "res://addons/gut/fonts/LobsterTwo-Bold.ttf", "res://addons/gut/fonts/LobsterTwo-BoldItalic.ttf", "res://addons/gut/fonts/LobsterTwo-Italic.ttf", "res://addons/gut/fonts/LobsterTwo-Regular.ttf", "res://addons/gut/gui/arrow.png", "res://addons/gut/gui/BottomPanelShortcuts.gd", "res://addons/gut/gui/BottomPanelShortcuts.tscn", "res://addons/gut/gui/GutBottomPanel.gd", "res://addons/gut/gui/GutBottomPanel.tscn", "res://addons/gut/gui/GutControl.gd", "res://addons/gut/gui/GutControl.tscn", "res://addons/gut/gui/GutRunner.gd", "res://addons/gut/gui/GutRunner.tscn", "res://addons/gut/gui/GutSceneTheme.tres", "res://addons/gut/gui/gut_config_gui.gd", "res://addons/gut/gui/gut_gui.gd", "res://addons/gut/gui/MinGui.tscn", "res://addons/gut/gui/NormalGui.tscn", "res://addons/gut/gui/OutputText.gd", "res://addons/gut/gui/OutputText.tscn", "res://addons/gut/gui/play.png", "res://addons/gut/gui/ResizeHandle.gd", "res://addons/gut/gui/ResizeHandle.tscn", "res://addons/gut/gui/ResultsTree.gd", "res://addons/gut/gui/ResultsTree.tscn", "res://addons/gut/gui/RunAtCursor.gd", "res://addons/gut/gui/RunAtCursor.tscn", "res://addons/gut/gui/RunResults.gd", "res://addons/gut/gui/RunResults.tscn", "res://addons/gut/gui/script_text_editor_controls.gd", "res://addons/gut/gui/Settings.tscn", "res://addons/gut/gui/ShortcutButton.gd", "res://addons/gut/gui/ShortcutButton.tscn", "res://addons/gut/images/Folder.svg", "res://addons/gut/images/green.png", "res://addons/gut/images/red.png", "res://addons/gut/images/Script.svg", "res://addons/gut/images/yellow.png", "res://addons/gut/autofree.gd", "res://addons/gut/awaiter.gd", "res://addons/gut/collected_script.gd", "res://addons/gut/collected_test.gd", "res://addons/gut/comparator.gd", "res://addons/gut/compare_result.gd", "res://addons/gut/diff_formatter.gd", "res://addons/gut/diff_tool.gd", "res://addons/gut/doubler.gd", "res://addons/gut/double_tools.gd", "res://addons/gut/gut.gd", "res://addons/gut/GutScene.gd", "res://addons/gut/GutScene.tscn", "res://addons/gut/gut_cmdln.gd", "res://addons/gut/gut_config.gd", "res://addons/gut/gut_plugin.gd", "res://addons/gut/gut_to_move.gd", "res://addons/gut/hook_script.gd", "res://addons/gut/icon.png", "res://addons/gut/inner_class_registry.gd", "res://addons/gut/input_factory.gd", "res://addons/gut/input_sender.gd", "res://addons/gut/junit_xml_export.gd", "res://addons/gut/logger.gd", "res://addons/gut/method_maker.gd", "res://addons/gut/one_to_many.gd", "res://addons/gut/optparse.gd", "res://addons/gut/orphan_counter.gd", "res://addons/gut/parameter_factory.gd", "res://addons/gut/parameter_handler.gd", "res://addons/gut/printers.gd", "res://addons/gut/result_exporter.gd", "res://addons/gut/script_parser.gd", "res://addons/gut/signal_watcher.gd", "res://addons/gut/source_code_pro.fnt", "res://addons/gut/spy.gd", "res://addons/gut/strutils.gd", "res://addons/gut/stubber.gd", "res://addons/gut/stub_params.gd", "res://addons/gut/summary.gd", "res://addons/gut/test.gd", "res://addons/gut/test_collector.gd", "res://addons/gut/thing_counter.gd", "res://addons/gut/UserFileViewer.gd", "res://addons/gut/UserFileViewer.tscn", "res://addons/gut/utils.gd", "res://Tests/TestBase.gd", "res://Tests/TestCardBase.gd", "res://Tests/TestMapBase.gd", "res://Tests/test_assert_true.gd", "res://Tests/test_cards.gd", "res://Tests/test_death_handling.gd", "res://Tests/test_energy.gd", "res://Tests/test_eventbase.gd", "res://Tests/test_health.gd", "res://Tests/test_light_data.gd", "res://Tests/test_map.gd", "res://Tests/test_map_movement.gd", "res://Tests/test_map_ui.gd", "res://Tests/test_persistence.gd", "res://Tests/test_pile_ui.gd", "res://Tests/test_stats.gd")
include_filter=""
exclude_filter=""
export_path="../export/release/windows/Fauna-RPG.exe"
encryption_include_filters=""
encryption_exclude_filters=""
encrypt_pck=false
encrypt_directory=false

[preset.0.options]

custom_template/debug=""
custom_template/release=""
debug/export_console_wrapper=1
binary_format/embed_pck=false
texture_format/bptc=true
texture_format/s3tc=true
texture_format/etc=false
texture_format/etc2=false
binary_format/architecture="x86_64"
codesign/enable=false
codesign/timestamp=true
codesign/timestamp_server_url=""
codesign/digest_algorithm=1
codesign/description=""
codesign/custom_options=PackedStringArray()
application/modify_resources=true
application/icon="res://fauna_icon.ico"
application/console_wrapper_icon=""
application/icon_interpolation=4
application/file_version=""
application/product_version=""
application/company_name=""
application/product_name="Fauna-RPG"
application/file_description=""
application/copyright="GPL v3"
application/trademarks=""
application/export_angle=0
ssh_remote_deploy/enabled=false
ssh_remote_deploy/host="user@host_ip"
ssh_remote_deploy/port="22"
ssh_remote_deploy/extra_args_ssh=""
ssh_remote_deploy/extra_args_scp=""
ssh_remote_deploy/run_script="Expand-Archive -LiteralPath '{temp_dir}\\{archive_name}' -DestinationPath '{temp_dir}'
$action = New-ScheduledTaskAction -Execute '{temp_dir}\\{exe_name}' -Argument '{cmd_args}'
$trigger = New-ScheduledTaskTrigger -Once -At 00:00
$settings = New-ScheduledTaskSettingsSet
$task = New-ScheduledTask -Action $action -Trigger $trigger -Settings $settings
Register-ScheduledTask godot_remote_debug -InputObject $task -Force:$true
Start-ScheduledTask -TaskName godot_remote_debug
while (Get-ScheduledTask -TaskName godot_remote_debug | ? State -eq running) { Start-Sleep -Milliseconds 100 }
Unregister-ScheduledTask -TaskName godot_remote_debug -Confirm:$false -ErrorAction:SilentlyContinue"
ssh_remote_deploy/cleanup_script="Stop-ScheduledTask -TaskName godot_remote_debug -ErrorAction:SilentlyContinue
Unregister-ScheduledTask -TaskName godot_remote_debug -Confirm:$false -ErrorAction:SilentlyContinue
Remove-Item -Recurse -Force '{temp_dir}'"

[preset.1]

name="Linux/X11"
platform="Linux/X11"
runnable=true
dedicated_server=false
custom_features=""
export_filter="exclude"
export_files=PackedStringArray("res://addons/gut/fonts/AnonymousPro-Bold.ttf", "res://addons/gut/fonts/AnonymousPro-BoldItalic.ttf", "res://addons/gut/fonts/AnonymousPro-Italic.ttf", "res://addons/gut/fonts/AnonymousPro-Regular.ttf", "res://addons/gut/fonts/CourierPrime-Bold.ttf", "res://addons/gut/fonts/CourierPrime-BoldItalic.ttf", "res://addons/gut/fonts/CourierPrime-Italic.ttf", "res://addons/gut/fonts/CourierPrime-Regular.ttf", "res://addons/gut/fonts/LobsterTwo-Bold.ttf", "res://addons/gut/fonts/LobsterTwo-BoldItalic.ttf", "res://addons/gut/fonts/LobsterTwo-Italic.ttf", "res://addons/gut/fonts/LobsterTwo-Regular.ttf", "res://addons/gut/gui/arrow.png", "res://addons/gut/gui/BottomPanelShortcuts.gd", "res://addons/gut/gui/BottomPanelShortcuts.tscn", "res://addons/gut/gui/GutBottomPanel.gd", "res://addons/gut/gui/GutBottomPanel.tscn", "res://addons/gut/gui/GutControl.gd", "res://addons/gut/gui/GutControl.tscn", "res://addons/gut/gui/GutRunner.gd", "res://addons/gut/gui/GutRunner.tscn", "res://addons/gut/gui/GutSceneTheme.tres", "res://addons/gut/gui/gut_config_gui.gd", "res://addons/gut/gui/gut_gui.gd", "res://addons/gut/gui/MinGui.tscn", "res://addons/gut/gui/NormalGui.tscn", "res://addons/gut/gui/OutputText.gd", "res://addons/gut/gui/OutputText.tscn", "res://addons/gut/gui/play.png", "res://addons/gut/gui/ResizeHandle.gd", "res://addons/gut/gui/ResizeHandle.tscn", "res://addons/gut/gui/ResultsTree.gd", "res://addons/gut/gui/ResultsTree.tscn", "res://addons/gut/gui/RunAtCursor.gd", "res://addons/gut/gui/RunAtCursor.tscn", "res://addons/gut/gui/RunResults.gd", "res://addons/gut/gui/RunResults.tscn", "res://addons/gut/gui/script_text_editor_controls.gd", "res://addons/gut/gui/Settings.tscn", "res://addons/gut/gui/ShortcutButton.gd", "res://addons/gut/gui/ShortcutButton.tscn", "res://addons/gut/images/Folder.svg", "res://addons/gut/images/green.png", "res://addons/gut/images/red.png", "res://addons/gut/images/Script.svg", "res://addons/gut/images/yellow.png", "res://addons/gut/autofree.gd", "res://addons/gut/awaiter.gd", "res://addons/gut/collected_script.gd", "res://addons/gut/collected_test.gd", "res://addons/gut/comparator.gd", "res://addons/gut/compare_result.gd", "res://addons/gut/diff_formatter.gd", "res://addons/gut/diff_tool.gd", "res://addons/gut/doubler.gd", "res://addons/gut/double_tools.gd", "res://addons/gut/gut.gd", "res://addons/gut/GutScene.gd", "res://addons/gut/GutScene.tscn", "res://addons/gut/gut_cmdln.gd", "res://addons/gut/gut_config.gd", "res://addons/gut/gut_plugin.gd", "res://addons/gut/gut_to_move.gd", "res://addons/gut/hook_script.gd", "res://addons/gut/icon.png", "res://addons/gut/inner_class_registry.gd", "res://addons/gut/input_factory.gd", "res://addons/gut/input_sender.gd", "res://addons/gut/junit_xml_export.gd", "res://addons/gut/logger.gd", "res://addons/gut/method_maker.gd", "res://addons/gut/one_to_many.gd", "res://addons/gut/optparse.gd", "res://addons/gut/orphan_counter.gd", "res://addons/gut/parameter_factory.gd", "res://addons/gut/parameter_handler.gd", "res://addons/gut/printers.gd", "res://addons/gut/result_exporter.gd", "res://addons/gut/script_parser.gd", "res://addons/gut/signal_watcher.gd", "res://addons/gut/source_code_pro.fnt", "res://addons/gut/spy.gd", "res://addons/gut/strutils.gd", "res://addons/gut/stubber.gd", "res://addons/gut/stub_params.gd", "res://addons/gut/summary.gd", "res://addons/gut/test.gd", "res://addons/gut/test_collector.gd", "res://addons/gut/thing_counter.gd", "res://addons/gut/UserFileViewer.gd", "res://addons/gut/UserFileViewer.tscn", "res://addons/gut/utils.gd", "res://Tests/TestBase.gd", "res://Tests/TestCardBase.gd", "res://Tests/TestMapBase.gd", "res://Tests/test_assert_true.gd", "res://Tests/test_cards.gd", "res://Tests/test_death_handling.gd", "res://Tests/test_energy.gd", "res://Tests/test_eventbase.gd", "res://Tests/test_health.gd", "res://Tests/test_light_data.gd", "res://Tests/test_map.gd", "res://Tests/test_map_movement.gd", "res://Tests/test_map_ui.gd", "res://Tests/test_persistence.gd", "res://Tests/test_pile_ui.gd", "res://Tests/test_stats.gd")
include_filter=""
exclude_filter=""
export_path="../export/linux/Fauna-RPG.x86_64"
encryption_include_filters=""
encryption_exclude_filters=""
encrypt_pck=false
encrypt_directory=false

[preset.1.options]

custom_template/debug=""
custom_template/release=""
debug/export_console_wrapper=1
binary_format/embed_pck=false
texture_format/bptc=true
texture_format/s3tc=true
texture_format/etc=false
texture_format/etc2=false
binary_format/architecture="x86_64"
ssh_remote_deploy/enabled=false
ssh_remote_deploy/host="user@host_ip"
ssh_remote_deploy/port="22"
ssh_remote_deploy/extra_args_ssh=""
ssh_remote_deploy/extra_args_scp=""
ssh_remote_deploy/run_script="#!/usr/bin/env bash
export DISPLAY=:0
unzip -o -q \"{temp_dir}/{archive_name}\" -d \"{temp_dir}\"
\"{temp_dir}/{exe_name}\" {cmd_args}"
ssh_remote_deploy/cleanup_script="#!/usr/bin/env bash
kill $(pgrep -x -f \"{temp_dir}/{exe_name} {cmd_args}\")
rm -rf \"{temp_dir}\""
Binary file added fauna_icon.ico
Binary file not shown.
Binary file added fauna_icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
34 changes: 34 additions & 0 deletions fauna_icon.png.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
[remap]

importer="texture"
type="CompressedTexture2D"
uid="uid://dcbe2iblhp5sa"
path="res://.godot/imported/fauna_icon.png-75e5632b87e12e428e034739b7e303c7.ctex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://fauna_icon.png"
dest_files=["res://.godot/imported/fauna_icon.png-75e5632b87e12e428e034739b7e303c7.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
Binary file added loading_splash_art.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
34 changes: 34 additions & 0 deletions loading_splash_art.png.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
[remap]

importer="texture"
type="CompressedTexture2D"
uid="uid://b5yppwmgeuuat"
path="res://.godot/imported/loading_splash_art.png-ed1e97504dce17fbc48c1797823c0a0a.ctex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://loading_splash_art.png"
dest_files=["res://.godot/imported/loading_splash_art.png-ed1e97504dce17fbc48c1797823c0a0a.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
9 changes: 8 additions & 1 deletion project.godot
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ config_version=5
config/name="Fauna-RPG"
run/main_scene="res://#Scenes/TestingScene.tscn"
config/features=PackedStringArray("4.2", "Forward Plus")
config/icon="res://icon.svg"
boot_splash/image="res://loading_splash_art.png"
config/icon="res://fauna_icon.png"

[autoload]

Expand Down Expand Up @@ -41,6 +42,7 @@ gdscript/warnings/unsafe_cast=2

window/size/viewport_width=1280
window/size/viewport_height=720
window/size/mode=3
window/stretch/mode="viewport"
window/stretch/aspect="expand"

Expand All @@ -65,3 +67,8 @@ cancel_action={
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":4194305,"physical_keycode":4194305,"key_label":4194305,"unicode":0,"echo":false,"script":null)
]
}

[rendering]

anti_aliasing/quality/msaa_2d=1
anti_aliasing/quality/screen_space_aa=1

0 comments on commit f85dfe7

Please sign in to comment.