I am using ChatGPT to animate my characters, in less than 5 minutes. Here is how you can do it too:
Published: 2024-04-23 04:28:42



![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vmltuodkm8scljql719n.png)


I have been experimenting a lot with ChatGPT and DALL-E 3. You can create:

🌟 Game Characters/Assets
🌟 Game Logo
🌟 Game posters/marketing materials
And now, Sprite-sheets, so you can add more life to your game.

Here is an example:

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/r3ngum355at6fiq1ovgl.png)


Here is how to do this:

## 🌟 Start a new chat with ChatGPT & Select GPT-4 & DALL-E Plugin

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/cjfq4nxc718c3r9vdmss.png)


## 🌟 Prompt:


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ltdi01nmz03ox8yl5ptd.png)


## 🌟 Revisions

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1i2dfp34hdqmcvgaso5k.png)


You will not get the perfect result on the first go. **You need to provide feedback and train the chat.**


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/pvbhty9p341zpi81kuga.png)



State the problem & ask it to ‘fix it’.


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ciowk1m6di2ip43ie8qg.png)


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ei97dddzopazi0qciy39.png)


Now this is great! But we want 16 frames.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/f64e56gnee3jg40sr5rw.png)



Finally, we have our desired Sprite sheet!
You will not have the perfect sheet here. This is good for experimentation and visualizing different characters.

The next step is to ‘slice’ this sheet and generate a GIF. There are 2 ways you can do this:

**ChatGPT — Data analysis**

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/f50y5tuuqs4bfbaet0ci.png)



Simple and straightforward but not very flexible to customize. It slices the image by dividing the image into 5x3 frames.

[HuggingFace Spritesheet editor](https://huggingface.co/spaces/nagolinc/spritesheet_to_gif)


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9ptbh8qdm6t4rb5fu91c.png)



I prefer this as you can customize the boundaries and specify how many frames in each row exist.

Our final result!


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/58y9ea9qkqktitm087ux.png)


And another one!


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/18oz9is8sbwmlu2wn8e9.png)



You can generate as many characters or item animations are you like.

[Btw, I generated a famous trending game entirely using ChatGPT! Check it out here!](
https://medium.com/@anulagarwal12/i-generated-the-trending-watermelon-game-using-chatgpt-including-the-2d-art-here-is-how-b70a60214454?source=post_page-----eeec5e4f3cdd--------------------------------)


[Subscribe to my YouTube, where I shared how I earned $10k from an AI-generated game!](https://www.youtube.com/channel/UChtVf9R8XKJnHiu9Hejn5Rg)

## Summary
With ChatGPT & the new DALL-E 3, the possibilities are endless. The end result may not be perfect, but it is far better than what it was a year ago.

With upcoming improvements, we will be able to nail pixel-perfect results that we can use in the game!

Stay tuned as I experiment more with gen-AI tools for game dev!

[You can connect with me on LinkedIn where I talk about gen-AI tools, earning $$ from games and game industry trends.](https://www.linkedin.com/in/anulagarwal/)