Hacker News new | ask | show | jobs
by joshstrange 821 days ago
This was cool but then after leaving it running and switching back to the tab caused it to hang until the tab got killed and I lost progress.
2 comments

Sorry about that! I realized too late that the game is really badly optimized once you hit higher levels and start getting chain reactions. Turning off Effects helps for some things.

I wonder how far you can push the DOM. It gets crazy with so many element updates after a while but there are probably many performance improvements that can be done.

I understand, it would be nice if it periodically wrote out the score/etc to localStorage or similar. I got reset to the level I was on but I was up to ~$2K gold if I had gone to the next level that was reset. Far from the end of the world.
I played about an hour before lunch and then went home and was surprised how stable it was, with everything that was going on...

https://ibb.co/S62sY5Z