Facing directions

Give a sprite pictures for left and right, or all eight ways, and NutHouse shows the right one as it turns.

Sprite editor: Hero โ€” NutHouse
The animation strip with the Facing compass of eight arrows next to the Animation list
The Facing compass. Each arrow is a direction that can have its own pictures.

The compass

Next to the Animation list is Facing, a compass of eight arrows. Click an arrow to see the pictures for that direction. Each animation has its own set, so walking can face left and right while stopped only faces right.

The โœฆ in the middle reminds you how it works: pictures are used for the nearest direction that has some. A sprite with only right-facing pictures shows them whichever way it goes. Add left-facing ones and it flips round as it turns.

An empty direction

Click a direction with no pictures and NutHouse says: โ€œwalkingโ€ has no pictures facing left yet. If it stays empty, the object uses its โ€œstoppedโ€ pictures. It offers three buttons:

Draw new picturesStart from an empty picture.
Mirror the right picturesCopies the pictures from the opposite side, flipped. This is the one you want nearly every time.
Copy pictures to start fromCopies the pictures so you can change them.

How to make a hero face both ways

  1. Draw the sprite facing right. Right is the normal direction in NutHouse.
  2. Click the left arrow on the Facing compass.
  3. Click Mirror the right pictures.
  4. Do the same for walking and any other animation.

Eight ways and more

A top-down hero or a car needs more than two directions. Draw it facing right, then use โœจ Make: 8 directions to turn it for the other seven. In Expert mode 32 directions fills every tiny angle, which is what a racing car needs. See The makers.

Rules about direction

  • Is facing a direction checks which way a sprite faces. Shoot the way the hero looks.
  • Set direction turns it. The settings dialog shows the same wheel, with 32 points.

Still stuck?

Try the Chocobreak tutorial, open a sample game and read its rules, or look at the questions people ask.