Added service worker for offline support#170
Open
zainojdaf wants to merge 3 commits into
Open
Conversation
Add service worker registration for offline support.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
So basically how this works is you load the game offline, wait 10-15 seconds for it to load the main assets, then go in any level you want, even online levels, paste the ID and play the level for 5-10 seconds, then you NEED TO go to the main levels page, and when you are offline you can click on the [LEVEL NAME] because when you play a level it saves in the main levels page! NOTE: Don't close the web-dashers page!
Also, the editor is always offline, and you can change your icons offline. When you load a level offline you didn't load online, it just doesn't load the level, so it immediatly exits out. You cant really click it.
Screen recording 2026-06-12 10.56.05.webm