
Learn to build an endless runner in Unity, from installing Unity to designing environments, adding enemies, a shop, audio, mobile controls, and exporting to Android.
Install Unity Hub, download Unity, choose long-term support version, configure Android build, sign in, create a new endless runner project, and select the universal render pipeline for mobile visuals.
Explore the Unity editor interface, including the hierarchy, project window, scene view, and inspector, and learn how cameras, lights, post-processing, and components like colliders and scripts shape your game.
Design an endless runner where enemies spawn in three lanes and the player moves to dodge them and collect coins; include a shop with double score and extra life.
Create an empty environment object, add ground and wall cubes, duplicate and place them to form a connected road, and center them under the environment.
Create a player with a capsule, assign a material, and implement a Blair movement script that moves the player left and right within bounds using serialized fields and transform.position.
Create an enemy in the endless running game by modeling a 3D object, applying a material, and scripting movement with speed and direction that updates each frame toward us.
Create a coin in Unity by turning a sphere into a yellow coin, placing it in a coin folder, and applying the object movement script used for enemies.
Create a Unity spawner with three spawn points (left, middle, right) to spawn enemies and coins at timed intervals. Use arrays for enemies and coins and random selection.
The lecture shows implementing collision in a unity endless runner by using colliders and triggers to detect player-enemy death and coin collection, tagging objects, and updating game state accordingly.
Create a data container to store score and coin counts using player preferences, incrementing on each coin collection and updating the user interface for the endless runner game.
Learn to build a functional game UI for an endless runner in Unity: set up time and score displays, a restart button, coin-based scoring, and basic scene restart mechanics.
Explore building a pause menu UI for a Unity endless running game, with resume, restart, main menu, and exit buttons and enabling or disabling the pause canvas.
Create a Unity main menu UI with start, shop, and exit buttons, style and align the canvas, and wire buttons to scene management to load levels and show high score.
Create a shop UI in Unity that shows coins, item costs, and purchases like double score and extra life. Update currency with scripts and player prefs.
Fix bugs in the main level UI by debugging restart logic, time scale handling, enemy collisions, and menu references to ensure seamless game flow and proper button behavior.
Implement consuming shop items in the endless runner, displaying shop options on death, and update high scores via player preferences while enabling extra life and double score purchases.
Finalize the endless running game ui by enabling the extra life button, managing death and restart flows, and validating score and coin logic before returning to the main menu.
Implement background and coin sounds in Unity by attaching an audio source to the player, wiring audio clips, and triggering sounds on events while managing the audio listener.
Replace the main player and enemy characters by importing assets from Mix-A-Lot, selecting running animations, and creating animation controllers in Unity for new gameplay visuals.
Learn to change the coin look by importing assets from an asset site, creating and applying materials in Unity, and adding color variations to coins for an endless running game.
Learn to implement Android touch controls for an endless running game in Unity by configuring landscape orientation and coding a swipe controller for left, right, up, and down swipes.
Builds an endless running game for Android, showing installation on a phone, coins, high score, a main menu, enemies, extra lives, and a two-second continue with invulnerability, no music.
Creating an awesome game in Unity is never been easier than these days will all the features that Unity provides for the community. You might have a lot of game ideas with you and you wish to implement them in real life instead of having them in your mind only. This course you will learn step by step how to create an Endless Runner Game with Unity from start to finish.
This course is divided to sections in each one of these sections you will learn new things to be able in the end of the course to build a full game in Unity. The first section is introduction to the course and installing Unity Application to your computer then make the initial design of the game in photoshop. The second section we start to work with the game environment, adding the player, adding the enemy and coins. Then we created a spawner which spawn enemies and coins each second. Then we work with game collision system to make player die if hit an enemy or collect points if hit one of the coins and we store these coins or scores in a data container.
In section three we created the game UI for the main level, the main menu and the game shop. We make the UI scale with screen size and make it look good in different screens. The in section four we added audio to the game. We added background audio and another audio when collecting coins. Then in section five we added characters to the game from one of the free online tools for characters and animation “Mixamo”. We implemented the animation in our game and we add new coin shape to our coins. The last section we create swipe control for our game so we can play in in the mobile phone. Finally we build the game and run it into an android phone and test it.
I hope you enjoy the course and feel free to ask and write your questions under each section.