Category Archives: Tutorials

Optimal scrolling for 2D games or UIs

I recently stumbled upon an old bit of code which demonstrates a technique I created for an efficient scrolling data grid on the YouView TV platform. I call it ‘Blit Scrolling’. Below is a demo of the concept – click on the window and use the arrow keys to scroll around (Flash required):
Continue reading Optimal scrolling for 2D games or UIs

How to fix build error with UnityAds after upgrading to Unity 5




Is your Unity project using UnityAds? Did you just update to Unity 5? Are you now seeing an error when trying to build for Android? The read on…

Unity 5 now includes in-built support for UnityAds, without requiring the UnityAds plugin from the Asset Store. As such, if you’ve previously imported the plugin, Unity might complain. It may simply be fixable by choosing Assets > Reimport All (which might make Unity realise it should ‘ignore imported version’ of UnityAds). Continue reading How to fix build error with UnityAds after upgrading to Unity 5

Getting started with UnitySteer




UPDATE: The last 2 major releases of Unity adversely affected how UnitySteer steering behaviours play with non-kinematic RigidBody components. If you’re having trouble combining your physics with steering forces, see this workaround I added, which may or may not become a pull request at some point (although I think the UnitySteer project is not actively maintained any more).

There are several AI steering libraries available for Unity, but I settled on UnitySteer due its similarity to OpenSteer for C++. Continue reading Getting started with UnitySteer