logoalt Hacker News

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

518 pointsby iceberger2001last Thursday at 1:52 AM131 commentsview on HN

Comments

kortextoday at 7:47 AM

Super fun! But the text does get in the way mid-combo.

lagniappetoday at 5:31 AM

This thing is so fun. My best was 17, better than 94% :)

potatoproducttoday at 5:40 AM

Good fun, my highest was 30, it took a while!

karim79today at 5:52 AM

Brilliant game. Thank you so much for this.

oliver236today at 2:32 PM

allow me to use space and not click!!!!

dawietoday at 8:51 AM

Super cool, super addictive :-)

WhereIsTheTruthtoday at 8:37 AM

When you go fast, the text in the center ruins visibility, hurts gameplay

Good art style, terrible UX

You didn't play the game you created

kokopellilast Thursday at 2:49 AM

This is great. Very addicting.

zerobitfliptoday at 11:58 AM

This is pretty cool, Great stuff!

alfiedotwtftoday at 1:18 PM

Love this! Only request is don't display Godlike etc where you are because I've found when it comes up, you can't see where you are and so miss the next first-chance

show 1 reply
imirictoday at 8:26 AM

This is neat, but the tap to release controls are unintuitive for me. I much prefer the variant of this game that uses hold, drag and aim as input. This allows much greater control, is more engaging, and thus feels more rewarding and fun. Plus, there's no waiting period for the ball to circle back to where you want it to be.

Tangentially, this is also why I dislike the modern trend of auto-shooters and idlers. The twin-stick shooter is by far the superior control scheme for this type of game, yet for some reason people enjoy having less control and engagement. I never got the appeal.

iceberger2001today at 6:47 PM

[dead]

neuzhoutoday at 7:46 AM

[dead]

tuo-leitoday at 6:29 AM

The single HTML file as a distribution format is really underrated. No server, no CORS issues, no CDN — just open the file. It works offline, you can email it, and it'll still work in 10 years.

I ship self-contained HTML files for a different project and the sneakiest gotcha is </ sequences inside inline <script> tags — the browser sees </ and tries to close the script tag prematurely. You have to escape them as <\/. Curious if the author ran into that one.

Fun concept for the format too — games are the perfect use case.

show 1 reply