23 Jul, 2017
To complement last Octobers Unity UI tutorials I’ve dusted off the microphone and created a short series on Unity 2D characters. What people seemed to enjoy most about my previous videos was how I cut straight to the point, trying to keep the content as concise as possible. I’ve kept that front and centre in the making of these new tutorials. Here’s a little run down of what can be learned in each video.
Sprites, Animations and Scripts
Cutting away the clutter to make an animating, moving character as simply as possible. This video covers:
- Creating an animation and an animator that loops through a set of images.
- Adding a script to your character that controls their position.
Sprites Sheets and Time
Improving upon the character from the last tutorial to make using him more efficient and robust. This video covers:
- Using Texture Packer to combine all of the characters images into a sprite sheet.
- Pulling from that sprite sheet to draw the character which reduces draw calls when more than one character of this type is on the screen.
- Movement using Time.deltaTime to keep the characters speed constant during frame rate spikes and dips.
Skeletal Characters and Animations
An alternative to the first video where a skeletal character is created and animated rather than using images. This video covers:
- Setting up a skeletal character with a sensible GameObject hierarchy.
- Creating smooth and flexible animations that can affect individual body parts.
- Moving between animation states at the click of a button
Depending on the popularity of these videos I’d be happy to carry on down this route or may turn to a different area of Unity.
10 Nov, 2016
Surprisingly, some of the highest visited pages on this site are still the pair of Unity tutorials posted well over a year ago. They’re here if you want to go have a look through:
To make it even simpler to digest the UI information from the tutorials, I’ve uploaded recorded versions to YouTube. My favourite to make was the “Scroll View in 60 Seconds”. Scroll views were something that kept tripping me up when I was new to the Unity 4.6+ UI system. For whatever reason, I kept forgetting how to set them up correctly. All it takes now is 60 seconds 🙂
18 Jul, 2016
After two months of patiently wandering around the world of Steam Greenlight, Castle Invasion found the exit door and has been Greenlit. Hooray! A huge thanks to everyone that voted yes.
If this was a gif of what I’d caught in Pokemon GO everything would be a Pidgey
2 Oct, 2015
Mouse Bounce is chock full of 3rd party plugins with the aim of incentivising replay, sharing scores amongst friends and monetising the game. For any mobile game it’s expected to use at least some of the following.
Android uses Google Play Game Services to store scores and give users achievements. Both will need to be set up in the developer console, sit back and let this plugin take care of the rest.
For iOS GameCentre is already built into Unity. Lucky you.
11 Sep, 2015
Castle Invasion has a whole rag tag army of misfits who are trying to…you guessed it, invade your castle. This post is a short, sharp run through of how one of these enemies (a pitchfork peasant) is created in Unity 5.
Here’s an image of what we’re aiming for:
14 Aug, 2015
This post is definitely one for the coders. Other professions shy away now. My aim for this post is to put forward a simple method for writing maintainable, adaptable and tidy boss fights.
Picture a boss battle and you’ll most likely have an enemy that has a limited number of offensive moves and attacks with these moves in a pre determined pattern.
Barry the boss. Nice name for a dragon.
31 Jul, 2015
In the previous post I showed how to set up a canvas and anchors to make UI stretch and scale just how you want them to. There’s treasure troves of information on the basic components (button, image, text) that you’ll need to learn after that so I thought I’d just drop some hints, tips and pit falls I’ve picked up whilst using Unity UI .
17 Jul, 2015
Last year Unity 4.6 overhauled the engines UI system making it more capable and easier to use. UI can initially seem difficult to learn but is a breeze when you know the basics. Seems like a good excuse for some tutorials.
Here’s what we’ll aim for in this tutorial:
- A screen within a landscape app containing a scroll which fills as much of the screen as possible.
- The scroll will be created with scaleability in mind to look lovely on any size screen and on devices with any aspect ratio.
- A good understanding of the Unity UI canvas object and how we can manipulate it to help us achieve scaleability.