diff --git a/src/dev-util/steamworks.gd b/src/dev-util/steamworks.gd index e428ed0..7529f78 100644 --- a/src/dev-util/steamworks.gd +++ b/src/dev-util/steamworks.gd @@ -1,6 +1,7 @@ extends Node - func _ready() -> void: - var initialize_response: Dictionary = steamInitEx( true, 480 ) + var id_file := FileAccess.open("res://steam_appid.txt", FileAccess.READ) + var id:int = id_file.get_as_text() as int + var initialize_response: Dictionary = Steam.steamInitEx( true, 480 ) print("Did Steam initialize?: %s " % initialize_response) diff --git a/src/export_presets.cfg b/src/export_presets.cfg index e117b69..b7c12e7 100644 --- a/src/export_presets.cfg +++ b/src/export_presets.cfg @@ -5,7 +5,7 @@ platform="Linux" runnable=true advanced_options=true dedicated_server=false -custom_features="" +custom_features="Demo" export_filter="all_resources" include_filter="" exclude_filter="" @@ -18,8 +18,8 @@ script_export_mode=2 [preset.0.options] -custom_template/debug="" -custom_template/release="" +custom_template/debug="/home/betalars/Development/godot/godot-steam/godotsteam.43.debug.template.linux.x86_64" +custom_template/release="/home/betalars/Development/godot/godot-steam/godotsteam.43.template.linux.x86_64" debug/export_console_wrapper=1 binary_format/embed_pck=false texture_format/s3tc_bptc=true @@ -49,9 +49,8 @@ platform="Windows Desktop" runnable=true advanced_options=false dedicated_server=false -custom_features="" -export_filter="scenes" -export_files=PackedStringArray("res://main.tscn") +custom_features="Demo" +export_filter="all_resources" include_filter="" exclude_filter="" export_path="../../steam-sdk/tools/ContentBuilder/content/frame-of-mind-win64/frame-of-mind.exe" @@ -63,8 +62,8 @@ script_export_mode=2 [preset.1.options] -custom_template/debug="" -custom_template/release="" +custom_template/debug="/home/betalars/Development/godot/godot-steam/godotsteam.43.debug.template.windows.64.exe" +custom_template/release="/home/betalars/Development/godot/godot-steam/godotsteam.43.template.windows.64.exe" debug/export_console_wrapper=1 binary_format/embed_pck=false texture_format/s3tc_bptc=true @@ -119,7 +118,7 @@ platform="macOS" runnable=true advanced_options=false dedicated_server=false -custom_features="" +custom_features="Demo" export_filter="all_resources" include_filter="" exclude_filter="" diff --git a/src/project.godot b/src/project.godot index 80a4861..231fd6a 100644 --- a/src/project.godot +++ b/src/project.godot @@ -24,6 +24,7 @@ config/icon="res://icon.png" State="*res://singletons/global_state.gd" Scenes="*res://singletons/scene_reference.gd" +Steamworks="*res://dev-util/steamworks.gd" [debug] @@ -47,7 +48,7 @@ import/blender/enabled=false [gui] -theme/custom="res://logic-scenes/themes/easy-handwriting.theme" +theme/custom="res://logic-scenes/themes/handwriting.theme" [input] @@ -140,6 +141,11 @@ zoom_in_controller={ "events": [Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":-1,"axis":4,"axis_value":1.0,"script":null) ] } +reset_demo={ +"deadzone": 0.5, +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":true,"ctrl_pressed":true,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":82,"key_label":0,"unicode":82,"location":0,"echo":false,"script":null) +] +} [internationalization] @@ -155,4 +161,5 @@ locale/translations=PackedStringArray("res://internationalisation.de.translation textures/vram_compression/import_etc2_astc=true scaling_3d/scale=0.6 +environment/screen_space_reflection/roughness_quality=2 anti_aliasing/quality/screen_space_aa=1