This adds the ability to run percentage ability checks from the JSON module file working on the BCR-RPG SRIS ability scores taken off a new sample CSV char sheet in _userFiles. Needs heavy refactoring and cleanup still.
The following changes are included in this update:
-TestingFiles subdirectory replaced with the _userFiles subdirectory. As discussed in meeting, this is to house what's been previously moved to OS-dependent user directory.
-user paths are removed for a the res://_userFiles location throughout.
-options are now being both dynamically loaded and linking from the JSON.
-The test JSON adds several (silly) options to test having more than 3 and larger test outputs.
-Attempted to incorporate Luke's updates from today in this update.
-NOTE: cleanup/refactor is definitely needed, but got this working today. The CommandProcessor, for example can likely be removed in the next update
Begins retooling the mergedDemo to generate locations and options (and eventually dialog and all) from a module data source. Working with JSON now just to get started, will switch this to DB once it's up and working. Currently generates 'node' arrays and intro text; stopped working on adding dynamic options from these nodes and connecting them.
Additional updates as follows: mods to dark and light themes for text edits, modification to import for CSV parsing and saving to the player singleton text file, adds an alert popup for import in cases where no character has been loaded (won't allow start game), replaces the select character within game to use this import character option, also adds testing files directory overall to Github
Finishes merging of current settings to load all from file, update for display, save to singleton. Also adds currently hard-coded (in the GlobalSaveInstance) file name based on themes choice for use in all control nodes.
Applies that theme load to all current control nodes.
Settings implementation is in progress. Currently loads and displays from expected user://PlayerPreferences.cfg at application start, but just the inputName and riskFactor.
Added a join scene but was unable to get the client-server interaction working properly. Hopefully some of the code can be used as a starting point once we begin working on Dario's UI.
8/14/22 (1513 EST): creates MergedDemo, so far combining Import Character into New Game.
Includes a modification of themes, change of script name from grabFocus.gd --> ImportCharacter.gd and mods for writing the char sheet out with semicolon (;) line ends and colon (:) dividers from keys and values for now.
commit db69386b6d
Author: Andrew Tang <tandrew@gmail.com>
Date: Mon Aug 1 02:48:32 2022 +0800
Test Lobby Working
Server creation works and others are able to join by entering the creator's IP. Shows a list of player names (currently only shows player #)
commit 3fbf2640da
Author: Andrew Tang <tandrew@gmail.com>
Date: Mon Jul 25 02:29:27 2022 +0800
Test Multiplayer
commit 59b74b946a
Author: Andrew Tang <tandrew@gmail.com>
Date: Mon Jul 11 01:16:34 2022 +0800
Complete DiceRoller Singleton Version
Created script: "DiceRoller.gd" to be the only dice script attached to a node and will act as a singleton. A single DieManager object is created in this script. The DieManager's values can be changed and methods can be called through the DiceRoller Script
commit 3a402d4331
Author: Andrew Tang <90939405+TangoDevelopments@users.noreply.github.com>
Date: Sun Jul 3 13:05:28 2022 -0400
Delete .DS_Store
commit c00b24c60a
Author: Andrew Tang <90939405+TangoDevelopments@users.noreply.github.com>
Date: Sun Jul 3 13:05:16 2022 -0400
Delete .DS_Store
commit 4f788de0c7
Author: Andrew Tang <90939405+TangoDevelopments@users.noreply.github.com>
Date: Sun Jul 3 13:05:05 2022 -0400
Delete .DS_Store
commit c20fd85567
Author: Andrew Tang <tandrew@gmail.com>
Date: Mon Jul 4 00:13:15 2022 +0800
Added D10 and easier die selection
commit 59b74b946a
Author: Andrew Tang <tandrew@gmail.com>
Date: Mon Jul 11 01:16:34 2022 +0800
Complete DiceRoller Singleton Version
Created script: "DiceRoller.gd" to be the only dice script attached to a node and will act as a singleton. A single DieManager object is created in this script. The DieManager's values can be changed and methods can be called through the DiceRoller Script
commit 3a402d4331
Author: Andrew Tang <90939405+TangoDevelopments@users.noreply.github.com>
Date: Sun Jul 3 13:05:28 2022 -0400
Delete .DS_Store
commit c00b24c60a
Author: Andrew Tang <90939405+TangoDevelopments@users.noreply.github.com>
Date: Sun Jul 3 13:05:16 2022 -0400
Delete .DS_Store
commit 4f788de0c7
Author: Andrew Tang <90939405+TangoDevelopments@users.noreply.github.com>
Date: Sun Jul 3 13:05:05 2022 -0400
Delete .DS_Store
commit c20fd85567
Author: Andrew Tang <tandrew@gmail.com>
Date: Mon Jul 4 00:13:15 2022 +0800
Added D10 and easier die selection
Created script: "DiceRoller.gd" to be the only dice script attached to a node and will act as a singleton. A single DieManager object is created in this script. The DieManager's values can be changed and methods can be called through the DiceRoller Script
Built a simple UI to test out the dice roller. Can handle multiple die and supports D4, D6, D8, D10, D12, and D20 (Let me know if there shouldn't be a restriction on the valid types of die).
Adds back saving to the history array, and the history page accessible from Game-->More Options. Includes history paging, which iterates through history.
Does not yet display the current history page.