this post was submitted on 07 Nov 2026
-1 points (44.4% liked)

Gamedev Showcase

247 readers
5 users here now

A community for showing off your (or other peoples) games and progress on them. Text, image, link, etc. posts are all allowed.

This is one of the child communities for !gamedev@programming.dev. Feel free to crosspost posts there if you think its relevant for most game developers.

Rules

Rules

  • Posts must be in english
  • Only post things that are related to showing off games. Other things can be posted in the parent community or a child community dedicated to that if it exists for what you want to talk about.

Credits

Credits

Icon base by Faithtoken under CC BY 3.0 with modifications to add a gradient


founded 3 years ago
MODERATORS
 

"Live it" is the first button in One Life: Reborn Simulator. You get a birth country rolled from real UN birth rates, you press it, and then you live one line per year For about 5 days pressing it froze the whole tab

My save code wraps localStorage.setItem so every save also gets copied into Playgama's storage (their Bridge). The sandbox link has no portal storage, so Bridge just writes the value back with localStorage.setItem... which goes through my wrapper again, which sends it to Bridge again. Endless microtask loop, dead tab The first save happens the moment you press Live it, so pretty much everyone got stuck on screen one

I'd tested on the real portal and on my own phone, where the storage exists. I never once clicked all the way through the sandbox link I was posting in 4 different threads On the 5th someone I'd never seen commented that the page froze when they hit Live it. That's how I found out

The fix keeps every sent value in an in-flight list until it's done, and if the same value comes back it doesn't get sent again. Also added a test that reproduces the loop so it can't sneak back

It works now. Playgama wants 100 plays on the sandbox before the real review, so plays through this link help with that https://playgama.ai/play/7hersnnnxaqs5l

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here