How to give a 2D character a new weapon, and why just asking for it fails
In an RPG or a brawler, finding a new weapon is one of the best moments. Your knight drops the sword and picks up a spear, and now the attack feels different. Making that happen with AI-drawn characters turned out to be trickier than we expected, so on 8 November 2026 we tested it properly.
Here is what failed, what worked, and how to ask for it in your own game.
The setup
We took three characters that all start with a sword, each in a different style: a side-view pixel knight, an isometric painted one and a top-down painted one. Each got six clips per sheet. Then we tried to hand them an axe and a spear, two different ways, and counted how often the new weapon was actually in the character's hand in each frame.
The obvious way failed badly
The first thing anyone would try is to keep the same character picture and just say "holding an axe" when asking for the moves. It barely works. With the sword still in the starting picture, the axe showed up in 20% of the figures. The spear showed up in none. The model kept drawing the sword it could see, whatever the words said.
This is worth knowing even outside Tyrbo. With picture-guided AI, what is in the picture beats what is in the words.
Way one: a new picture for each weapon
So we made a new picture first: the same character, holding a spear in place of its sword, drawn with the original as a reference. Then we made the sheet from that new picture.
That worked very well. The axe and the spear were held in 98% of the figures, and every other measure stayed at the sword's level. Better still, the spear moved like a spear. It thrust forward where the sword had swung. It is a new moveset, not just a new prop.
Way two: one sheet holding a stand-in
The second idea was cleverer. Draw the character once, empty-handed, gripping a plain cyan rod in every frame. Find the rod in each frame, note where the hand is and which way it points, then erase it. Now any weapon can be drawn at that grip later, without making a new sheet.
The rod was found in 354 of 360 frames. A weapon drawn at the grip read as held in 87% of the figures, against 92% for one drawn into the sheet itself. Most of that gap was in the attack swing, 68% against 80%, where a fast arc is hardest to follow.
It is much cheaper per weapon. The catch is that every weapon moves like the stand-in, which is gripped like a sword hilt. A spear on that sheet slashes instead of thrusting.
What we chose, and why
We went with way one, a sheet per weapon. A cheap swap that moves wrong is not much of a reward for finding a new weapon. When a game in Tyrbo has characters that change weapons, the builder now makes one sheet for each weapon from its own picture, and the game swaps between them.
We fixed one more thing along the way. A sheet's frame has to be big enough for the furthest thing the character swings, so a spear needs a taller frame than a sword. In one test brawler the knight stood 160 pixels tall in frames 179 tall with a sword, 220 with a greatsword and 234 with a spear. Drawn by its frame, the knight visibly shrank each time it changed weapon, to 82% and then 76% of its size. Now the game sizes the character by its body rather than its frame, so it stays the same height whatever it is holding.
The same lesson in 3D
3D characters in Tyrbo are made with empty hands too, and a sword, shield or bow is made as an item of its own and put in the hand. Finding where the hand should hold an item turned out to be a job for plain geometry, not for AI. On five items whose grips we knew exactly, the code found each grip within 1.4% of the item's length. A vision model asked to mark the same grip missed every one.
How to ask for weapon swaps in your game
- Name the weapons in your plan. "The hero starts with a sword, finds a spear in the second dungeon and an axe in the third." That tells the builder up front to make a sheet for each.
- Say how each should move. A spear thrusts, a hammer swings slow and heavy, a dagger stabs quickly. Different weapons are much more fun when the attack itself changes.
- Keep the list short. Two or three weapons that each feel different beat ten that all swing alike.
- Check the swap on your phone. Change weapons mid-fight and watch whether the hero stays the same size and the new weapon stays in the hand through the whole swing.
If you are building an RPG or a brawler, this is one of the cheapest ways to make progress feel real. The painted character post covers how the moves themselves are made.
Questions people ask
Can I let the player change weapons in an AI-made game?
Yes. In Tyrbo, a 2D game whose characters change weapons gets one sprite sheet per weapon, each drawn from its own picture, and the game swaps between them. A 3D game puts each weapon in the hand as an item of its own.
Why does the AI keep drawing the old weapon?
Because the starting picture wins over the words. In our test, asking for an axe while the picture still showed a sword gave an axe in only 20% of frames, and a spear in none. Making a new picture of the character holding the new weapon first fixes it.
Will the new weapon change how the attack moves?
With a sheet per weapon, yes: a spear thrusts where a sword swung. That is the main reason we chose it over a cheaper swap that makes every weapon move the same way.
Make the game this guide is about.
Make your gameSign in to get the plan and its concept art. Both are free.