Unity3D

Home/Unity3D

How to use Unity Prefabs – Game Dev Classroom

By |2019-05-17T13:12:43+00:00May 17th, 2019|Categories: Unity3D|

Unity Prefabs are a powerful yet often confusing system. In this tutorial I explain everything you need to know about using them. This is the first of a new game dev lecture / classroom series. Topics covered in this video include: workflow examples, nested prefabs, unpacking prefabs, editing master and instances. […]

How to stop rigidbodies sliding and falling off moving platforms in Unity3d and 2D

By |2020-02-14T16:05:38+00:00August 27th, 2016|Categories: Game Development, Unity3D|

In this post I will demonstrate a solution to the common problem of slipping off moving platforms in Unity when using RigidBody game objects. The problem can be encountered in both 2D and 3D games, I will cover two known solutions I have come across, and explain in detail the solution I have applied in the game [...]

How to create realistic smoke in Unity

By |2020-02-14T16:07:32+00:00July 1st, 2015|Categories: Game Development, Unity3D|

In this tutorial I will explain how to create a realistic looking smoke effects in Unity. It will be your typical upwards smoke, which is ideal for camp-fires, smoky car engines. Basically anything that burns. It's also an effective way to simulate steam (for both 2D and 3D games). Unity uses what is called the 'Shuriken' [...]

How to stop falling through floors and colliders in Unity

By |2020-02-14T16:12:36+00:00May 22nd, 2015|Categories: Game Development, Unity3D|Tags: , , |

Recently I have been working on a 2D platformer which uses the inbuilt Unity Physics and Rigidbodies. One of the challenges I ran into was  that when the player moved above a certain velocity, it would sometimes pass through colliders. This would lead to the player getting stuck inside the floor when landing a from a [...]

How to Setup your characters 2D Colliders in Unity

By |2019-01-11T04:40:34+00:00May 8th, 2015|Categories: Game Development, Unity3D|Tags: , , , , |

I've been tinkering with Unity's 2D tooling since it was officially released in v4.3. With each new version we see some improvements in the 2D tools and workflow, but alas it's far from perfect and as a result getting things to work the way you want is all about trial and error. One thing I have learnt quickly [...]

Understanding GetButton and GetKey inputs in Unity

By |2020-02-14T16:28:25+00:00April 12th, 2015|Categories: Game Development, Unity3D|Tags: , , |

Unity's button / Input system has been the source of confusion for many newcomers. It's no suprise, after all we have  GetKey, GetKeyDown, GetKeyUp,  GetButton, GetButtonDown, GetButtonUp. So let's try make sense of it all. GetKey / GetKeyDown / GetKeyUp Input.GetKey(...) will be familiar to developers coming from other platforms like Flash. It accepts either a KeyCode parameter [...]

New Tutorial Comming Soon! – How to Make Super Mario Bros with Unity3D

By |2019-01-11T04:40:58+00:00March 4th, 2015|Categories: Game Development, Unity3D|Tags: , , , |

It's been a little while now since I wrapped up my last tutorial series, and I want to thank the readers who shared it around Twitter and sent me personal thanks. I love hearing how something I wrote helped somebody better their skills. We have all been there and are upgrading every day! So,  to keep [...]

Creating 2D animation states in Unity3D : Part 3 – Switching animations with keyboard input

By |2019-01-11T04:44:30+00:00December 29th, 2014|Categories: Game Development, Unity3D|

This is the 3rd and final installment in the mini tute series 'Creating 2D Animation States in Unity3D' . You can find previous installments here: Part1  | Part 2 In part 2 we created our Player animations, created an animation controller, organised our animations in the Animator window, and then mapped them to 'Conditions' based on [...]

Creating 2D animation states in Unity3D : Part 2 – Understanding the Animation Controller

By |2019-01-11T04:41:45+00:00September 7th, 2014|Categories: Game Development, Unity3D|

This post is part 2 of Understanding and Creating 2d Animation State management in Unity3d, In this tutorial we will be continuing from Part 1 and covering the following topics: Adding the player component Adding an animation State Manager to the player Defining Animation transition rules and parameters Switching between animations at runtime Ok so lets get [...]

Understanding Class Inheritance In Unity3D

By |2015-11-29T14:54:43+00:00August 1st, 2014|Categories: Game Development, Unity3D|

Inheritance is an Object Oriented Programming concept (OOP) used to access and reuse the properties or methods of one class from another. The class being inherited from is known as the 'base' class, where the one inheriting from the base class is known as the 'derived' class. Let's think of it like this: John (derived class), is [...]

This Is A Custom Widget

This Sliding Bar can be switched on or off in theme options, and can take any widget you throw at it or even fill it with your custom HTML Code. Its perfect for grabbing the attention of your viewers. Choose between 1, 2, 3 or 4 columns, set the background color, widget divider color, activate transparency, a top border or fully disable it on desktop and mobile.