Nitro Nexus: Pixel Rush
2D CANVAS GAME • JAVASCRIPT
Nitro Nexus: Pixel Rush
Role: Solo project: game design, visual assets, and development
Stack: JavaScript, HTML5 Canvas, CSS
Nitro Nexus is an endless arcade driving game. The player steers between four lanes to avoid oncoming cars, collects coins, and uses a temporary Nitro Boost. A collision ends the run and leads to a replay screen.
The game loop
Traffic and coins appear in changing lanes, so each run calls for quick decisions about when to move and when to boost. The game records the coins collected during a run and saves the best score in the browser for the next visit.
Play on a desktop with the left and right arrow keys or A and D. Press N or use the on-screen button for Nitro Boost.
How I built it
I drew the road, cars, coins, and collision effect in Canvas and used a frame loop to update movement and animation. The JavaScript handles random traffic, lane changes, coin collection, collision detection, boosting, and the restart flow. Sprite sheets animate the coins and crash effect, while local storage keeps the best score without an account or server.