From 81c612aee115998a2b6b8cd289310533241e7370 Mon Sep 17 00:00:00 2001 From: The 64th Gamer <69170079+The64thGamer@users.noreply.github.com> Date: Fri, 15 Mar 2024 18:34:20 -0500 Subject: [PATCH] Fixes --- Scripts/PlayerMovement.cs | 15 ++++++++- export_presets.cfg | 65 +++++++++++++++++++++++++++++++++++++++ icon.svg | 1 - icon.svg.import | 37 ---------------------- project.godot | 2 +- 5 files changed, 80 insertions(+), 40 deletions(-) create mode 100644 export_presets.cfg delete mode 100644 icon.svg delete mode 100644 icon.svg.import diff --git a/Scripts/PlayerMovement.cs b/Scripts/PlayerMovement.cs index 6bfc44eb..20d61716 100644 --- a/Scripts/PlayerMovement.cs +++ b/Scripts/PlayerMovement.cs @@ -32,7 +32,20 @@ public override void _UnhandledInput(InputEvent currentEvent) public override void _PhysicsProcess(double delta) { - Vector3 velocity = Velocity; + // Tab out + if (Input.IsActionJustPressed("Pause")) + { + if (Input.MouseMode == Input.MouseModeEnum.Captured) + { + Input.MouseMode = Input.MouseModeEnum.Visible; + } + else + { + Input.MouseMode = Input.MouseModeEnum.Captured; + } + } + + Vector3 velocity = Velocity; // Add the gravity. if (!IsOnFloor()) diff --git a/export_presets.cfg b/export_presets.cfg new file mode 100644 index 00000000..1610bdaf --- /dev/null +++ b/export_presets.cfg @@ -0,0 +1,65 @@ +[preset.0] + +name="Pneumagination" +platform="Windows Desktop" +runnable=true +dedicated_server=false +custom_features="" +export_filter="all_resources" +include_filter="" +exclude_filter="" +export_path="" +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="" +application/console_wrapper_icon="" +application/icon_interpolation=4 +application/file_version="" +application/product_version="" +application/company_name="The 64th Gamer" +application/product_name="Pneumagination" +application/file_description="" +application/copyright="" +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}'" +dotnet/include_scripts_content=false +dotnet/include_debug_symbols=true +dotnet/embed_build_outputs=false diff --git a/icon.svg b/icon.svg deleted file mode 100644 index b370ceb7..00000000 --- a/icon.svg +++ /dev/null @@ -1 +0,0 @@ - diff --git a/icon.svg.import b/icon.svg.import deleted file mode 100644 index b86e79e8..00000000 --- a/icon.svg.import +++ /dev/null @@ -1,37 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://dvr2c4hedev02" -path="res://.godot/imported/icon.svg-218a8f2b3041327d8a5756f3a245f83b.ctex" -metadata={ -"vram_texture": false -} - -[deps] - -source_file="res://icon.svg" -dest_files=["res://.godot/imported/icon.svg-218a8f2b3041327d8a5756f3a245f83b.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 -svg/scale=1.0 -editor/scale_with_editor_scale=false -editor/convert_colors_with_editor_theme=false diff --git a/project.godot b/project.godot index 11a544f7..bc9445b4 100644 --- a/project.godot +++ b/project.godot @@ -14,7 +14,7 @@ config/name="Pneumagination" config/version="0.8a" run/main_scene="res://Scenes/node_3d.tscn" config/features=PackedStringArray("4.2", "C#", "Forward Plus") -config/icon="res://icon.svg" +config/icon="res://Textures/testtexture.png" [autoload]