Create Game Using Dall-E and GPT4

As you can see on my other experiments, GPT-4 can actually create new things/concepts by giving it very specific prompts of what you want.

While it might not handle super complex tasks on the first attempt, you can ask AI for specific things to help you along the way.

CODING

“You are an expert software developer and you want to code a very simple 2D game. [Details of the game]. Think step by step to start coding it. I will provide you in later iterations with the different images. For now, you can just use squares with different colors for the characters.”

GPT-4 VISION

You will probably get some errors along the way.

You can do a couple of things.

  • Writing them and ask ChatGPT to solve them for you if you don’t know.
  • Take screenshots of the errors (or the failing gameplay) and send it to ChatGPT now that it has Vision.

GRAPHICS

It’s important to have an idea of which type of game you want to create.

I wanted a simple game with a turkey and ovens in the shape of tubes.

These are the prompts I used:

Turkey: A cartoon turkey character, depicted in an entire profile side view, showing only its side with one eye visible. The character should be colorful, playful, and friendly, with a humorous appearance. The background is white, suitable for use as a mobile game asset.

Objects: A single oven designed in the shape of a straight tube, with visible fire inside, suitable for a mobile game. The oven should be brown and have a playful, cartoonish style. The background is white, making it suitable for use as a game asset.

Once you have the images, you will need to delete the background.

You can easily do that using remove (dot) bg.