Light and shade…

Starting to get close to a look I’m happy with for the game so I figured I’d share a few notes on my setup. I’m aiming for a non-realistic, illustrative look, I want nice, distinct areas of flat colour, similar to watercolour washes or vector art, for this I’m using toon shaders and a ramp with no interpolation, i.e. solid bands of colour. Instead of the built-in shaders I’m using Toony Colors Pro and a great little tool called Ramps! which allows you to generate and adjust ramp textures right in the Unity editor, very handy for tweaking the look of things as you go…

Read more

Pointing and Clicking…

As a few people have asked, I thought I’d share some notes about how I’m setting up my point-and-click interface with Playmaker. I’m pretty sure the Unity 4.2 update opened up NavMesh to Basic users but I don’t think the IK rig is accessible, I’m using that for its “look at” control so you’ll need Pro to recreate this setup completely. You’ll also need the custom actions for both Pathfinding and Mecanim…

There are several things I wanted the character to do in response to a click from the user:

  • look at where the click was made
  • turn to face that point
  • walk towards that point
  • upon arrival, complete an action of some kind

It would also be nice to have a method for stopping a walk before completion and for clicked items to have their own pre-defined destinations eg. clicking on a mountain could result in walking to a balcony to look rather than all the way to the mountain…

Read more