How to save game state with LocalStorage API?

its the same :neutral_face: as before

yeah

Hi @WilliamBoersma31,

Could you please provide a link to the project you’re working with?

whoops sorry wrong link

https://playcanvas.com/editor/scene/1031604

https://playcanvas.com/editor/code/719734?tabs=41515184

Hi @WilliamBoersma31,

I forked your project briefly to see why your collision event wasn’t firing. It looks like the collider you have on the entity “Click to start (1)” is too thin, raise the collider half extent on z to 1.0 and the event will begin firing.

I used console.log() in order to make sure the event was firing.

Hope that helps.

2 Likes