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

Automatic Level Load #49

Open
TheYellowArchitect opened this issue Aug 26, 2022 · 0 comments
Open

Automatic Level Load #49

TheYellowArchitect opened this issue Aug 26, 2022 · 0 comments
Labels
dialogue Anything related to death or level or midlevel or powerup dialogues good first issue Good for newcomers low priority Not important or to be focused

Comments

@TheYellowArchitect
Copy link
Owner

TheYellowArchitect commented Aug 26, 2022

Currently, if you close the game, you start all over. This imo isn't a problem, since the game is short, and players who have finished a level, can easily finish it in a single run. It does get annoying if this happens at "Edge of Oblivion" though, because the "Winds of Oblivion" aren't easy, even if you have finished them once.

Anyway, for all the devcycle, I decided to not add save/load functionality. But for integrating steam with my netcoding, I eventually desired the following behaviour: "if (player is in previous level) -> skip current level and go to other player's level"
So, I implemented a level sync pretty much, works from anywhere, even the boat intro. The problem is that this is used exclusively for netcoding.

So, just recycle it and use it for local multiplayer too.
Simply read .json of previous run, and skip to the previous run's level, if its detected the game is unfinished.

@TheYellowArchitect TheYellowArchitect added good first issue Good for newcomers low priority Not important or to be focused dialogue Anything related to death or level or midlevel or powerup dialogues labels Aug 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dialogue Anything related to death or level or midlevel or powerup dialogues good first issue Good for newcomers low priority Not important or to be focused
Projects
None yet
Development

No branches or pull requests

1 participant