Environment design

From claude-dev-suite/claude-dev-suite · View interactive version

Environment design is an AI agent skill from the GitHub repository claude-dev-suite/claude-dev-suite. Environmental art for 2D games: parallax planning (3-5 layers, depth distribution, scroll-speed ratios), foreground/background composition, atmospheric perspective via palette desaturation, silhouette readability, vignettes / framing, tile density vs negative space, environmental storytelling via ti

How to use this skill

Skill file

2D Environment Design

Environment design = how the levels look BEHIND the gameplay layer.

Composition, depth, mood, storytelling.

Parallax planning

Parallax = background layers scrolling at different speeds, simulating

depth.

Layer count

3 layers:  far bg + mid bg + foreground gameplay layer (minimal, cheap)
5 layers:  sky + mountains far + mountains mid + bg props + gameplay (standard indie)
7+ layers: near sky + far sky + mountains far + mid + close hills + grass + foreground (lush)

Most indie 2D uses 4-5 parallax layers. Hollow Knight uses 5-7.

Scroll speed ratios

Each layer scrolls at a fraction of camera movement:

Sky (most distant):     0.05x camera movement
Far mountains:          0.15x
Mid hills:              0.40x
Near props:             0.75x
Gameplay layer:         1.00x (no parallax)
Foreground decor:       1.25x (FASTER than camera, very close)

Foreground that scrolls FASTER than camera creates "I'm passing this"

feeling — leaves rustling, fence in front of player.

Layer color management

Distance = atmospheric perspective. Apply progressively:

sky color (cool blue-gray for daytime).

Stardew Valley sky → mountain → mid hills shows clear desaturation

gradient. Skip this and your scene looks flat.

Sample palette ratios

Saturation ratio     Layer
20-30%               Sky / far bg
40-60%               Distant mountains
60-80%               Mid hills
80-100%              Foreground / gameplay

Composition

Silhouette readability

The gameplay layer (where the player + enemies live) must contrast

with bg. If bg is busy + colorful, gameplay layer might disappear.

Rules:

(e.g., orange for enemies, cyan for collectibles).

Foreground framing

Foreground props (vines, foliage, machinery) frame the action without

blocking it. Use:

walks).

Negative space

Empty space (sky, simple terrain) gives the eye rest. Critical for

readability. Cluttered scenes overwhelm.

Rule of thumb: 30-50% of frame should be visually quiet (sky, blank

terrain, simple gradient).

Vignettes

Darker corners pulling attention to center. Subtle: 5-15% darkening at

corners. Aggressive: 30%+ for moody scenes.

In engines:

Tile density and rhythm

Avoid both:

Aim for rhythm: alternating dense + sparse regions. Platformer

example:

[ground] [sky gap] [pillar] [sky gap] [ground+enemies] [sky gap] [boss arena]

Sky gaps between encounters give breathing room and let players

register what just happened.

Environmental storytelling

Tiles tell the story without text:

Place these intentionally. Don't dress an entire dungeon with worn

paths — readers will miss the meaningful ones. Apply where the story

demands attention.

Light direction in environment

Decide one light direction per scene (or per time of day):

Then EVERY tile should be shaded consistently with that direction.

Inconsistent lighting between adjacent tiles = jarring.

Trick: paint the lighting pass as a separate layer for each tile, then

flatten. Bake separate "morning" and "evening" tilesets if needed.

Mood techniques

| Mood | Techniques |

|------|-----------|

| Cozy | Warm palette, cozy lighting (lamp + soft shadow), low contrast, plants/textiles, no sharp edges |

| Tense / horror | Cool dark palette, low light, sharp edges, fog, vignette, asymmetric composition |

| Epic / heroic | Tall vertical scale, strong central composition, dramatic light + bloom, rich saturated palette |

| Mystical / dream | Soft palette, glow / haze, indistinct edges, subtle particle ambience (motes, fireflies) |

| Apocalyptic | Brown + orange + dark teal, broken architecture, dust haze, sparse vegetation |

| Underwater | Cyan dominant, ambient particle (bubbles, plankton), wavering light shafts, distortion |

Composition rules of thumb

important spot.

on right (smaller object, lighter color, brighter detail).

different sizes/angles.

Common bugs

desaturation gradient.

direction, stick to it.

spot (color, light, scale).

moving. Foreground SHOULD scroll faster.

See also

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.