aboutsummaryrefslogtreecommitdiff
path: root/game/src
Commit message (Collapse)AuthorAgeLines
* Refurbish UI elements Spartan3222023-04-24-150/+226
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* C++ refactoring + simulation prototype Hop3112023-04-23-49/+118
|
* Double-click a start date to automatically start a game session ClarkeCode2023-04-18-0/+6
|
* Added music player control to GameSession ClarkeCode2023-04-18-1/+13
|
* Added game speed panel to GameSession ClarkeCode2023-04-18-1/+76
|
* Merge pull request #88 from OpenVic2Project/map-drawing Hop3112023-04-18-81/+252
|\ | | | | Further Map Stuff
| * Better province image + terrain + some buttons Hop3112023-04-18-81/+252
| |
* | Removing TestSingleton ClarkeCode2023-04-17-2/+0
|/ | | | Extracted game advancement behaviour to separate class
* Add minimap for terrain map Gone2Daly2023-04-14-64/+300
| | | | | | | | | | With accurate viewport shape display on minimap With Mapmode management With Region mapmode With Province mapmode With Index mapmode With Minimap single-click movement With Minimap drag-click movement
* Add terrain map Hop3112023-04-14-12/+354
| | | | | | | | | | | | 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
* Logo on Mainmenu + icon imports + whitespace cleanup (#82) Hop3112023-04-07-9/+9
| | | | | | | * Whitespace cleanup * Icon import files * Logo on main menu.
* Added Localisation (#77) Hop3112023-03-30-88/+141
| | | | | | | | | * 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-28/+83
| | | | | | | | | | | | | | 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 main_menu_button.png a Texture2D Spartan3222023-03-24-1/+1
| | | | | Make main_menu_button_normal a text resource Easier to manage with Git
* Make default_theme.tres the project theme Spartan3222023-03-23-43/+35
| | | | | | | | | | | | | | | | | | | | | | 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
* Basic Game Session skeleton (#67) Hop3112023-03-22-125/+158
| | | | | | | | | | | | | * Fixed grab_focus error on not is_inside_tree * Moved SampleGame to GameSession/GameSession * Basic GameSession and GameSessionMenu/Escape Menu * Map Control Panel skeleton * Added requirement comments * Removed unnecessary CenterContainer
* Refactor GameMenu to rely on export variables Spartan3222023-03-13-13/+22
|
* Merge pull request #64 from BrickPi/credits-rename BrickPi2023-03-12-9/+7
|\ | | | | Refactor Credits -> CreditsMenu
| * Refactor Credits -> CreditsMenu Joel Machens2023-03-12-9/+7
| |
* | Merge pull request #59 from Spartan322/feature/splash-opener George L. Albany2023-03-12-0/+87
|\ \ | |/ |/|
| * Add splash opener functionality Spartan3222023-03-11-0/+87
| | | | | | | | | | Add boot splash screen Implement splash skip on interaction
* | Added General Tab htmlJoel2023-03-12-75/+232
|/ | | | | | Fix OptionsMenu scaling Options UI extended Connected escape for back
* Merge pull request #60 from Spartan322/feature/debug-mode George L. Albany2023-03-11-0/+20
|\
| * Add debug mode Spartan3222023-03-11-0/+20
| | | | | | | | Fulfills requirement SS-56
* | Fix MusicConductor not loading music on exported executables Spartan3222023-03-11-1/+2
|/
* Fix up MusicPlayer for future work Spartan3222023-03-09-184/+190
| | | | | | | | | | | | | Add music import files Rename MusicUIController to MusicPlayer Adjust MusicPlayer node position, offset, and anchors Adjust MusicConductor, MusicPlayer, and SongInfo style to conform with other GDScript files Correct capability for MusicPlayer to desync from the MusicConductor Adjusted MusicPlayer button text to use media player unicode symbols Adjust MusicPlayer to correct mouse filter problems Adjust MusicPlayer to appear more consistent Correct lack of path_join use in SongInfo Correct mouse filter problems in OptionsMenu
* Merge pull request #51 from Spartan322/tweak/credits George L. Albany2023-03-08-33/+17
|\
| * Fix Credits to use theme type variants over LabelSettings Spartan3222023-03-07-33/+17
| | | | | | | | | | | | | | - Enables reliable theme application Remove LabelSettings resources from Credits Moved theme load from MainMenu to GameMenu scene Removed Button references from default_theme resource
* | Add Music Player (#49) ClarkeCode2023-03-06-0/+231
|/ | | | | | | | | | | | | | | * 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
* Merge pull request #55 from Hop311/req-comments ClarkeCode2023-03-04-9/+79
|\ | | | | Comments marking implemented requirements
| * Comments marking implemeneted requirements Hop3112023-03-04-9/+79
| |
* | Minor naming tweaks. Hop3112023-03-04-10/+10
| |
* | Credits loading sanatization. Hop3112023-03-04-42/+54
|/
* Make LobbyMenu resolution independent Spartan3222023-03-02-24/+31
| | | | Fix MacOS export directory
* Merge pull request #48 from Spartan322/fix/erroneous-theme-changes BrickPi2023-03-01-3/+3
|\ | | | | Make default_theme a text resource
| * Change default_theme.theme to default_theme.tres Spartan3222023-02-27-3/+3
| | | | | | | | | | | | | | | | Makes it a text resource Remove Button font data from default_theme Fixes erroneous theme updates Centralize Label_Checksum font_color into default_theme
* | add: credits.csv - req: FS4 (#16) Brendan Griffiths2023-03-01-3/+219
|/ | | | | | | | | | | | | Requirements met by this PR: SS-17 SS-29 [1] UI-32 UI-34 UIFUN-36 UI-35 UI-38 UIFUN-37 FS-4
* Refactor SFX into a SoundManager (#45) George L. Albany2023-02-27-25/+69
| | | | | | | | | | | | | * 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 skeleton for Game Lobby Menu (#26) nuruvilu2023-02-27-2/+132
|
* Add Main Menu Version and Checksum Labels (#44) BrickPi2023-02-27-2/+50
|
* Add Setting Sanatization (#21) Hop3112023-02-26-126/+215
|
* Add Sound Effect Manager (#25) BrickPi2023-02-26-0/+25
|
* Add Keychain plugin for Controls tab (#15) George L. Albany2023-02-21-200/+350
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-77/+299
| | | | | | | | | | | | | | | | | | | | * 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
* Merge pull request #8 from OpenVic2Project/dev-trailblazing-cpp ClarkeCode2023-02-13-0/+105
|\ | | | | Exploration of uniting Godot UI with Stateful C++ Objects via GDExtension
| * Simple example of Godot querying and updating the state of a C++ object Robert Clarke2023-02-12-0/+105
| |
* | Implement a usable settings UI, should fulfill: Spartan3222023-02-10-219/+602
|/ | | | | 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-11/+278
|
* feat(build): Implement scons building George L. Albany2023-01-25-0/+11
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