Implementing a smooth dash system in a 2D Unity game involves several key parts: detecting input, moving the player rapidly for a short time (dash), and then preventing repeated dashing by using a cooldown. This tutorial will walk you through building that system with clean, frame-rate-independent code using Time.deltaTime.
Tag: Unity Game Development
Unity Tutorials
Continue Reading
Unity in Practice 0013 – Physical Material 2D Introduction
In Unity, a 2D Physics Material (also called Physics Material 2D) is used to define how two 2D objects interact during collisions in the 2D physics engine (Box2D).
Unity Tutorials
Continue Reading
Unity in Practice 0012 – Blend Tree in Unity
A Blend Tree is a feature within Unity’s Animator Controller that allows you to smoothly transition between multiple animations based on one or more parameters (like speed, direction, or vertical velocity). It’s ideal for creating fluid and natural character movement.
Unity Tutorials
Continue Reading
Unity in Practice 0005 – Create C# Script
When you create a new C# script in Unity (e.g., BallScript.cs), Unity automatically generates a default template to help you get started.