Gridwright Start for $1

Pixel Art Tree Generator: Seasons and Wind for Your Game

Make pixel art trees and plants from a seed: 25 kinds, four seasons and a wind loop with no jump, then set them up to sort and sway in a Godot 4 game.

Pixel Tree & Plant Generator at work
Pixel Tree & Plant Generator at work: Pixel-art trees and plants, with wind.

You need a forest. So you draw a tree, and it takes an evening to get the leaves right. Then you copy it forty times across the map, and the map turns into wallpaper: the same crown, the same bright clump, the same dark gap, over and over. Players see it in a second.

Then the list grows. The game has seasons, so every tree needs four versions. And a still forest looks dead, so each tree should sway. Ten trees in four seasons with an 8-frame wind loop is 320 drawings, before the bushes and flowers.

This guide covers what makes a pixel art tree read well, where variety comes from, how seasons and wind loops work, and how to set trees up in Godot 4. Then it shows the Pixel Tree & Plant Generator doing the job in seconds. You can try it here while you read.

What makes a pixel art tree read well

At 32 or 64 px a tree is a handful of shapes, not thousands of leaves. Five things decide whether it reads:

Pixel Tree & Plant Generator in use
Pixel Tree & Plant Generator in use. Every tool runs in your browser, nothing to install.
  • Silhouette. The outline is what the eye catches first. An oak is a wide, lumpy crown on a short trunk, a pine is stacked tiers, a willow hangs. If two kinds share an outline, no shading will tell them apart.
  • Leaf clusters. Draw the crown as a few big clumps, each with a lit side and a dark side. The clumps make it a tree and not a green cloud.
  • One light direction. Light every plant from the same side as the rest of your game.
  • A small palette. Three to five shades per colour are plenty. Pixel artists often shift the hue too: shadows lean cooler and lights lean warmer, which looks richer than a ramp that only gets darker.
  • Trunk and ground. A trunk that tapers into branches holds the crown up, and a small ground shadow plants the tree instead of floating it on the grass.

At very small sizes, simplify the shape itself. A 16 px tree with every detail of a 64 px tree turns to mush.

Variety from seeds

Generators get variety from a seed: a number that decides every random choice in the plant, such as where each branch grows and how many clumps there are. Change the seed and you get a new tree of the same kind. Keep it and you get exactly the same tree again.

Pixel Tree & Plant Generator in use
Pixel Tree & Plant Generator in use. Every tool runs in your browser, nothing to install.

Useful variety is controlled: twenty oaks that belong to one game, with one palette, one outline style and one light, but twenty shapes. So the controls that matter are the ones a real tree has: canopy, trunk, clusters, density and lean.

One tree, four seasons

Keep each tree's shape and change only what it wears: blossom in spring, fruit in summer, mixed colours in autumn, snow in winter. A player who knows the old oak by the pond should still know it under snow. By hand, that is four versions of every tree, kept in line by eye. From a seed, the shape stays and only the season changes.

Pixel Tree & Plant Generator in use
Pixel Tree & Plant Generator in use. Every tool runs in your browser, nothing to install.

A wind loop with no jump

A wind loop has two traps. The first is the seam: the last frame has to flow into the first, or every tree twitches once per loop. The second is crawling pixels: bend the whole picture and single pixels pop on and off along the edges, so the leaves seem to boil. It looks calmer when leaf clumps move as whole pieces and the sway grows with height, so the trunk base stays planted and the crown moves most.

Explosions
Explosions: Pixel art explosion sprite sheets: fireballs, smoke, nukes, electric, ice, magic, cartoon, 16-128px. One of the 150 packs in Gridwright.

A loop of 8 frames at 8 frames per second lasts one second, slow enough for a light breeze. Use fewer frames for a small tree, more for a big one in the foreground.

The fast way: the Pixel Tree & Plant Generator

The Pixel Tree & Plant Generator does all of this in your browser:

