[HN Gopher] Show HN: I made a Sonic runner game in JavaScript
___________________________________________________________________
Show HN: I made a Sonic runner game in JavaScript
Author : JSLegendDev
Score : 28 points
Date : 2024-10-18 21:06 UTC (4 days ago)
(HTM) web link (jslegend.itch.io)
(TXT) w3m dump (jslegend.itch.io)
| ramiborni99 wrote:
| I love it! how did you make it, with plain javascript code? or
| with specific engine?
| defrost wrote:
| 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?
| wormlord wrote:
| Hey they're dogfooding.
| mmcallister wrote:
| 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?
| amazingamazing wrote:
| What's the relevance of this comment? Why does it matter if
| it's ai or not? Plenty of people only read titles
| rexreed wrote:
| 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 wrote:
| 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.
| VyseofArcadia wrote:
| 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 wrote:
| That remix absolutely _rules_. Thanks for the link!
| agentultra wrote:
| 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.
| daniel_sim wrote:
| 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
| -\\_(tsu)_/-
| JSLegendDev wrote:
| 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 wrote:
| If SEGA have a problem with it, I say you swap the sprites for
| steamboat willie.
| JSLegendDev wrote:
| lol xD
| netol wrote:
| source code: https://github.com/JSLegendDev/sonic-runner
| menacingly wrote:
| This is great!
| dandigangi wrote:
| Watched some bits of your video on YT. Really well done! Great
| lessons.
| JSLegendDev wrote:
| Thanks!
| kingsloi wrote:
| 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
| alucardo wrote:
| 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.
___________________________________________________________________
(page generated 2024-10-22 23:00 UTC)