Live data from Hacker News

Show HN: SineRider - A game about love, math, and graphing built by teenagers

sinerider.com

41–50 of 54 posts

Re: Show HN: SineRider - A game about love, math, and graphing built by teenagers

#41
post #35

The core game code is remarkably compact. I'm not familiar with game development, but is this usually the case? Very impressive.

Thanks! I don't know if it's unusually compact for web game dev, but I will take a victory lap on the vanilla JS "game engine" we built for this project. We get a lot of very Unity-like behavior in a much smaller package!

Re: Show HN: SineRider - A game about love, math, and graphing built by teenagers

#42
post #35

The core game code is remarkably compact. I'm not familiar with game development, but is this usually the case? Very impressive.

Not usually, but there is a peculiarity with making (effectively) 2D browser games in vanilla-ish HTML/CSS (no react etc) and canvas JS (max jquery) — the UI can be nearly code-free, and significant game graphics logic can be hooked up to HTML/CSS as well, and so the js can focus on actual core mechanic logic, + hooks into HTML events. Accomplishing the equivalent in a native game engine (Unity) or non-HTML rendering…

This is very true! We try to lean hard into the unique strengths of browsers. We have a reasonably sophisticated custom engine managing all the game state stuff but the UI is basically just one HTML/CSS file. Implementing this fairly basic UI in Unity would be a headache, especially because of the nightmare that is mathematical function input. We just use Mathquill to solve that problem, the same library Desmos uses for their graphing stuff. Thank you open-source <3

Re: Show HN: SineRider - A game about love, math, and graphing built by teenagers

#43
post #2

Excruciating 3 minute load time just to press one button and then be shown a YouTube video. It would be amazing to share the link to the YouTube trailer before the 3 minutes of loading. Otherwise, it looks sort of interesting. I'm definitely a fan of the art/color-palette. The demo doesn't really give any clue to what the gameplay will actually be like though, which is unfortunate. Even after watching the trailer, I'…

Took about 4 seconds for me. Still, regardless of load time I found it annoying that that was all that happened

Sorry, didn't mean to disappoint :[

I'll tell you a secret though, there's a playable alpha at https://sinerider.hackclub.dev

sssshh don't tell anyone

Re: Show HN: SineRider - A game about love, math, and graphing built by teenagers

#44

Fun! ...but there's layer after layer of this not working, haha: 3\cos \left(\frac{1}{x\cdot 0.0001}\right)+1.2^{-x+12}-10

Looks to be calculating fine, but the limited sampling resolution we can achieve for the graph means that "high-resolution" functions like this will look… strange. Effectively what you are seeing is one-dimensional aliasing. Unfortunately we're stuck with it until we optimize well enough to achieve full per-pixel graph sampling. We have plans for this, but it's… complicated. It involves transpiling latex to GLSL, which I'm sure will be a super fun task for some motivated student and not at all a massive headache.

Re: Show HN: SineRider - A game about love, math, and graphing built by teenagers

#45

I think the Show HN is a bit premature, you won't get much useful feedback when it's not really playable yet

Yeah, we maybe should've launched the internal alpha for HN :/

If you want to play, it's live at https://sinerider.hackclub.dev!

Re: Show HN: SineRider - A game about love, math, and graphing built by teenagers

#46

Surprisingly low CPU usage for such high frame rate action! Nice work :)

Wow, thank you!! We have a lot of optimization work left haha so it's a pleasure to hear it's working smoothly for you! I'll admit I'm a bit surprised ^_^

Re: Show HN: SineRider - A game about love, math, and graphing built by teenagers

#47
post #2

Excruciating 3 minute load time just to press one button and then be shown a YouTube video. It would be amazing to share the link to the YouTube trailer before the 3 minutes of loading. Otherwise, it looks sort of interesting. I'm definitely a fan of the art/color-palette. The demo doesn't really give any clue to what the gameplay will actually be like though, which is unfortunate. Even after watching the trailer, I'…

[deleted]

Re: Show HN: SineRider - A game about love, math, and graphing built by teenagers

#50

Earlier quoted context omitted.

Good memory! Yes, there is a connection here. I originally built sinerider when I was just out of high school. My ambitions were much bigger than my skillset, so I never really finished it. I started working for Hack Club a few years ago, and this summer we decided to turn our students loose on an old half-baked alpha I had on the shelf. Honestly I thought they might just fix the bugs and touch up the sprites a bit,…

that's amazing, i recalled greatly enjoying and also seeing the potential from your original prototype when i saw it in 2014 (my comment from back then says so)! sounds incredibly gratifying to bequeath it to a new gen of devs and see them exceed your expectations for it, especially as an educator. great job!

Oh hey, I remember you!! I really appreciated your comment, that one in particular stuck with me.

And yeah, it's so much fun. It's a real privilege to work with such motivated, optimistic, hard-working students. They have all the energy that's been knocked out of me since 2014!

Post reply on HN