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.
Keeps the game scene persistent while using the 'More Options' menu path. Resume game will now return to the existing scene (game at current place it was left behind). Also removes the old history process which is defunct -- history will now be saved to global/singleton history array, and when history loaded, instantiate a new history scene which reads/pages this array (and saves out later).
Creates a player character singleton (currently just a string), that's updated on load or create character, and displayed in the character pane during the game.
The following updated on this commit:
1. styleboxflat .tres for white and black removed border. As mentioned in the chat, we probably want a different one of these for each (with and without borders)
2. set the baseline font for the TextEdit
3. selected increased font size for the label default
Adds asset folder with the two themes, the fonts and styleboxflats for each.
We discussed keeping this themes location updated and adding it to all projects when we begin work.
Adds character selection to the new game -- with create and load options with file dialog working. Right now this loads and saves text files -- does not update a persistent character object/singleton for example.
Note: this also requires a characterFiles folder in the user:// directory. Example character added to the _toArchive folder for now.
This update does the following:
1. Removes themes from children of control node
2. Sets the dark theme to control node (MenuScreen)
3. Defines 2 styles within the 2 themes (dark and light)
So to change the theme overall, for the control node, just load the needed theme, for example:
theme=load("res://assets/ui_controlNode_light_theme.tres")
1. Removes pre-load singleton scripts from the project settings
2. Sets black background and ui_highContrast_but_theme.tres for buttons
3. Adds focus grab script for temp backgrounds for tab/enter control