# Claude Code + Defold = immediate success!

**URL:** <https://forum.defold.com/t/claude-code-defold-immediate-success/82544>\
**Category:** Showcases\
**Created:** [March 16, 2026, 8:23pm UTC](https://forum.defold.com/t/claude-code-defold-immediate-success/82544 "2026-03-16T20:23:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![anton.petrov.83](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/anton.petrov.83/32/5232_2.png) [@anton.petrov.83](https://forum.defold.com/u/anton.petrov.83)\
**Post date:** [March 16, 2026, 8:23pm UTC](https://forum.defold.com/t/claude-code-defold-immediate-success/82544/1 "2026-03-16T20:23:49Z")

</div>

Hi!

I really wanted to try Claude Code for making games in some engine, and I had even started building an MCP server for Unity. But this evening I decided to try Defold because it’s small and all of its assets are text files.

I took the War Battles Tutorial and simply told Claude, “follow the instructions in README.md.” At first, nothing worked, mostly because it didn’t understand the file formats. That was obvious, but I still wanted to try it.

Then I told Claude to find Defold’s file formats and write them down in `CLAUDE.md` as examples and instructions. After that, Claude found the `.proto` files in the Defold repository that describe the file formats and used them as a reference.

After that, it started implementing the tutorial again. In the end, everything was done, but the project wouldn’t build because of a few errors. Because of some extra fields in the sprite atlas, I got the error: “The Material does not support paged Atlases, but the selected Image is paged.” I fixed that by hand and updated `CLAUDE.md`.

There was also an incorrectly specified material for the font, which I also fixed manually. After that, the project built successfully, but Claude had made the entire map out of empty tiles, so I replaced them with grass tiles — and that was it!

UPDATE:  
Okay, I fed Claude the rest of the tutorial so that the tanks would spawn randomly, move around, shoot, and have different animation directions for the player. Along the way there were a few small bugs, but Claude fixed them on its own.

I think it would be great to put together a set of skills for Claude so that anyone can start making game prototypes with it right away without any hassle.

UPDATE:

After checking out the [Agent Config](https://forum.defold.com/t/agent-config-collection-of-agents-md-and-skills/) I can see how naive this post is. But I’ll leave it up anyway for the visibility of the topic and to encourage others who are just getting into agentic engineering in gamedev, and especially with Defold.

---

<div class="post-metadata">

**Author:** ![BunBunBun](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/bunbunbun/32/25691_2.png) [@BunBunBun](https://forum.defold.com/u/BunBunBun)\
**Post date:** [March 17, 2026, 7:28am UTC](https://forum.defold.com/t/claude-code-defold-immediate-success/82544/2 "2026-03-17T07:28:59Z")

</div>

Have you tried to use [Agent Config](https://forum.defold.com/t/agent-config-collection-of-agents-md-and-skills/) by @aglitchman ? In my case, AI experiments became more successful after adding skills.

---

<div class="post-metadata">

**Author:** ![anton.petrov.83](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/anton.petrov.83/32/5232_2.png) [@anton.petrov.83](https://forum.defold.com/u/anton.petrov.83)\
**Post date:** [March 17, 2026, 8:22am UTC](https://forum.defold.com/t/claude-code-defold-immediate-success/82544/3 "2026-03-17T08:22:38Z")

</div>

I have not heard of that. Thank you!

Since I am learning I am trying to do stuff at least once my-self, so I started doing something similar ( as I see now) but yeah @aglitchman did a lot there.

Again, thanks for sharing!

---

<div class="post-metadata">

**Author:** ![schlista](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/schlista/32/33758_2.png) [@schlista](https://forum.defold.com/u/schlista)\
**Post date:** [March 17, 2026, 2:06pm UTC](https://forum.defold.com/t/claude-code-defold-immediate-success/82544/4 "2026-03-17T14:06:57Z")

</div>

I use Claude Code, ChatGPT Codex, and Gemini Pro.

Gemini Pro sucks. Claude and ChatGPT trade blows. One day Claude is amazing then it gets stupid. And vice-versa. ChatGPT codex gives you a lot more tokens than Claude Code as well.

The best bang for the buck is actually running Defold Kit in VS Code. And getting GitHub Copilot for $10. It actually gives you access to ALL the models. And it actually does better than the model itself. For example, Claude Code (sonnet 4.6) does decent with the Claude Extension; however, it actually performs better using the copilot github chat. Not sure why, but it does.

I think they give a free trial, I highly recommend it.
