Some issues with optimizing your game to all resolutions…

Screenshot 2015-03-16 12.35.27
Optimizing your game to all resolutions is a science in itself.

Take a moment and reflect upon the issue:

  • You have creative content.
  • You have multiple end user devices.
  • Different Control Schemes (Keyboard & Mouse vs Touch)
  • Different Physical Sizes (Monitors, Tablets, Phones)
  • Different Resolutions (Same Physical Size, but different pixel density – like some iPads)
  • Different Aspect Ratios

(more…)

Aligning a directional light to the skybox

Title

When the directional light representing the sun matches the angle of the sun in the skybox, the lighting in the scene feels correct and can add believability to the game and game play.

Small discrepancies maybe hard to pin down, but if the lighting doesn’t match, things just seem wrong.

Aligning a directional light to the sun in the skybox can seem like a real pain, however, with lots of trial and error to get it correct.

There is one quick trick that makes aligning the directional light to the sun painless and simple.

(more…)

Using Lerp properly

LERPWhat is Lerp?

Lerp is the term for Linear Interpolation.

In short, Lerp, in Unity, is for finding a desired value between two known values.

As of the time of publishing this article, Lerp is horribly abused and terribly documented, and I would like to redress this, if at all possible.

(more…)

Parameter vs Argument

ParameterVSArgument

What’s in a name? I hear people talking about, or more likely arguing over, whether it’s a bracket or a brace; whether it’s a method or a function; whether it’s a parameter or an argument… And, frankly, most people seem to get it wrong.

(more…)

The Cauldron – A random dungeon generator (Part 2)

CauldronPt2-Splash

As I continue to scratch the itch compelling me to make a randomly generated dungeon, I’ve pushed this system far enough to make random rooms & corridors connected by doors.

(more…)

Avoid Compilation with Webplayer Templates

CompilePhail

Have you ever wanted to simply disable a script while you were developing your project?

WebplayerTemplates is the answer.

(more…)