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

Think how to implement global state/progress #32

Open
GuillemBarroso opened this issue Feb 7, 2023 · 0 comments
Open

Think how to implement global state/progress #32

GuillemBarroso opened this issue Feb 7, 2023 · 0 comments

Comments

@GuillemBarroso
Copy link
Owner

Right now, everything is initialized from stratch. For instance, if the player breaks the wall of the first room and manages to scape to the second room, the wall will not be broken if the player decides to go back into the first room.

This makes me think that we should implement some sort of global state where we keep track of the player's progress.

We should also use this global state to, for instance, keep track of the player's achievements or discoverings. If he/she finds the recipe on how to build an axe to cut wood, this should be added to the player's recipe list.

Also, this opens the topic of how to save the player's progress between sessions. What are the key elements to store? Position, global progress, inventory, etc... This should be a separate issue.

@GuillemBarroso GuillemBarroso changed the title Think how to implement global status Think how to implement global state/progress Feb 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant