DEV Community

Hacky Things
Hacky Things

Posted on

Star Catcher: Using ChatGPT and Midjourney make a Game completely from Scratch

Check out my latest video

The gaming industry has consistently pushed the boundaries of innovation, and with the rapid advancements in artificial intelligence, we're entering a new era of possibilities. In our latest video project, I combined the powers of ChatGPT, MidJourney, JavaScript, and PixiJS to develop a game from scratch. Before diving into the project overview, let's briefly explain these powerful tools.

ChatGPT: An AI-driven language model developed by OpenAI, ChatGPT is designed to understand and generate human-like text. It can be a valuable asset for tasks like content creation, code generation, and problem-solving.

MidJourney: An AI-driven image generation tool, Mid Journey can create high-quality visuals and designs based on textual prompts. It's a fantastic resource for developing game assets and graphics.

JavaScript: A versatile programming language, JavaScript is widely used for web development, enabling the creation of interactive and dynamic elements on web pages.

PixiJS: A 2D WebGL graphics library for JavaScript, PixiJS allows for fast, efficient rendering of visuals, making it a popular choice for game development.

Now that you know the tools, I'll give you a high-level overview of the project here, but to truly appreciate the power and potential of these technologies, you'll want to watch the video for yourself.

The Project: Star Catcher - A Space Adventure

Our goal was to create a fun, engaging game called Star Catcher, featuring a player-controlled spaceship dodging asteroids and catching stars. ChatGPT and MidJourney came together to shape the game's design, mechanics, and aesthetics. The project had its challenges, but the combined technologies demonstrated their capabilities in creating a functional, enjoyable game.

As the game took shape, I turned my focus to polishing and refining the gameplay. Some highlights include adding a combo system to reward skilled players, making visual enhancements, and implementing character selection to allow players to choose their favorite color for their spaceship.

Despite the incredible potential of AI-driven technologies, it's important to recognize their limitations. In our project, ChatGPT struggled with certain tasks, like integrating the new character selection feature using JavaScript and PixiJS. However, as I continue to refine my understanding of how to work with these tools, I can leverage their strengths more effectively.

Our Star Catcher project is just the beginning of what's possible when we combine human ingenuity with AI

Top comments (0)