Sprite Shape
Tiles are square. For rolling hills, round floating islands or a bendy ledge, draw the ground along a curve instead. A Sprite Shape (Unity's Sprite Shape) puts pictures on the curve's outline:
- the fill covers the inside of a closed curve, with a colour or a repeated picture;
- edge pictures run along the outline, and which one is used depends on the way each part faces: grass where it faces up, a rock rim on the sides and below;
- with a Collider, the collider follows the outline, so players and balls walk and roll along the hills.
![]()
The Sprocket Hills showcase is a whole game made this way: rolling pixel-art hills, a floating ledge and parallax far hills.
Add one
Objects → + Add, under Sprites: Sprite Shape. You get a closed curve filled with a colour, and a Collider. Tap 2D in the 3D view's toolbar, then drag the curve's points to shape the ground: double-tap the line to add a point, select a point and press Delete to remove one (see Curve).
A Sprite Shape uses the Curve on the same object, in its X / Y plane (Z is ignored). An object without one shows + Curve in the Sprite Shape card.
Fill
Fill is Colour, Picture or None. A picture repeats across the shape; Fill size is how many metres one picture covers. Fill normal map gives the picture bumps for 2D lights with Normal Maps. Only a closed curve has an inside to fill (turn on Closed loop in the Curve card).
Edges
![]()
Each edge range is a picture and two angles. The angle is the way a part of the outline faces: 0 = up, 90 = right, 180 = down, −90 (or 270) = left. A part uses the first range that holds its angle, so:
| Range | Picture |
|---|---|
| −55 … 55 | grass (the parts facing up and a bit to the sides) |
| 55 … 305 | earth rim (the sides and the bottom) |
+ Edge range adds one; 🗑 removes one. A part that no range holds has no edge. Each range with a picture can also have a Normal map (laid out like its picture) for 2D lights with Normal Maps; its bumps turn with the outline.
- An edge picture is drawn sideways along the line: its top faces out, its bottom faces in, and it repeats along the line at its own width / height. A strip of grass cut from a tile works well.
- Edge height is how thick the strip is, in metres.
- Edge inside is how much of the strip lies inside the outline: 0 = all outside, 0.5 = centred on the line, 1 = all inside.
An open curve (Closed loop off) has no inside: only its edges are drawn, and its outside is up when the line runs left to right. That makes a ledge or a vine bridge.
More pictures per range
+ on a range's angle row adds another picture to it (picture 2, 3…). The first picture is used unless a curve point picks another (see Points): flowers on one hilltop, a cracked stone on one wall.
Corners
Where the outline turns sharply, edges meet at an angle. Corner pictures cover the join, like Unity's corner sprites. A corner is drawn at a curve point when:
- the outline turns there by at least Corner angle degrees (30 by default);
- both sides have an edge;
- one side faces up or down and the other left or right;
- the Sprite Shape has a picture for that kind of corner.
| Corner | Where |
|---|---|
| Outer top left / right | the top meets a side, and the shape sticks out (the top corners of a block) |
| Outer bottom left / right | the bottom meets a side, sticking out |
| Inner top left / right | a top meets a side going up (the foot of a step or a pit wall) |
| Inner bottom left / right | a bottom meets a side, going in |
Left and right name the way the side faces: an inner top left corner is where a floor meets a wall that faces left.
A corner picture is drawn upright over a square Edge height across, and the edges on both sides stop at its sides. Draw it like the edge pictures: for an outer top right corner, the grass top of the edge picture rounded over to the right.
Corners need sharp points. Smooth curves bend through their points, so they never turn sharply at one. Use Catmull-Rom with Tension 0 (straight lines between the points), or Bezier with the point's handles set to Sharp corner.
Points
![]()
Each curve point has settings for the segment that starts at it (from it to the next point). Pick a point in the Scene view (or type its number in Point) to change them:
| Setting | What it does |
|---|---|
| Edge | Auto picks the range by angle. None leaves the segment bare. Edge 1, 2… uses that range whichever way the segment faces. |
| Picture | Which of the range's pictures (shown when a range has more than one). |
| Corner | Off: no corner picture at this point. |
| Height | The edge's thickness here, times Edge height. It blends to the next point's height along the segment. |
The settings stay with their points when you add, remove or subdivide points.
Look
- Tint and Opacity colour the pictures.
- Order in layer draws it in front of (higher) or behind (lower) sprites and tilemaps where they overlap.
- Filter: Smooth blends the pictures; Pixel keeps hard pixels for pixel art.
- Material: Lit shows 2D lights; Unlit leaves it as it is.
- Detail is how many points each part of the curve is cut into; more is smoother.
Collider
Give the object a Collider with the shape Auto (the menu item does). Its outline is the curve's:
- Offset moves the collider's edge out (+) or in (−) from the line, to match where the grass looks solid;
- an open curve's collider is a band under the line, Thickness metres thick;
- Depth is how deep it is along Z.
A Sprite Shape with a Shadow Caster 2D blocks 2D lights with the same outline.
Coming from Unity
Unity's Sprite Shape Profile holds the angle ranges, their sprite variants, the corners and the fill; here they are on the component itself. Unity's control point settings (Sprite Variant, Corner, Height) are the Point section. The spline is the object's Curve, so its points, handle types and Closed loop setting are the Curve card's.