Pixel VFX
Pixel VFX: 100 animated pixel art effects: explosions, hits, magic, fire, smoke and loot bursts as sprite sheets. One of the 150 packs in Gridwright.
  1. Pick a kind. There are 25: Oak, Maple, Birch, Fruit tree, Cherry blossom, Pine, Spruce, Cypress, Palm, Bamboo, Willow, Dead tree, Bush, Berry bush, Fern, Cactus, Prickly pear, Mushroom, Giant mushroom, Flowers, Sunflower, Grass tuft, Reeds, Crystal tree and Glow tree.
  2. Roll seeds. R gives a new seed; the variations view shows a sheet of them, and a click takes one. The same seed always gives the same plant, in every season and at every size.
  3. Shape it. Sliders for canopy, trunk, clusters, density, lean and details, each with a box for an exact value.
  4. Fit it to your game. 9 styles, 3 to 6 shades per colour, your own leaf and bark colours, a palette lock with 10 built-in palettes, an outline of 1 to 3 px and a dithered, solid or soft ground shadow. Every plant is lit from the upper left, with cool shadows and warm lights; in our checks an oak used 10 to 15 colours.
  5. Pick the season. Keys 1 to 4 switch the season, and broadleaf trees can stand bare in winter or keep their leaves under snow.
  6. Turn on the wind. Separate Sway and Flutter, a loop of 4, 6, 8, 12 or 16 frames, 1 to 30 frames per second. The bar under the view says "Loop: seamless" when the loop closes.

What the demo saves

Try it here. The free demo has Oak, Pine and Bush in summer, up to 64x64, and saves one PNG at a time, at 1x to 8x. You can watch the wind, the variations and the little scene, but not save them: with the wind on, Save PNG gives the still plant.

The full tool adds all 25 kinds, all four seasons, sizes up to 256x256 and saved wind loops: a wind sheet with JSON, every frame as a ZIP, a GIF, Godot 4 files, an Aseprite file and the layers as separate sheets. It also makes variation, season and batch sheets, and reads and writes palette files.

Your game, looking finished

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

Put the trees in Godot 4

The full tool's Godot 4 export is a ZIP with the wind sheet, a SpriteFrames .tres and an AnimatedSprite2D scene. Copy the folder into your project and keep the files together: the .tres finds the sheet by its file name. The scene's origin is the trunk base, its texture filter is already Nearest, and it plays the loop by itself. We imported these files in Godot 4.7.2 and drew them in a real window: every pixel of the first frame matched the sheet.

A still PNG from the demo goes in as a Sprite2D. Set Texture > Filter to Nearest on the node, or Project Settings > Rendering > Textures > Canvas Textures > Default Texture Filter to Nearest for the whole game; a new Godot 4.7.2 project starts on Linear, which blurs pixel art. To stand the tree on its trunk, press A in the tool to see the trunk base, then turn off Centered on the Sprite2D and set Offset to minus that point's x and y (in PNG pixels).

Let the player walk behind trees

Put the trees and the player under one Node2D and turn on Y Sort Enabled (CanvasItem > Ordering). Godot then draws whatever stands lower on the screen in front. That only works when each node's origin is where it touches the ground, which is why the tree's origin is its trunk base. We checked it in Godot 4.7.2: with a tree's base at y 60, a player whose feet were at y 56 was drawn behind the trunk, and at y 64 in front of it.

Stop the forest swaying in step

Forty trees that start the same loop on the same frame move like one. Give each tree a small script:

extends AnimatedSprite2D

func _ready() -> void:
	frame = randi() % sprite_frames.get_frame_count(animation)
	speed_scale = randf_range(0.9, 1.1)

Each tree starts on its own frame and runs a little faster or slower. We ran it on six trees in Godot 4.7.2: they started on six different frames and kept playing.

When the trees look wrong

  • Blurry trees. The filter is Linear. Set it to Nearest.
  • The player walks over the trunk. Y Sort is off, or the tree's origin is its centre instead of its trunk base.
  • The forest looks copied. Use more seeds, and mix bushes, ferns and grass tufts in at the edges.
  • The trees clash with your tileset. Lock the palette to your game's colours.

Grow your forest today

Open the Pixel Tree & Plant Generator, press R a few times and keep the trees you like with P. For the ground under them, the Top-Down Tileset has 16x16 autotiles for grass, autumn ground, dirt, sand and snow, so the floor can change season with the forest. Both are part of Gridwright: 44 tools and 150 asset packs, 3 days for $1, then $17 a month.

Your game, looking finished

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