Tiled Backgrounds 149
FIGURE E9.50 The three-tile method in action.
The three-tile method is a similar process to the slice method, but sig-
nicantly shorter. The shortcoming is that you cannot keep a genuine light
direction throughout your scene when building this way. The advantages of
thiswayovertheslicemethodarethatitisfastertocreatethetiles,eas-
ier to build a scene with the tiles, and less chance of inconsistencies. It also
means that your le sizes have the potential to be even smaller (which leads
to faster compile times, download times for players, le management, etc.).
Youcouldalsousethetilesavingstocreatealoadofvariationstotheedge,
which helps to conceal the appearance of the grid within the scene.
Step 7: Variation Elation for the Game’s Duration
Now let’s really hammer on this topic of variation and build a number of
variant tiles for the grass and sand. We’ve already built two types of grass
that begins to give a bit of variation, but I like ower tiles. They’re pretty. So
tobeginwith,let’screatesomeowerstobeaddedtothegrassandI’lltry
to break them down to show how I make them.
InFigureE.a,I’veillustratedthestepsIusetobuildtheowers.Start-
ing with one of the base grass textures, I’ll add a few light green pixels as a
owerstemorleafandoneofthebrightercolorsfortheowerpedals.This
is how each of the tiles is begun on the le-hand side. Next, I’ll start to add
some shadow being cast by the ower onto ground. Sometimes I’ll give a
bit of an outline to the ower so that it’ll pop out a bit more, as I’ve done
with the sunower. Finally, I’ll add some detail into the image in the form
of texture and additional light gradient when applicable.