DEV Community

Takane Ichinose
Takane Ichinose

Posted on

1

Infinite Cars | Car Race Game

Infinite Cars

Description

My first ever game created using a game engine!

Why "Infinite Cars"? Well simply because this is an endless racing game.

This is just a simple time killer when you are bored. This game does not have a specific goal. Just drive the car, survive the game, and dodge all the obstacles with all your might!

I already created many versions of this game, but this is so far is my creation that I feel satisfied the most. Well it's because this is the first time I actually used a game engine.

The computer car has a light artificial intelligence algorithm which it avoids an obstacle to go through. Although, it's not perfect, I'm already satisfied with it.

I read the API documentation, and the code in the examples a lot, for me to understand how to work on this game. Although, I'm pretty sure that my writing is not perfect.

Instructions

As mentioned before, just avoid the obstacles on the road.

You may drag the red car (or the character) to left or to the right to control it.

There is no other controls other than that.

If you feel that the background sound effect is noisy, you may mute it (Located at the top right of the game screen).

Resources

Phaser - JavaScript game engine or framework.

Aseprite - Drawing tool for the game objects .

LMMS - DAW application for the sound effects.

Luckiest Guy - Font used for the texts.

AAP64 - The color palette used for the images and the UI.

https://codepen.io/takaneichinose/project/editor/AMQxen

Qodo Takeover

Introducing Qodo Gen 1.0: Transform Your Workflow with Agentic AI

While many AI coding tools operate as simple command-response systems, Qodo Gen 1.0 represents the next generation: autonomous, multi-step problem-solving agents that work alongside you.

Read full post

Top comments (1)

Collapse
 
alblimubtel profile image
alblimubtel

Infinite Cars is an exciting car race game that offers endless fun with customizable vehicles, high-speed challenges, and diverse race tracks designed to test your skills. Players can immerse themselves in thrilling gameplay reminiscent of popular titles like Drive Zone Online iPhone, which combines realistic driving mechanics with an open-world experience. Whether you're competing for the fastest lap or exploring new terrains, Infinite Cars delivers a captivating experience for racing enthusiasts on mobile platforms.

SurveyJS custom survey software

JavaScript Form Builder UI Component

Generate dynamic JSON-driven forms directly in your JavaScript app (Angular, React, Vue.js, jQuery) with a fully customizable drag-and-drop form builder. Easily integrate with any backend system and retain full ownership over your data, with no user or form submission limits.

Learn more

Best practices for optimal infrastructure performance with Magento

Running a Magento store? Struggling with performance bottlenecks? Join us and get actionable insights and real-world strategies to keep your store fast and reliable.

Tune in to the full event

DEV is partnering to bring live events to the community. Join us or dismiss this billboard if you're not interested. ❤️