Inspiration
I've always been inspired by the legends, Miyamoto, Sakaguchi, Kojima, also from fellow friends like Kyle Pulver, David Carrigg, Peter Taylor Jones, and big shout out to GameDevGoose!
What it does
This is a fastest-time + fastest-time-and-save-the-most-Hikari's daily leaderboard! Build your own course, and have everyone test it out. Use 6 different types of platforms including normal, bouncy, sticky, speed up and slow down (3 different speeds) + plenty of other ideas in the pipeline!
How we built it
This is using Phaser 4.1 (Arcade physics) in strict TypeScript — no game engine plugins, no React, bundled with Vite. The backend is a Hono server running on Devvit's Node runtime with Redis for all state: leaderboards, streaks, and the ghost recordings. The core trick is that courses are deterministically generated from a seed — the same seed produces the exact same course on the client and the server. That's what makes the daily race and every community stage fair to put on a shared leaderboard. "Racing other redditors" is asynchronous: I record each run as a compact stream of positions and play them back as translucent ghosts, so there's no live netcode — it scales to any number of players! (Should :D ) There are no image files — every sprite, the spark, the lanterns, the UI, are drawn procedurally at runtime. That keeps the bundle tiny and gives it a clean hand-made look instead of stock/AI art. On top of that: daily seeded courses with random modifiers (Low Gravity, Mudstorm…), a visual course builder, custom drawable cosmetics, and a "Today's Challenge" system where a scheduled job promotes the previous day's most-upvoted community stage into the daily slot!
Challenges we ran into
Making the GUI and the controls feel and look good for mobile and desktop. Came up with the gas slider, really looking forward to seeing what people think about how it controls on mobile.
Accomplishments that we're proud of
The whole course-building section, I really hope people enjoy!
What we learned
A lot! First project using devvit. Plenty of game balancing, keeping things fun and exciting
What's next for Hikari Rush
Make the builder more interactive and easier to create, and add suggestions! Still would like to get the reddit player to default to "Desktop" instead of the other options, still looking into it though.
Built With
- 2d
- asynchronous
- build
- create
- devvit
- hikari
- platformer
- race
- rush