Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Monster Tamer Ep ?? - Saving & Loading - Part X #86

Closed
scottwestover opened this issue Dec 21, 2023 · 1 comment
Closed

Monster Tamer Ep ?? - Saving & Loading - Part X #86

scottwestover opened this issue Dec 21, 2023 · 1 comment
Assignees
Labels

Comments

@scottwestover
Copy link
Member

The scope of these videos is to cover the following items:

☐ add game menu with option to save game
☐ update menu scene with continue option to load game
☐ on new game, we should reset the player data (pos, monsters, etc)
☐ update data manager to persist monster data and current stats

@scottwestover scottwestover self-assigned this Dec 21, 2023
@scottwestover scottwestover moved this to Todo in Roadmap Dec 21, 2023
scottwestover added a commit that referenced this issue Dec 22, 2023
- added new menu class that will be used for displaying the main menu
in the world scene to the player when they press the `enter`/`return`
key
- created an instance of the menu class in the world scene and connected
the player input controls with the new menu instance

GitHub Issue: #86

Signed-off-by: Scott Westover <scottwestover2006@gmail.com>
scottwestover added a commit that referenced this issue Dec 22, 2023
- updated game menu to show options for saving the game and closing the
menu
- connected player input from world scene to the menu class to allow
the player to select options and move the cursor
- added logic to save the game when the save button is clicked and to
show an informational message to the player

GitHub Issue: #86

Signed-off-by: Scott Westover <scottwestover2006@gmail.com>
scottwestover added a commit that referenced this issue Dec 22, 2023
- updated game menu to show a customized color based on the selected
value from the option menu
- fixed minor bug with showing menu when player is moving around the
scene

GitHub Issue: #86

Signed-off-by: Scott Westover <scottwestover2006@gmail.com>
scottwestover added a commit that referenced this issue Dec 22, 2023
- updated the data manager to have a new reset game method that will
reset the player data back to the default values when a new game is
started
- added new property to the data manager to track when a game has been
started, that way we know if there is saved data
- updated title scene to show continue button if saved data is found
- updated title scene to reset the data when new game is selected

GitHub Issue: #86

Signed-off-by: Scott Westover <scottwestover2006@gmail.com>
@scottwestover scottwestover moved this from Todo to In Progress in Roadmap Dec 22, 2023
@scottwestover scottwestover moved this from In Progress to Ideas in Roadmap Dec 22, 2023
@scottwestover scottwestover moved this from Ideas to Todo in Roadmap Dec 22, 2023
@scottwestover
Copy link
Member Author

scottwestover commented Dec 22, 2023

  • part 1: create basic menu, with basic input, connect to world scene
  • part 2: add menu options and connect with player input
    • to show saving data is working, we can refresh the window to show data is being persisted for player position
  • part 3: fix minor bug in player movement, and add color support for menu based on options data
    • for the minor bug, we could likely fold this into the original two videos
  • part 4: added logic for new game and resetting data, enabling continue button, and updating the title scene
  • part 5: load monster party data from data manager

note: might need to show users how to clear local storage data

@scottwestover scottwestover moved this from Todo to In Progress in Roadmap Jan 4, 2024
scottwestover added a commit that referenced this issue Jan 4, 2024
- updated the data manager to include fields to persist data in monster
party
- updated the data types for monsters to be broken up
- updated battle scene to include new monster properties

Signed-off-by: Scott Westover <scottwestover2006@gmail.com>
scottwestover added a commit that referenced this issue Jan 4, 2024
reverted the change for the data type
for monster data since it is not needed at this time.

Signed-off-by: Scott Westover <scottwestover2006@gmail.com>
scottwestover added a commit that referenced this issue Jan 4, 2024
Signed-off-by: Scott Westover <scottwestover2006@gmail.com>
scottwestover added a commit that referenced this issue Jan 10, 2024
Signed-off-by: Scott Westover <scottwestover2006@gmail.com>
scottwestover added a commit that referenced this issue Jan 10, 2024
Signed-off-by: Scott Westover <scottwestover2006@gmail.com>
scottwestover added a commit that referenced this issue Jan 10, 2024
Signed-off-by: Scott Westover <scottwestover2006@gmail.com>
@scottwestover scottwestover moved this from In Progress to Content Recorded in Roadmap Jan 22, 2024
scottwestover added a commit that referenced this issue Jan 23, 2024
Signed-off-by: Scott Westover <scottwestover2006@gmail.com>
scottwestover added a commit that referenced this issue Jan 23, 2024
Signed-off-by: Scott Westover <scottwestover2006@gmail.com>
scottwestover added a commit that referenced this issue Jan 23, 2024
@github-project-automation github-project-automation bot moved this from Content Recorded to Done in Roadmap Jan 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

No branches or pull requests

1 participant