Skip to content

Comment on Show HN: Play the game I'm developing directly on its website

Comments

I tried it out, but it froze up my browser on Firefox + Windows on a pretty well-resourced desktop.

The page loaded fine, but when I hit "Play" everything ground to a halt, and even scrolling the page up and down had a 3-5 second delay.

Oh that sucks. If you don't mind helping me troubleshoot the issue: Does this also happen with a Chromium based browser? Any chance you could profile using Firefox's web tools and send it to me (Find my details on twitter.com/cpojer or on the bottom of cpojer.net).

Firefox has not been a focus for the game as it mostly ships on Chromium/WebKit based browsers/app wrappers, but the landing page should still work great.

It's very laggy on my phone too. (Several seconds input delay.) That's fairly normal for a game made in React though (at least the ones I've tried). Is the paid version also made in React?

For some context, my phone is old (2016) but I do find it amusing that it can run this page with a physics engine and 3D rendering without any lag http://kripken.github.io/box2d.js/demo/webgl/box2d.html

Your game looks great though, and the website matches it perfectly! Nice work

(As an aside, I'd urge you to take the from-scratch ethos just one step further and make you next game without any libraries, or with sensible exceptions like Howler and Pixi.)

Firefox/Linux also runs extremely slow for me and turns on all the fans of my processor. I've got a gaming notebeook. I'll see if I can get it to profile for you

FWIW, it works fine for me on Firefox on an aged laptop (Wayland, Fedora 39)

For a second perspective, i tried it on iPhone 13 Pro using brave and worked fine

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.