Hacker News new | past | comments | ask | show | jobs | submit login
Show HN: I made a Sonic runner game in JavaScript (jslegend.itch.io)
52 points by JSLegendDev 3 months ago | hide | past | favorite | 27 comments



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


That remix absolutely rules. Thanks for the link!


Do yourself a favor and spend some time just browsing OverClocked ReMix. After 25 years, there is a ton of content on the site, and it is just one of the best communities on the internet.


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.


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.


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


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


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


lol xD


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


Simple and very nice! i wonder if adding the possibility to lose the rings and die only when hit while having no rings left just like in a real Sonic game would add more fun.



I really don't like the camera shifting on jump. Can that be a toggle?


Watched some bits of your video on YT. Really well done! Great lessons.


Thanks!


This is great!


I love it! how did you make it, with plain javascript code? or with specific engine?


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?


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?


As noted the story got second chanced.

The comment I made was (as of now) made three dayas ago, I addressed a brand new account that made a run of "cookie cutter" comments on older threads at the least active HN time (my peak reading time zone in Australia).

There are runs of such things, often much more obvious, "insincere" pretend engagement to bed a new account in prior to using it in a gang to promote | vote up other material.

HN likes a good signal to noise ratio and not cheap hype accounts.

I engaged in order to see if was being run by a human paying attention - I (an ordinary user) seem to have been given extraordinary ban abilities - I've [flag]'d a lot of obvious bot comments in past months and now anything I flag turns [dead] _immediately_.

Clearly I've been blessed with an extraordinary mini-mod super power and I prefer to exercise it with caution and check whether an account is bot or not before killing it.

This I'm leaving, there are eyeballs and attention which gets others to look at new accounts with fresh eyes and wider community involvement.


Ah - thanks for the heads up! Been on HN for 14+ yrs and first time I noticed that ;)


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

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


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?


Hey they're dogfooding.


What’s the relevance of this comment? Why does it matter if it’s ai or not? Plenty of people only read titles


I mostly read comments :) I care very much that someone more attentive than me point out if a comment is machine generated.


Nah, I think a lot of people read comments.

Personally sometimes I don't even read the article, I only read the comments




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: