Farming Game Character Sprites: RPG Character Generator
Make farming game character sprites in a pixel RPG character generator: 30 animations in 4 directions, tools in front or behind, and a Godot 4 setup.

The crops grow and the soil tills. Then you look at the player. A farming game's hero doesn't only walk: they hoe, water, chop, mine, fish, carry a crate and climb into bed, all in four directions. Then the town needs a baker, a blacksmith and a kid, each with the same moves.
One farmer with every animation is 440 frames in our Farm RPG pack, and a villager in another shirt is 440 more, unless the art was built to be mixed. The small things go wrong too: the hoe is drawn over the head instead of behind it, the soil turns before the hoe lands, the axe is cut off by the edge of the cell.
This guide covers what a farming game character sheet needs, why tools sit both in front of and behind the body, and how a layered generator turns one rig into a whole cast for Godot 4. You can try it here while you read.
One cell with room for the tool
In the Farm RPG every character frame is 32x32 at 1x, for a game on 16x16 tiles. The character stands on the bottom-centre 16x16 tile of the cell, with the feet on row 25 and the pivot at (16, 27). The space above the head is for a raised axe, and the space in front of the feet is for a hoe striking the ground. A cell cut tight around the body would crop the tool in the frames that matter most.

The rows are always down, left, right, up. Left is the right row mirrored and stored as its own row, so there is nothing to flip in your engine, and the pivot is the same point in every frame, so the farmer doesn't jump when it turns. The 2x and 3x sheets are the same art for 32 and 48 px tiles.
The animations a farming RPG needs
| Sheet | Animations (frames per direction) |
|---|---|
| moves | idle 4, walk 4, run 4 |
| tools | hoe 5, water 4, axe 5, pickaxe 5, sickle 4, shovel 5, saw 4, pickup 4, carry_idle 2, carry_walk 4, carry_run 4, throw 4 |
| fishing | fish_cast 5, fish_wait 2, fish_hooked 2, fish_reel 4, fish_caught 3 |
| combat | sword 4, bow 4, hurt 2, die 4 |
| rest | sit 2, sleep 2, pet 4 |
| riding | ride_idle 2, ride_walk 4, ride_run 4 |
That is 30 animations in 4 directions: 440 frames per character, 200 of them on the tools sheet alone.

Tools in front of the body, and behind it
A tool drawn on one layer can't do this: facing down, the hoe starts raised behind the farmer's head and comes down in front of the body, and facing up, it stays behind the whole time. So each of the 10 tools (hoe, watering can, axe, pickaxe, sickle, shovel, saw, fishing rod, sword and bow) is split into a behind sheet and a front sheet, frame by frame. The stack goes: tool behind, then body, shoes, bottoms, top, overalls or apron, beard, hair, glasses and hat, then tool front, then the effects (dirt, water, chips, sparks, slashes).

The work should land on the swing. The hit frames, counted from 1, are hoe 3, axe 3, pickaxe 3, sickle 3, shovel 2, sword 3, bow 4, throw 3, water 3 and fish_cast 4. Every frame in the JSON also carries anchors: the hands, the tool's angle and length, whether it is in front, its tip (where the soil turns or the tree is hit) and item (where a carried crate, a crop or the caught fish sits).
Layers instead of redrawing
The way out of 440 frames per villager is a rig where every layer paints the same body regions, so each layer fits every pose of every animation. A villager becomes a recipe of layers, with nothing redrawn. The Farmer Generator is that recipe book with a preview:

- Start from a ready character or the bare body. Random dresses one for you; Clear goes back to the body.
- Dress it: body (skin tone), shoes, bottoms, top, overalls or apron, beard, hair, glasses and hat, each from its own list.
- Pick an animation and watch it in all four directions side by side, with the whole sheet below. Hide the tools and effects to export a clean body and put your own tool at the hand anchor.
- Export this group, or all 6, at 1x (32 px cells), 2x or 3x. Each group is a PNG sheet with a JSON beside it, such as
my_farmer_tools_1x.pngandmy_farmer_tools_1x.json: a rectangle and a duration for every frame, a tag per animation and direction (hoe_down,walk_left), the anchors and your recipe.
The full Farmer Generator holds all 225 layers of the Farm RPG: 6 skin tones, 14 hairstyles in 7 colours, beards, overalls, aprons, raincoats, winter coats, summer dresses, scarves and 22 hats, and it starts from 27 ready characters, the Mayor, the Blacksmith and the Fishmonger among them. A Body switch puts the same outfit on a child, two rows shorter with the same head, with 3 ready children in the list; a child's feet and hips sit on the grown-up's rows, so chairs, beds and saddles fit both. A Tool tier select draws the tools in basic, copper, iron or gold with the basic tool's outline in every frame, so your game can swap them in place on an upgrade.
Every Gridwright asset pack, made to fit together, and all 44 tools for the fiddly work, with every new release, for $17 a month. Try it in your own game first: 3 days for $1 with every tool and up to 10 packs. Cancel any time.
Start: 3 days for $1 See everything it includesWhat the demo does
Try it here. The demo is the generator's free version, with "a few layers", as its own note says: the Farmer and the Farm Girl and the 11 layers they are made of (2 skin tones, 2 pairs of boots, 2 T-shirts, 2 overalls, 2 hairstyles and a straw hat). It plays all 30 animations in four directions with the 10 tools and the effects, and exports every group as a PNG sheet with its JSON at 1x, 2x or 3x, enough to test the Godot setup below. The full tool adds the rest of the layers, the characters, the children and the tool tiers, and saves your work to your account.

Bring the farmer into Godot 4
Put the six PNG and JSON pairs in your project, attach this script to an AnimatedSprite2D under your CharacterBody2D and call load_farmer("res://my_farmer") once. Set facing from your movement and call act("walk") or act("hoe"):

extends AnimatedSprite2D
const GROUPS := ["moves", "tools", "fishing", "combat", "rest", "riding"]
const ONCE := ["hoe", "water", "axe", "pickaxe", "sickle", "shovel", "pickup", "throw",
"fish_cast", "fish_caught", "sword", "bow", "hurt", "die"]
const HIT := {"hoe": 2, "water": 2, "axe": 2, "pickaxe": 2, "sickle": 2, "shovel": 1,
"sword": 2, "bow": 3, "throw": 2, "fish_cast": 3} # the hit frames above, minus 1
signal work_done(action: String, facing: String)
var facing := "down"
func load_farmer(prefix: String) -> void:
var frames := SpriteFrames.new()
frames.remove_animation("default")
for group in GROUPS:
var sheet: Texture2D = load("%s_%s_1x.png" % [prefix, group])
var data: Dictionary = JSON.parse_string(FileAccess.get_file_as_string("%s_%s_1x.json" % [prefix, group]))
for tag in data.meta.frameTags:
var anim: String = tag.name # hoe_down, walk_left, carry_idle_up ...
var first: int = tag.from
var last: int = tag.to
frames.add_animation(anim)
frames.set_animation_speed(anim, 10.0)
frames.set_animation_loop(anim, not ONCE.has(anim.rsplit("_", true, 1)[0]))
for i in range(first, last + 1):
var r: Dictionary = data.frames[i].frame
var atlas := AtlasTexture.new()
atlas.atlas = sheet
atlas.region = Rect2(r.x, r.y, r.w, r.h)
frames.add_frame(anim, atlas, data.frames[i].duration / 100.0)
sprite_frames = frames
centered = false
offset = Vector2(-16, -27) # the pivot (16, 27): the feet stand on the node's position
texture_filter = TEXTURE_FILTER_NEAREST
frame_changed.connect(_on_frame_changed)
func act(action: String) -> void:
play(action + "_" + facing)
func _on_frame_changed() -> void:
var action := String(animation).rsplit("_", true, 1)[0]
if HIT.has(action) and frame == HIT[action]:
work_done.emit(action, facing)
Every frame keeps its time from the JSON: at a speed of 10, a 600 ms frame gets a duration of 6, so the idle holds its first pose for 0.6 s. The 14 actions in ONCE play once and everything else loops. work_done fires on the hit frame, so connect it and turn the soil of the tile the farmer faces there.
We ran it in Godot 4.7.2 on the Farmer exported in this layout: 120 animations and 440 frames came out with the right counts, the idle kept its 0.6, 0.4, 0.12 and 0.12 s, and the hoe facing right fired work_done 0.2 s in, on its third frame. A kid exported from the full generator loads the same way with load_farmer("res://my_kid").
For the window and scaling, see the Godot pixel perfect settings. The Godot Animation Scene Builder takes sheets with their JSON and gives you a CharacterBody2D scene with a movement script.
When the farmer looks wrong
- The tool is on the wrong side of the body. The behind and front sheets are on one layer or in the wrong order.
- The farmer floats or sinks into the tile. The sprite is still centred, or the offset isn't (-16, -27).
- The soil turns too early. The work runs on the button press. Use the hit frame, minus 1 for Godot's
frame. - The farmer freezes after a swing. A one-shot action stops on its last frame: play idle when
animation_finishedfires.
FAQ
What size should farming game character sprites be?
For a game on 16x16 tiles, a 32x32 cell at 1x leaves room for raised tools while the character stands on one tile. The Farm RPG's 2x and 3x sheets fit 32 and 48 px tiles, and RPG Maker MV and MZ use the 3x art.
Can I mix in villagers from other packs?
Yes: the rig is shared with the Cozy Villagers and Modern People packs, so characters from all three mix in one game.
Give the farm its people today
Open the Farmer Generator, start from the Farm Girl, change her hair, export all 6 groups and drop them into the script above. The Farm RPG pack has the same layers as PNGs, the 27 characters as finished sheets and Godot SpriteFrames, and the farm to put them on. Both are part of Gridwright, with 44 tools and 150 asset packs.
Every Gridwright asset pack, made to fit together, and all 44 tools for the fiddly work, with every new release, for $17 a month. Try it in your own game first: 3 days for $1 with every tool and up to 10 packs. Cancel any time.
Start: 3 days for $1 See everything it includes