NHacker Next
  • new
  • past
  • show
  • ask
  • show
  • jobs
  • submit
Show HN: I made a Sonic runner game in JavaScript (jslegend.itch.io)
agentultra 1 hours ago [-]
The rings are in jumping just before an enemy touches you. If you time it right you don't have to jump "on" them. Although sometimes this will throw you into an unavoidable collision.

I'd suggest adding a state transition on sonic that only let's the character destroy enemies when coming down from the peak of the jump. Or else make it a double click to be able to destroy enemies from take off as a special trick move.

The parallax effect on the vertical axis doesn't really make sense in terms of perspective.. the camera isn't travelling up, just the character.... and even then, depending on the distance it probably wouldn't be pronounced like it is here. It's a nice effect but I think the game would be fine if it was a horizontal parallax instead or non at all.

Good job! Great game, fun.

JSLegendDev 1 hours ago [-]
Thanks!

The jumping right before hitting an enemy is intended. If you do this, you can then more reliably land on another enemy right after and gain a x2, x3, etc... combo depending on how many enemies you land on before hitting the ground again.

daniel_sim 1 hours ago [-]
I dunno, the roll-jump-attack method is really fun! I like that it's a bit of a game of chicken. Not really true to sonic but ¯\_(ツ)_/¯
VyseofArcadia 2 hours ago [-]
Slick. I thought it was too slow at first, but that changed. Love the parallax scrolling background.

Might I suggest a remix of Chemical Plant Zone for background music instead of traffic noises? I like this one: https://ocremix.org/remix/OCR04552

epiccoleman 1 hours ago [-]
That remix absolutely rules. Thanks for the link!
dandigangi 36 minutes ago [-]
Watched some bits of your video on YT. Really well done! Great lessons.
JSLegendDev 19 minutes ago [-]
Thanks!
netol 1 hours ago [-]
daniel_sim 1 hours ago [-]
If SEGA have a problem with it, I say you swap the sprites for steamboat willie.
JSLegendDev 1 hours ago [-]
lol xD
menacingly 43 minutes ago [-]
This is great!
ramiborni99 3 days ago [-]
I love it! how did you make it, with plain javascript code? or with specific engine?
defrost 3 days ago [-]
Are you training an AI @ Sendler.ai to make insipid low value comments on days old threads in order to astroturf this account for later boosting of your submissions?

I mean, it looks like that: https://news.ycombinator.com/threads?id=ramiborni99

but that's surely a mistake on my part?

rexreed 2 hours ago [-]
It's odd that the post shows as being only a few hours old, but the comments from ramiborni99 as 3 days old when viewed from the above link (here it shows not as old)? Similarly, your comment shows as a few minutes old, but showing as 3 days old when I view the threads from the above link... Very odd

@dang - what's going on with the timing on these comments and posts when viewed from the user thread link?

Wowfunhappy 33 minutes ago [-]
Usually this means the story is in the second-chance pool. I'm sure more information will come up if you search, dang has posted about it before.

FYI `@dang` is a no-op, to contact dang send an email, he's quite responsive.

mmcallister 2 hours ago [-]
Given the answer to their question on how it's written is quite obvious in the provided link, I'd say if they are using an AI it doesn't appear to be parsing the content and maybe only the titles?
wormlord 2 hours ago [-]
Hey they're dogfooding.
amazingamazing 2 hours ago [-]
What’s the relevance of this comment? Why does it matter if it’s ai or not? Plenty of people only read titles
Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact
Rendered at 21:42:20 GMT+0000 (Coordinated Universal Time) with Vercel.