Seems like i dont really get how to clear local storage... i tried to make a button that when clicked would clear the storage and restart the game (for testing purposes) but i dont know how to do it.. :c
Could anyone here help me pls?
I would do it like this:
Button | On clicked -> LocalStorage | Clear storage; Browser | Refresh[/code:t7nfticj]
That doesnt work
Develop games in your browser. Powerful, performant & highly capable.
Ah, I forgot Local Storage is asynchronous. The "Browser | Refresh" should be moved to a new event "Local Storage | On storage cleared".