Navigation with the Nav Mesh Part 5: Areas and Paths
In this final part, we will improve our project by adding areas to the Nav Mesh with some different rules, and also use the CalculatePath() method to make [...]
Navigation with the Nav Mesh Part 4: Patrolling and Chasing
And as with the rest of this series, you can grab a download of the full code as it should be at the end of this part of the tutorial at the bottom of this [...]
Navigation with the Nav Mesh Part 3: Going Off Mesh
In Part 1 we created a simple Nav Mesh, and made an agent walk on it, and in Part 2, we added some obstacles to introduce some actual need for navigation. [...]
Navigation with the Nav Mesh Part 2: Obstacles and Targets
In Part 1, we created a Nav Mesh and a Nav Mesh Agent to navigate on that mesh. We included a simple script to make the agent move from their starting [...]
Navigation with the Nav Mesh Part 1: Setup and Basic Navigation
In this series of tutorials, we’ll go through setting up Unity’s built-in Nav Mesh, which enables pathfinding and navigation without the need [...]
TMI! Stop Making Everything Public!
I see a lot of great tutorials that make a big mistake. They advocate making lots of public fields/variables in Unity scripts. Even some of the best [...]
Move Player to Click/Touch Position
In this tutorial, we’ll make a player character move to a position on the screen where the mouse was clicked or a finger tapped, just like in real-time [...]
UI MouseOver
In this quick tutorial, I’ll show you how to modify a UI object when the player moves the mouse over it. As always, if anything in this tutorial is new to [...]
A Simple Input Manager for Keyboard, Gamepad, and Touch
In this tutorial, I will show you how to create a simple input manager to handle directional input via the keyboard, a gamepad, or on-screen touch [...]
The Making of Mouse Dreams Part 2 – In One Level
In this article, I examine Mouse Dreams’ evolution of by following a single level from its initial design through to the final game. 1: Sketch That [...]
View the Mouse Dreams Concept Page on Steam Greenlight
I am considering releasing my latest game, Mouse Dreams, on Steam. I have set up a page showing off the game and am asking for feedback and votes to [...]
Simple Script for Gamepad UI Navigation
For my upcoming game, Mouse Dreams, I need to support gamepad input as well as keyboard and touch. It turns out this is not quite as simple as I first [...]
The Making of Mouse Dreams: Part 1 – Getting Game Ideas
The article details how I went from wanting to make a game – but with no idea – through to finding and developing an idea through the process [...]
Play my new game!
I’ve been making a game – Mouse Dreams – and it’s almost finished. I’ve put a beta version of the full game up to get some [...]
Fade your UI In and Out
I’m currently polishing my 3rd game, Mouse Dreams, and I wanted my UI to fade in and out smoothly for a polished look: Fading a canvas requires that your [...]
Unity School e-book now on Kindle!
The Unity School ebook – Build Your First Unity Game – is now available on Kindle. Check it out: More info about the book The book on
Raycasting Part 1: Everybody Loves Raycasting
Raycasting is one of those topics that everyone seems to struggle with at first, so here is a tutorial covering everything you need to know about [...]
Save Time and Hassle with RequireComponent
You can use RequireComponent in your Unity scripts to save yourself some work and avoid errors. When your script requires a component, Unity will add a [...]
Tiled Background
Here’s a quick way to create a repeating tiled background in Unity. I’m using this technique in a project at the moment, and it works well, however, I’m [...]
Unity School e-book!
I’ve written an e-book! It’s called Build your First Unity Game, and takes you from total Unity noob to a finished Air Hockey game. The book is [...]
Input: Detect Mouseover
  Unity has events that tell your scripts when the mouse cursor hovers over an object and stops hovering over an object. This can be great for UI or [...]
Speech Bubbles and Popup UI
Many games show dialogue with a popup speech bubble, or prompt you to press an action button when you approach an object. In this tutorial I’ll show you [...]
The Making of Game of Clowns
I’ve just released my Unity game, Game of Clowns on iOS (it’s been on other platforms for some time already), and I thought it would be helpful [...]
Word Game Drag-and-Snap
Following on from my previous article explaining drag-and-drop functionality, I’d like to show you how to implement ‘snapping’ objects to [...]
Drawing Lines with LineRenderer
Unity’s LineRenderer component gives you the ability to draw lines with multiple segments. You can use this to draw anything line based, like a rope [...]
2d BB-8
The coolest new character in Star Wars Episode VII: The Force Awakens is BB-8, the droid that rolls on his spherical body with his head bopping along on [...]
Stop Looking, You Already Found It!
Wherever Unity is discussed I see a mistake repeated by new Unity developers. It’s not a dumb or obvious mistake, but it can be a costly one. [...]
Drag-and-drop functionality is useful for many types of games – an inventory system in an RPG, dragging letters onto a word game board, etc. With a [...]
In-Game Security Camera using Render Texture
Since the release of Unity 5, Render Texture functionality is available to all Unity users (yes, even in the free version)! You can use this functionality [...]
A Navigation Helper for Unity
Unity lacks a way to pass parameters to a new scene. If you want to send some game state data to the next level you have several options, such [...]