remix logo

Hacker Remix

Show HN: I made a Sonic runner game in JavaScript

40 points by JSLegendDev 4 days ago | 24 comments

VyseofArcadia 10 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 9 hours ago

That remix absolutely rules. Thanks for the link!

agentultra 9 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 9 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 9 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 ¯\_(ツ)_/¯

kingsloi 8 hours ago

Awesome! Great job!

I made something similar to wish my wife a happy birthday with GDevelop/JavaScript. I thought I had opened the source up... I should do that.

> https://happybirthdaymaddie.com/2020/ > https://editor.gdevelop.io/?project=example://platformer

daniel_sim 9 hours ago

If SEGA have a problem with it, I say you swap the sprites for steamboat willie.

Klonoar 4 hours ago

SEGA are one of the most willing companies to look the other way on fan games.

JSLegendDev 9 hours ago

lol xD