aboutsummaryrefslogtreecommitdiff
path: root/game/project.godot
Commit message (Collapse)AuthorAgeLines
* Add Native Icons BrickPi2024-01-20-1/+3
|
* Update to Godot 4.2 Stable Release Spartan3222023-12-05-1/+1
| | | | | Fix compiledb Fix memory leak caused by LoadLocalisation::add_message's translations static variable
* Add Window Override: Spartan3222023-09-07-3/+10
| | | | | Hides window for help argument (`./program -- --help`) Hides window until video options loading is complete
* Tidying: missing req comments, submodules, hotkeys Hop3112023-07-21-4/+23
|
* Add GameLoader Autoload to handle global loading data Spartan3222023-07-09-0/+1
| | | | | | | | | | | | | | Remove GameDebug, Localization, and ShaderManager from Events.gd Renamed OptionsSingleton class_name to OptionsEventsObject Add Events.Loader to handle Loader events (which are global signals) Make GameDebug singleton with static functions and property Make Localization functions static Move ShaderManager variable to GameLoader Move Events._define_filepaths_dict to GameLoader.define_filepaths_dict Move game initialization from LoadingScreen.gd and Events.gd to GameStart.gd Attach GameStart.gd to GameStart.tscn root Make LoadingScreen generalized and so it is reusable Remove class_name from LoaderingScreen.gd
* Update to Godot 4.1 Stable Release Spartan3222023-07-06-5/+5
| | | | | Fix deferred error in LoadingScreen.update_loading_screen Fix pressed shadow variable warning in SettingCheckBox.gd
* Update file contents according to reorganization Spartan3222023-06-03-8/+8
|
* Added compatibility-mode command line argument Hop3112023-05-25-0/+1
|
* Changed from OpenVic2 to OpenVic Hop3112023-05-17-3/+3
|
* Add SaveManager autoload singleton Spartan3222023-05-12-0/+2
| | | | | | | | | | | | | | | | | | | | | Globally handles save finding, creation, removal, changes, naming, and flushing Globally handles the session tags for the active save Add SaveLoadMenu to GameSession Add Start Date Panel and Save Panel loading to LobbyMenu Includes session tag filter Add LobbyPanelButton and SavePanelButton scene and scripts Add SaveResource to handle saving and loading individual save files Add localization for SaveLoadMenu Expand localization for additions to LobbyMenu Add ButtonContainer variation type to default theme Fulfill: UI-82, UI-83, UI-84, UI-85, UI-87, UI-89, UI-90, UI-91, UI-92, UI-94 UIFUN-82, UIFUN-83, UIFUN-84, UIFUN-86, UIFUN-87, UIFUN-89 FS-28
* Add UI scaling through menu option Nemrav2023-05-10-0/+1
|
* Merge pull request #102 from Spartan322/refine/argument-parsing George L. Albany2023-05-02-0/+1
|\
| * Add ArgumentParser Spartan3222023-05-02-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Streamlines parsing of commandline arguments Arguments reside in ProjectSettings as `openvic2/data/arguments` as a dictionary The dictionary's key is the option name The dictionary is set with default values This enables project setting overrides for arguments (user specified arguments take priority) Add help commandline option Prepare for removal of GameDebug.gd Add game project description
* | Terrain channel for provinces + generated minimap Hop3112023-04-28-2/+1
|/
* Refurbish UI elements Spartan3222023-04-24-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move GameSession MusicPlayer to below OptionsMenu Ensures the MusicPlayer appears above the OptionsMenu Add Save and Quit/Resign to GameSessionMenu resign/quit popup To allow the player to save and resign/quit more quicker Remove GameSessionMenu hide on OptionsMenu open Renamed many UI elements to better reflect their purpose Add SessionButton theme_type_variation to GameSession buttons Add SessionButton style similar to TitleButton Disable 3D for dialog windows Change _play_pause_display_button pause text to "⏸ " Change IncreaseSpeedButton text to + Change DecreaseSpeedButton text to - Change Minimap NinePatch frame to function like a nine patch Rename actions map_zoomin and map_zoomout to map_zoom_in and map_zoom_out Change ProvinceOverviewPanel to a PanelContainer Reorganize ProvinceOverviewPanel to better use container functionality Optimize MusicPlayer Enables one line support for MusicPlayer Add warning to StyleBoxWithSound to avoid UI elements with toggle functionality
* Add terrain map Hop3112023-04-14-0/+49
| | | | | | | | | | | | With Directional movement using WASD With Directional movement using arrow keys With Click-Drag movement using middle mouse button With Province identifiers With Province shape loading With Province rendering With Province selection With Province overview panel With Color lookup texture
* Added Localisation (#77) Hop3112023-03-30-0/+2
| | | | | | | | | * Added Localisation * Removed `.gdignore`s. * Localisation dir path and Locale name cleanup * Incomplete entry warnings + README
* Add automated git release info retrieval on export Spartan3222023-03-29-1/+1
| | | | | | | | | | | | | | Makes debug easier to see and handle Add commit hash label to MainMenu Add click-copyable tag, commit hash, and checksum to main menu Rename VersionChecksumBox to ReleaseInfoBox Move ReleaseInfoBox to separate scene and script Add GIT_INFO.gd for generic project running Add openvic2-plugin addon for handling export plugin Replaces GIT_INFO.gd on export Setup build workflow to retrieve commit hash, tag, and release
* Make default_theme.tres the project theme Spartan3222023-03-23-0/+4
| | | | | | | | | | | | | | | | | | | | | | Remove default_theme as theme for GameMenu Usable as a result of Godot 4.0.1 update Move theme resources to theme directory Move theme_assets to theme/assets For better theme organization Remove scene/node specific theme overrides Use theme_type_variation for nodes in MainMenu, OptionsMenu, CreditsMenu Decreases coupling of theme values in scenes and the scene tree Assign theme resources to MainMenu, OptionsMenu, and CreditsMenu Separates general default theme values and scene specific theme values Reduces the specificity and verbosity of theme type variation names Rename MainMenu/Panel/VBox/Margin2 to BottomMargin For better clarity of Margin's purpose Add newline to end of CreditsMenu.gd
* Add splash opener functionality Spartan3222023-03-11-1/+3
| | | | | Add boot splash screen Implement splash skip on interaction
* Add debug mode Spartan3222023-03-11-0/+1
| | | | Fulfills requirement SS-56
* Add Music Player (#49) ClarkeCode2023-03-06-0/+1
| | | | | | | | | | | | | | | * Adding MusicConductor * Added selectable songs and player visibility toggle * Refinements to the music system * SongInfo compatability with various audio formats * Moved UI reqs to editor description; flipped conditions to exclude music .import files * Made selection of the first music track extension-agnostic * Fixed visual bug with play/pause button when interacting with progress slider
* Refactor SFX into a SoundManager (#45) George L. Albany2023-02-27-1/+1
| | | | | | | | | | | | | * Refactor SFX into a SoundManager Add SoundManager able to play arbitrary sound streams Make SoundManager use only one AudioStreamPlayer per bus Add StyleBoxWithSound Add Kenney UI Audio click3.wav Removed sound play via pressed signals in MainMenu Make Button_MainMenu pressed style StyleBoxWithSound with click3.wav sound * Add playing mp3 files by name to the SoundManager * Fix missing quotation
* Add Sound Effect Manager (#25) BrickPi2023-02-26-0/+1
|
* Add Keychain plugin for Controls tab (#15) George L. Albany2023-02-21-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add modified Keychain plugin for future Controls tab See https://github.com/Orama-Interactive/Keychain/tree/4.x Added Events autoload singleton for global eventing namespace Added Events.Options for global options functionality * Add Controls tab via Keychain plugin Use Events.Options for save, load, and reset of settings Separate OptionMenu tabs into scene files Add locale saving and loading Refactor SettingNodes scripts for more generalized use Remove random prints Remove useless spinbox signal connection Make Resolution consistently use Vector2i * Implement Godot project overrides for resolution and window mode Overrides are necessary as Godot does not load resolution or window mode on startup, so an override is necessary to ensure this happens. Add null checks to SettingHSlider and SettingOptionButton * Fix incorrect resolution value in ResolutionSelector * Correct project settings override behavior in editor Godot normally tries to overwrite the project settings in the editor, a template feature tag must be used to prevent the editor from overwriting the project.godot settings. * Fix Orama-Interactive/Keychain#8
* Add stylized theme to MainMenu (#12) George L. Albany2023-02-21-0/+9
| | | | | | | | | | | | | | | | | | | | * Add stylized theme to MainMenu Increase message queue memory size by 4 Add default_theme.theme Refactor SampleGame.gd to better account for refactoring via @export nodes Properly aligne SampleGame scene Reorganize MainMenu into its own directory Add main_menu_border_paper.png Add main_menu_button.png * Add background image to theme Implement StyleBoxCombinedTexture Allows drawing an array of textures all at once Make MainMenu Panel a PanelContainer for consistency * Implement MainMenu button press, hover, and focus styles Improve MainMenu button disabled style * Add Godot's latest documentation to the README.md
* Implement a usable settings UI, should fulfill: Spartan3222023-02-10-1/+23
| | | | | SS-58, SS-61, SS-6, SS-9, SS-10, SS-11, SS-13 UI-11, UI-12, UI-19, UI-44, UI-47, UI-22
* Exploration of UI and rudimentary scene switching. Robert Clarke2023-02-08-6/+2
|
* feat(build): Implement scons building George L. Albany2023-01-25-0/+20
feat(engine): Integrate basic Godot project feat(test): Demonstrate Godot using extension feat(dependency): Add OV2-compiler as deps submodule feat(dependency): Add godot-cpp as a submodule feat(git): Ignore Godot 4 files feat(docs): Updated readme with instructions feat: Can call `TestSingleton.hello_singleton()` from GDScript Adds basic workflow support but that is currently disabled