
Build a market-ready Unity 2D endless runner by mastering physics, collisions, animations, endless generation, camera control, parallax background, parkour moves, and publish to play market.
Embrace a real-world mindset for Unity 2D endless runner development by practicing step-by-step, fixing bugs, and solving problems to become a strong, independent beginner-friendly game developer.
Master how to diagnose, backtrack, and fix bugs in Unity 2D, take productive breaks, and leverage the Q&A section for fast, clear help.
Download Unity through Unity Hub, install the long-term support editor, optionally include Android OpenJDK and Android software development kit, then create a new simple project using the core template.
Explore window layouts two by three, import assets, and manipulate objects using transform and sprite renderer tools across scene and game views with keyboard shortcuts.
Explore 2d physics in unity by adding rigid body 2d and colliders to objects, learning dynamic, kinematic, and static bodies, mass, drag, gravity scale, and collider-defined shapes.
Organize your Unity 2D scene by using sorting layers to control draw order, assigning background, platform, collectible, enemy, and player layers and adjusting their order from back to front.
Learn how to prepare and slice sprites for a Unity 2D endless runner, including setting pixel per unit, filter mode, and center pivot with grid-based slicing.
Attach a rigid body and a capsule collider to the player, adjust its size and offset, and enable continuous collision detection with gravity scale and mass.
Explore making the player move in a unity 2d endless runner by adding a script, exposing move speed and jump force, and controlling the rigid body velocity with vector2.
Learn to implement a jump in Unity 2D endless runner by using input.getKey with space to set rb.velocity for a jump force and log to the console.
Compare the old input system with the new one in Unity, and learn get key down, get key, and get button, plus key codes and input manager usage.
Learn how Unity's execution order works—from Awake and Start to Update and FixedUpdate—and how fixed timestep settings like 0.02 influence physics, movement, and inputs.
Learn how to use a boolean to control the player's running state, wire input with button presses, and refactor with an extract method for cleaner update logic.
Learn collision detection in a 2D Unity endless runner by implementing a ground check using raycast and a ground layer mask to enable jumps only when grounded.
Learn to create an idle animation in Unity 2D by setting up an animator and animator controller, adjust sample rate, and manage script access with serialize field.
Create a running animation clip with 12 sample rate, add sprites, drive it via a boolean isRunning in the animator, toggled by rb.velocity.x, and set instant idle-to-move transitions.
Unity's animator works like a traffic light state machine, allowing only one animation at a time, controlled by a C# player controller switching idle, run, and jump.
Explore using a blend tree to blend 2D jump and fall animations by y velocity, create jump and fall clips, and wire transitions with is grounded in code.
Master the blend tree approach to unify idle and move animations in Unity 2D, using a single x velocity parameter to drive transitions and cleaner code.
Learn to generate endless runner platforms in Unity by scripting a level generator that spawns randomized platforms ahead of the player using instantiate and a response position.
Build an endless level generator that spawns platforms at spawn position as player nears and moves spawn point to platform's end. Use start and end points with distance thresholds.
Explore how to set up a fixed cinema camera in Unity using Cinemachine, control follow targets, damping, lookahead, dead zones, and soft zones to frame the level.
Set up and tune the Unity 2D camera for an endless runner using Cinemachine, adjusting the virtual camera, lens, soft zones, and damping for smooth look ahead and responsive play.
Define the game's look with simple shapes, minimalistic city backgrounds, and clear contrast; source color palettes from online references like each dot io, then build a parallax background in Unity.
Create a multi-layer parallax background in Unity 2D by building layered city silhouettes with sprites, colors, and simple shapes, without Photoshop.
Learn to create an endless parallax background in Unity 2D by duplicating layers, aligning with the camera, and applying varied parallax speeds to simulate depth.
Fix parallax background jitter in Unity by enabling rigidbody interpolation and adjusting the cinema machine brain to smart update with late update, ensuring consistent movement across updates.
Learn to implement a controlled double jump in a Unity 2D endless runner, using grounded checks, can double jump flags, and animator transitions for a polished motion.
Create two-dimensional physics materials in Unity to adjust friction and bounce for walls and objects, then apply the material to a collider and test in play mode to prevent sticking.
Use a box cast centered on the player to detect walls and stop movement, with gizmo visualization, ground checks, and a refined movement function for an endless runner.
Create a slide ability for a 2D Unity endless runner by building an animation clip, configuring animator transitions, and coding a timer-based slide state with input and speed changes.
Implement a slide cooldown in a Unity 2D endless runner with a serialized cooldown and a Time.deltaTime counter, enforcing input only when velocity permits.
Fine tune the slide mechanic in a Unity 2D endless runner by adjusting colliders, pixel per unit, and offsets, and add a ceiling check to prevent sliding under platforms.
Learn to implement a robust ledge climb in a 2D Unity platformer through ledge detection, trigger-based edge checks, and precise pre- and post-climb positioning with animation.
The endless run increases player speed at milestones using a speed multiplier and milestone increase, updating the speed milestone and capping at max speed to maintain balance.
Save the default speed and milestone increase at startup, and implement a speed reset function to restore these values. Call this function on wall collisions to keep player speed consistent.
Visualize speed increases by building a blend tree with motion fields tied to x velocity, set thresholds for several stages, and adjust animation speed to reflect faster movement.
Learn to implement a roll animation in a Unity 2D endless runner by triggering the roll when vertical velocity is below -20 and grounded; adjust gravity during ledge climbs.
Create a knockback animation by editing sprites and animator transitions. Trigger knockback with the K key, applying velocity while is knocked remains true.
This lecture demonstrates implementing player invincibility after knockback in Unity 2D with a coroutine, a canBeKnocked flag, and a blinking sprite that toggles alpha.
Trigger a player die animation by setting isDead and applying knock back. Use a coroutine to pause briefly and reset movement, preventing further death triggers.
Tidy up the inspector by renaming move speed to move info and slide cancel, and organize assets and camera for a cleaner project structure.
Fix a ledge climb bug by verifying no ground in the trigger before enabling ledge detection, using a box collider seed and overlap box checks for overlapping platforms.
Create a game manager singleton in Unity to serve as a hub for coins and data, accessible via game manager.instance from any script, and manage coin counts.
Create a collectible coin in Unity 2D with a sprite renderer and idle animation, then use a trigger to increment the game manager coins and destroy the coin.
Create a Unity 2D coin generator that spawns multiple coins from a prefab using instantiate, centers them with an offset, and supports adjustable min-max coins and optional randomness.
Create a red diamond trap in Unity 2D endless runner with a trigger box collider and trap script that damages the player on trigger enter, applying knockback at max speed.
Build a moving trap in a 2d unity endless runner that patrols between move points, using inheritance for damage and on trigger enter to apply it.
Color platforms in Unity 2D by changing the sprite renderer color on trigger enter, using a game manager as a color hub, and optionally coloring a header for per-platform styling.
Use Unity scene management to restart the level on death and set up a dead zone with a trigger box collider.
Restrict camera movement in a Unity 2D endless runner by confining the camera with a polygon collider in Cinemachine, and tune height dead/soft zones for smooth motion.
Organize scripts and prefabs, add limiter gizmos, place coins and traps with editor visuals, and use duplication and a level generator to balance difficulty.
Learn how to create endless runner game for PC and Mobile using Unity, an industry-standard program used by many large gaming studios and indie developers across the world.
In this course you won’t just be learning programming concepts, but tying these concepts to real game development uses.
This course has been designed to be easily understandable to everyone, so whether you’re a complete beginner, an artist looking to expand their game development range or a programmer interested in understanding game design, this course will help you gain a greater understanding of development.
I will not only show you how to do things, but also explain what I'm doing and why I'm doing that.
I will introduce how game design works on practice sharing with you some tips and tricks how should you plan your game and implement this knowledge on practice.
About the game itself:
It's a cool and fun endless runner where you coloring world by touching platform. You'll have to out run enemies and color everything around you. The further you get the more colors you spread...let's how far can you get
At the end of this course you will have developed the ability to create such game elements as:
A character that can run, jump, double jump ,slide, ledge climb and roll.
A knockback, invincibility and death of the player
Different kind of traps that can effect (damage \ slow down) the player
Animations of the player, enemies, items and UI
Collectibles such as coins & gems
How to create and control camera
Parallax background effect
Random Endless Level Generation
Speed increases for player and score calculation
Full user Interface with interactive menus
Shop for player
UI settings
Saving system , save settings and game progress
Unique coloring system of the world around you
AI that can chase and out run the player
And more...