Skip to content

Commit

Permalink
Add project files
Browse files Browse the repository at this point in the history
  • Loading branch information
PunchablePlushie committed Nov 9, 2024
1 parent 6d14656 commit e6071c3
Show file tree
Hide file tree
Showing 102 changed files with 278 additions and 145 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Godot 4+ specific ignores
.godot/
4 changes: 2 additions & 2 deletions .godot/editor/editor_layout.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ dock_filesystem_v_split_offset=0
dock_filesystem_display_mode=0
dock_filesystem_file_sort=0
dock_filesystem_file_list_display_mode=1
dock_filesystem_selected_paths=PackedStringArray("res://")
dock_filesystem_uncollapsed_paths=PackedStringArray("Favorites", "res://", "res://addons/ggs/", "res://addons/ggs/plugin/inspector/type_selector/window/", "res://addons/ggs/plugin/inspector/input_selector/window/", "res://addons/ggs/plugin/inspector/hint_selector/window/")
dock_filesystem_selected_paths=PackedStringArray("res://addons/ggs/templates/display/setting_display_fullscreen.gd")
dock_filesystem_uncollapsed_paths=PackedStringArray("Favorites", "res://", "res://addons/", "res://addons/ggs/", "res://addons/ggs/templates/", "res://addons/ggs/templates/display/", "res://addons/ggs/plugin/inspector/type_selector/window/", "res://addons/ggs/plugin/inspector/input_selector/window/", "res://addons/ggs/plugin/inspector/hint_selector/window/")
dock_3="Scene,Import"
dock_4="FileSystem"
dock_5="Inspector,Node,History"
Expand Down
218 changes: 109 additions & 109 deletions .godot/editor/filesystem_cache8

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion .godot/editor/project_metadata.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@ executable_path="D:/apps/godot/godot.exe"

[recent_files]

scripts=["res://addons/ggs/plugin/singleton/ggs.gd", "res://addons/ggs/plugin.gd", "res://addons/ggs/templates/audio/setting_audio_mute.gd", "res://addons/ggs/templates/audio/setting_audio_volume.gd", "res://addons/ggs/templates/display/setting_display_size.gd", "res://addons/ggs/templates/display/setting_display_scale.gd", "res://addons/ggs/templates/display/setting_display_fullscreen.gd", "res://addons/ggs/templates/setting_input.gd", "res://addons/ggs/plugin/singleton/audio.gd", "res://addons/ggs/plugin/inspector/ggs_inspector_plugin.gd"]
scripts=["res://addons/ggs/templates/display/setting_display_mode.gd", "res://addons/ggs/plugin/singleton/ggs.gd", "res://addons/ggs/plugin.gd", "res://addons/ggs/templates/audio/setting_audio_mute.gd", "res://addons/ggs/templates/audio/setting_audio_volume.gd", "res://addons/ggs/templates/display/setting_display_size.gd", "res://addons/ggs/templates/display/setting_display_scale.gd", "res://addons/ggs/templates/display/setting_display_fullscreen.gd", "res://addons/ggs/templates/setting_input.gd", "res://addons/ggs/plugin/singleton/audio.gd"]

[dialog_bounds]

editor_settings=Rect2(350, 100, 900, 700)
project_settings=Rect2(200, 100, 1200, 700)
28 changes: 14 additions & 14 deletions .godot/editor/script_editor_cache.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -460,20 +460,6 @@ state={
"syntax_highlighter": "GDScript"
}

[res://addons/ggs/templates/display/setting_display_fullscreen.gd]

state={
"bookmarks": PackedInt32Array(),
"breakpoints": PackedInt32Array(),
"column": 0,
"folded_lines": Array[int]([]),
"h_scroll_position": 0,
"row": 4,
"scroll_position": 0.0,
"selection": false,
"syntax_highlighter": "GDScript"
}

[res://addons/ggs/templates/display/setting_display_scale.gd]

state={
Expand Down Expand Up @@ -543,3 +529,17 @@ state={
"selection": false,
"syntax_highlighter": "GDScript"
}

[res://addons/ggs/templates/display/setting_display_fullscreen.gd]

state={
"bookmarks": PackedInt32Array(),
"breakpoints": PackedInt32Array(),
"column": 0,
"folded_lines": Array[int]([]),
"h_scroll_position": 0,
"row": 0,
"scroll_position": 8.0,
"selection": false,
"syntax_highlighter": "GDScript"
}
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,14 @@ View the [documentation](https://punchableplushie.github.io/godot-game-settings-
<img src="https://i.postimg.cc/cCGPB9Kt/ggs-icon.png" alt="GGS icon">
</p>

## 3.2.2

- Fix a type error in the fullscreen setting.
- Change the fullscreen setting to use exclusive fullscreen mode instead.

## 3.2.1

- Fix EditorInterface parse error when the project is exported.
- Fix `EditorInterface` parse error when the project is exported.
- Fix resource loader errors when hte project is exported.

## 3.2.0
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion plugin.cfg → addons/ggs/plugin.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
name="Godot Game Settings"
description="Create and manage game settings in Godot Engine."
author="PunchablePlushie"
version="3.2.0"
version="3.2.2"
script="plugin.gd"
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ func apply(value: bool) -> void:
true:
window_mode = DisplayServer.WINDOW_MODE_FULLSCREEN
false:
window_mode = DisplayServer.WINDOW_MODE_WINDOWED
window_mode = DisplayServer.WINDOW_MODE_EXCLUSIVE_FULLSCREEN

DisplayServer.window_set_mode(window_mode)

if size_setting != null:
var size_value: String = GGS.get_value(size_setting)
var size_value: int = GGS.get_value(size_setting)
size_setting.apply(size_value)

GGS.setting_applied.emit(key, value)
File renamed without changes.
File renamed without changes.
File renamed without changes.
39 changes: 39 additions & 0 deletions icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
37 changes: 37 additions & 0 deletions icon.svg.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
[remap]

importer="texture"
type="CompressedTexture2D"
uid="uid://b16vjyxohf7mc"
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
15 changes: 0 additions & 15 deletions plugin_data.tres

This file was deleted.

64 changes: 64 additions & 0 deletions project.godot
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
; Engine configuration file.
; It's best edited using the editor UI and not directly,
; since the parameters that go here are not all obvious.
;
; Format:
; [section] ; section goes between []
; param=value ; assign values to parameters

config_version=5

[application]

config/name="Godot Game Settings"
config/description="Create and manage game settings in Godot Engine."
config/version="3.2.2"
config/features=PackedStringArray("4.3", "GL Compatibility")
config/icon="res://icon.svg"

[audio]

buses/default_bus_layout=""

[autoload]

GGS="*res://addons/ggs/plugin/singleton/ggs.tscn"

[debug]

gdscript/warnings/untyped_declaration=1
gdscript/warnings/inferred_declaration=1
gdscript/warnings/unsafe_property_access=1
gdscript/warnings/unsafe_method_access=1
gdscript/warnings/unsafe_cast=1
gdscript/warnings/unsafe_call_argument=1
gdscript/warnings/return_value_discarded=1
gdscript/warnings/inference_on_variant=1

[display]

window/size/viewport_width=1280
window/size/viewport_height=720
window/size/resizable=false
window/stretch/mode="canvas_items"

[editor]

export/convert_text_resources_to_binary=false

[editor_plugins]

enabled=PackedStringArray("res://addons/ggs/plugin.cfg")

[filesystem]

import/blender/enabled=false

[internationalization]

locale/translation_remaps={}

[rendering]

renderer/rendering_method="gl_compatibility"
environment/glow/upscale_mode=0

0 comments on commit e6071c3

Please sign in to comment.