
Create a new Unity project named exploring unity in a dedicated projects folder. Learn how game objects and components like transform and camera drive the scene.
Move and rotate a cube using the transform component's position, rotation, and scale across the x, y, and z axes, guided by the gizmo in Unity.
Apply and customize Unity materials to color a cube, create and assign materials in assets, and enable transparent rendering with proper rendering mode, while noting shadows and lighting.
Explore how directional, spotlight, and point lights shape scenes by adjusting position, rotation, range, intensity, and color to create realistic shadows and mood.
Explore how to add and customize Unity particle systems to create dynamic effects in games. Adjust duration, start delay, lifetime, speed, gravity, simulation space, color, rotation, and shapes like cones.
Apply physics by adding a rigid body to a cube, enabling gravity, collisions, and tumbling in a live Unity scene; adjust particle rotation, duplicate objects, and save the scene.
Use the Unity Asset Store to swap in ready-made 3D models, animations, and skyboxes to quickly extend your game. Import assets and explore plugins, shaders, and physics behind the scenes.
Set up a simple Unity project, add a cube with an orange material, and expose public variables in a C# script—float size modifier, string new name, and bool is rotated.
Discover how methods act as operations in Unity, using start and update lifecycles, parameters, and return values to modify a cube's transform and name, plus custom methods.
Learn how to use if blocks in Unity with C# to test conditions, compare numbers and strings, and control a cube’s rotation using booleans and else statements.
Instantiate multiple cubes from a prefab using a game controller and for or while loops. Vary cube amount and random positions to create dynamic scenes.
Learn to use a simple input system to move a cube with keypresses (left, right, forward) and jump with space, then switch camera views with the mouse in Unity.
Learn to handle input in Unity by building a simple game controller script, using get key and get key down to trigger jump and movement.
Create a movable 3D cube player in unity by adding a colored cube, a player script, and a speed variable; move using transform.position and Time.deltaTime for left-right controls.
Learn to implement jumping in Unity using the physics system, adding a Rigidbody, applying a jump force, and using collision checks to restrict jumps to the floor.
Learn to move a player forward, rotate around the vertical axis with left-right inputs, and use transform.forward with speed and delta time; switch between multiple cameras.
Cycle four Unity cameras by managing a public camera array and an active index, enabling only one at a time, with a chase camera that looks at the player.
Create a simple Unity scene with a floor and wall, and shoot a reusable bullet prefab with a player script that instantiates it on mouse click.
learn to offset bullet trajectories by setting a shooting direction on the bullet prefab, instantiate it, and normalize the vector for a unit direction, with a lifetime and destroy.
Spawn colored explosion particles from a dedicated Unity explosion object using rigidbodies, random forces, and prefabs. Learn to manage materials, lifetimes, and prefab instantiation for dynamic blast effects.
Develop core gameplay in Unity by designing 2D and 3D AI-driven mechanics, systems, and interactions to create immersive player experiences.
Discover a-star pathfinding in Unity to drive a tank across tiles, collect crates, and build 2d and 3d AI games with practical step-by-step guidance using C#, C++, and JavaScript.
Discover the a-star algorithm's role in pathfinding and artificial intelligence for game development, with examples from classic games, and learn why understanding it beyond Unity future-proofs your skills.
Begin a new 3D Unity project, organize a neutral project folder with scenes and scripts, save the initial scene, and attach an A-star script to a star game object.
Define the node structure for pathfinding, with x and y positions, g and h costs, the f score, a parent reference, and a free or blocked value.
Build a 6 by 6 string map with walls and open paths, parse it into a 2d node map, and apply A* to find the path from start to goal.
Implement the A-star pathfinding by creating a node path from start to goal, managing the open and close lists, and coding a private executeAStar with a Manhattan heuristic.
Learn the A-star loop: select the node with the smallest f value from the open list, explore neighbors, update g and heuristic, and build the path to the goal.
The lecture explains implementing the neighbor nodes method and build path routine for an A* pathfinding workflow in a grid, including candidate checks, blocked nodes, and reconstructing the final path.
Demonstrates finishing the Unity a-star pathfinding algorithm by visualizing the node path on the map, updating the map with the path, and validating g and f scores for optimal paths.
Create and manage prefabs to streamline background tiles, updating all instances via apply, then build a navigable tile grid with colliders and a nav tile script to enable A-star pathfinding.
Build a node map from the background container tiles, derive map height and width from child counts, and store each tile in a node to enable a visual A* pathfinding.
Set start and goal nodes and ensure the pathfinding script compiles, then add player and enemy tanks with colliders, assign them to the A-star script, and position on the grid.
Identify the tile under the player by using overlap circle all, retrieve colliders, and locate the neph tile to determine the node coordinates for start and goal.
Develop and visualize A-star based pathfinding in Unity to move a tank along a node path from enemy to player, with a scene controller coordinating movement.
Implement a movable object to have the tank follow a path of target nodes, moving toward each node with speed, direction, and distance checks to advance the path.
Develop smooth rotation by calculating the target angle from the direction, then interpolate between current and target rotation with delta time using a quaternion.
Transform an a-star pathfinding path into playable movement by clicking tiles to move a tank in Unity, handling world-space coordinates, nav tiles, and dynamic path execution.
Speed up the player by lowering movement to 0.1 units, fix node-reaching issues, and create a smooth movement kit for collecting crates and green barrels while avoiding red beros.
Separate the visual and logic parts, create crate visuals as a sprite and prefab, and spawn crates in Unity with instantiate in a scene controller.
Spawn crates only on navigable tiles by building a navigable tiles list once and selecting random tiles from it, avoiding sand.
Learn to add 2D box colliders as triggers, detect crate collisions with the player using OnTriggerEnter2D, tag crates for collection, and destroy crates after contact or after a set lifetime.
Implement event-driven score system with a collect event and delegate on the player; the game scene controller subscribes to on collect and updates the score when crates are collected.
Design and configure a Unity canvas UI to display the score, anchor it to the top left, and scale with screen size; implement score updates via a scene controller property.
Structure a Unity game flow with start, gameplay, and game over UI groups; add a start button and an on play method to enable gameplay and scoring.
Implement on game over logic by checking timer against duration, then set is playing to false and is game over to true, and reveal game over UI with final score.
Explore the development of a star pathfinding algorithm from scratch using strings and characters, applied to a tank game with grass and sand tiles and cost-based navigation.
Explore gameplay in Unity to build 2D and 3D AI games, leveraging practical workflows within the complete Unity Masterclass to craft engaging player experiences.
Master pathfinding for a click-to-move ship in Unity games, guiding it around rocks, craters, and platforms to collect minerals and activate space stations using nav meshes.
Create a new Unity 3D project in your user folder, disable analytics, import nav mesh assets and the space kit, and organize assets, scenes, and scripts, then save the scene.
Build a cohesive unity environment by placing ground tiles, craters, rocks, a station, and satellites, add colliders, and organize the ship under a container to separate visuals from logic.
Create a Unity follow camera by scripting a game camera that tracks a target with an offset in the update loop, using Vector3.Lerp for smooth motion.
Apply raycasting to map mouse clicks to world positions in Unity, converting screen points to rays, detecting ground tiles with colliders, and moving the player toward the hit location.
Want to be a game developer? Want to learn artificial intelligence? Want to build mobile games? If you answered yes, this course is for you!
Funded by a #1 Kickstarter Project by Mammoth Interactive
Welcome to Mammoth Interactive's Complete Unity® Masterclass: Build 2D & 3D AI Games with Glauco Pires. You will learn how to make 3 complete games in Unity and C#!
In the first part of this course, you will learn to use the A* algorithm to make a 2D game in Unity 2017.3.
Learn to code for game development in Unity C#.
Make a game that uses artificial intelligence.
Make a path-finding algorithm.
Use the A* algorithm to make a 2D game in Unity.
A Super Tank on a maze will find the best way to go to a point you click. The tank will collect objects along its path.
The A* is the base algorithm for path finding. A* is artificial intelligence that will find a path. This algorithm has existed for decades. You can use A* in many different platforms, programming languages and more.
A* is also important to avoid dangers like a cliff while getting to a destination. As well - suppose a game's level has two paths. You can program your artificial intelligence player to think on its own. It can choose a better path to avoid monsters and other obstacles.
Included in this course is material for beginners to get comfortable with the interfaces. Please note that we reuse this content in similar courses because it is introductory material. You can find some material in this course in the following related courses:
Learn artificial intelligence by building games and apps
The Complete 2D Unity & AI for Games with Algorithms Course
Learn Unity AI by Making a Tank Game!
Make a Starship Unity Game Powered by Artificial Intelligence
The 2D, 3D & AI Games Frontier: NavMesh, Unity & Illustrator
Make a Ninja Survival game for mobile in Unity and Blender
Practical Unity Developer Academy: Make Fully Featured Games
A to Z Unity Development: Code in C# and Make Low Poly Art
C# & Image Processing Masterclass: Make Mobile Games & Apps
Build 22 Games in GameMaker Studio, C# Unity® & Blender
C# Masterclass: Make RPG & Mobile Games in Unity & Blender
In the second part of this course, you will program a spaceship in a three-dimensional game. With artificial intelligence your ship character will learn to explore a planet. The ship will travel around craters, rocks, aliens and buildings in a 3D world.
Use a navigation mesh to add pathfinding logic to your game.
Code in C#.
Learn cutting-edge tools that will put you ahead of other developers.
In the third part of this course, you will learn how to build a Ninja game for mobile using Unity® and Blender. The Complete Unity® Masterclass: Build 2D & 3D AI Games is unique because we make both the code and the art for the game from scratch.
Integrate art from Blender into Unity®.
Build video game levels.
UV map and unwrap 3D models.
Create your own materials.
And more!
You will design the game and its functionality in Unity®. Don't worry if you've never coded before. You will start simple and add more to the game as the course goes on.
Why Unity®?
Unity® is one of the most popular platforms in game development. You can use Unity® to build 2D and 3D games. Unity® is cross-platform, which means it is easy to use with other platforms.
You create game art for the game in Blender. You will build all the art assets for the game. You will learn to integrate your art from Blender into Unity®.
Why Blender?
Blender, like Unity®, is a popular production suite that is free to download. Blender is a revolutionary tool for making 3D art digitally. With Blender, you can make art assets for games, like we do in this epic Mammoth Interactive course.
Enroll Now for Lifetime Access