Live data from Hacker News

Starfling: A one-tap endless orbital slingshot game in a single HTML file

playstarfling.com

11–20 of 163 posts

Re: Starfling: A one-tap endless orbital slingshot game in a single HTML file

#13

Fun, but the way they fly doesn't quite match my intuition. Why would an object curve when I send it out on the tangent? Wouldn't that be a straight line unless it's affected by a different gravity well?

Yes, you have to imagine a much bigger star beneath the viewport.

Re: Starfling: A one-tap endless orbital slingshot game in a single HTML file

#15
Fun, but dark grey text on a dark background? Bit hard to read a bunch of the text.

It also seems like there's gravity coming from off screen assets (or maybe it's the bottom of the screen?) causing the projectile to curve in unexpected ways, and not be captured as strongly by the gravity of the visible objects as I'd expect.

Re: Starfling: A one-tap endless orbital slingshot game in a single HTML file

#19
The use of the Web Vibration API Navigator.vibrate() is well done! I haven't seen it used much, but it really adds to the game.

(Apparently iOS still doesn't support it [1]? It's been in Chrome for the past 12 years. Maybe someday.)

1. https://developer.mozilla.org/en-US/docs/Web/API/Vibration_A...

Re: Starfling: A one-tap endless orbital slingshot game in a single HTML file

#20

Fun, but the way they fly doesn't quite match my intuition. Why would an object curve when I send it out on the tangent? Wouldn't that be a straight line unless it's affected by a different gravity well?

I imagine it as slingshotting my way up a tree.
Post reply on HN