In this episode I'll show you how to add a UI which shows the distance traveled by the player which is used as the main score component. We'll cover how to get the canvas UI to rescale and fit with various resolutions and how to format the texts correctly. We'll also do some optimizations for canvases to make sure that things runs as fast as pos...
2025-04-30 19:43:40 +0000 UTC
View Post
In this episode I'll show you how to upgrade to Unity 6 and Cinemachine 3. It is a very short video but as I've gotten questions specifically about these upgrades I decided to just focus on them.
Download the the source code for the Unity project below π
2025-04-22 18:18:24 +0000 UTC
View Post
In this episode you will learn how to add sound effects to your game. We'll also go through how mixers works and why you should use them as early as possible in your game project. Using simple tricks like adjusting the pitch and volume you will learn how to make your game sound more interesting and appealing to your audience. The SFX used in thi...
2024-12-06 15:35:28 +0000 UTC
View Post
In this episode you will learn how pick up other objects using joints to provide a physics accurate carrying mechanism. This method will work on other rigid bodies including other active or passive ragdolls. Fixed joints will be used to achieve this but in Unity they are not always as fixed as you'd like so I'll show you how to make them a lot m...
2024-11-13 22:05:49 +0000 UTC
View Post
In this episode you will learn how to switch between regular ragdolls and active ragdolls. This can be useful when knocking out your character so it becomes floppy and allows it to become a regular ragdoll. We'll also add a revive options which changes the ragdoll into an active ragdoll again. As a bonus we'll add a bit of sword fighting with th...
2024-10-09 17:03:58 +0000 UTC
View Post
In this episode you will learn how to upgrade your Photon Quantum 2 game to Photon Quantum 3. We'll walk you through the official upgrade process and cover the extra things you might need to do in order to successfully upgrade your Unity project. An example of this is resolving the namespace QuantumStaticTerrainCollider3D is missing. After compl...
2024-09-06 13:41:24 +0000 UTC
View Post
In this episode we'll go through how to add online multiplayer to the game using Photon Fusion 2. You can use the same technique with any network framework as long as you can process the physics on the server/host side. The host will move the characters and will use physics and the information about the rotations on the joints is then sent to th...
2024-07-20 08:51:08 +0000 UTC
View Post
In this episode we'll go through how to add physical animations to your active ragdoll character. We'll use a technique where you use a regular animation and transfer the desired rotations to the joints which will act as muscles. This gives a good blend between animation and physics causing the active ragdoll character to react to impacts while ...
2024-07-17 21:16:20 +0000 UTC
View Post
In this episode we'll go through how to setup an physics based active ragdoll character which is controlled by physics. The setup we'll use is similar to what Gang Beast or Human Fall Flat uses. We'll cover how to use any rigged character to setup the joints required for an active ragdoll character controller and how to control the ragdoll chara...
2024-07-16 19:55:22 +0000 UTC
View Post
In this episode we will replace the graphics with much nicer looking models from Kay Lousberg. We'll also add animations to our characters for walking, jumping and falling which will work in both local and multiplayer mode. Unity will read information from Quantum and feed the animator with information about movement speed etc. A new game mechan...
2024-06-20 13:38:47 +0000 UTC
View Post
In this episode we will add a server/session browser where you'll be able to list all sessions with the ability to join a specific Photon Quantum session/room. We'll also cover how to fetch custom parameters from a room to find out which maps is used and you can use this to provide additional information for matchmaking etc.
Download the t...
2024-06-06 18:11:54 +0000 UTC
View Post
In this episode we will replace the Photon Quantum provided menu screen with our own. We'll also add a Quick play feature which lets players get into the action faster. The episode explains how to connect to the Photon Master Server (Photon Cloud), create or find a random room and how to launch the Photon Quantum game.
Download the ...
2024-05-24 20:09:02 +0000 UTC
View Post
In this episode we'll cover how to upgrade your existing project from Photon Fusion 1.x to 2.0. We'll go through the changes you need to make to OnChange, Network Runner Handler and Network character controller prototype. After this you should have the details you'll need to upgrade your Photon Fusion 1.0 game to Photon Fusion 2.0. We'll also re...
2024-04-13 16:42:03 +0000 UTC
View Post
Seems like something with "Photon Fusion 2.0" is the winner, followed by "A new series".
Thank you so much for voting π
2024-04-11 08:26:30 +0000 UTC
View Post
Time to place your votes on what I should cover in the next tutorial(s). Here is your chance to influence the direction of the upcoming videos.
(If you select "A new series covering something new" then please leave a comment on what you'd like to see)
You can also vote on the Discord server using this link 2024-04-03 19:21:32 +0000 UTC
View Post
In this episode we'll cover how to efficiently spawn AI cars using pools. We'll also implement a basic car AI. The AI cars will be able to detect other cars, avoid crashing into them and also be able to select which lane they should drive in.
Download the the source code for the Unity project below π
You will need to install
2024-03-28 14:22:06 +0000 UTC
View Post
In this episode we'll go through how you can explode your car when you hit objects using Unity and Blender. The technique could be used to blow up anything such as houses, trees or other object in your game world. π My blender skills are not the best so I'm sure that there are other videos that can explain bisect better but this works for me ...
2024-03-06 18:32:24 +0000 UTC
View Post
In this episode we'll go through how you can make your game look great in Unity instead of the bland and dull colors it has using the default settings. We'll tune the shadows, lightning and also add post processing (Tonemapping, Bloom, Color Adjustments) to make the graphics look amazing with vibrant colors. With few changes it really makes a bi...
2024-02-27 18:14:14 +0000 UTC
View Post
In this episode we'll go through how you add more content and also how you can easily randomize objects to create the illusion of more content. We will also add a fake horizon effect without curving the sections, this prevents large objects from just popping into view.
Download the the source code for the Unity project below π
2024-02-07 19:18:30 +0000 UTC
View Post
In this episode we'll go through how you generate the endless levels with a focus on high performance code that doesn't generate garbage and can run on weaker devices such as Nintendo Switch or mobile phones. We'll be adding endless sections which is pooled for performance and will also provide the option to add more variation to the game world....
2024-01-27 14:50:55 +0000 UTC
View Post
In this episode we'll go through how you can easily add a chase camera using Unity cinemachine and even have it avoid obstacles by using the collider extension. We'll also add turning to the car so it doesn't just slide from side to side. The car handling is also improved with turn speed, max speed and in general better handling.
Download ...
2024-01-17 15:46:33 +0000 UTC
View Post
In this episode we will go through how you manage game states in Photon Quantum by creating a singleton. A simple count down system is added which also detect when the game should end. We'll use Unity UI to show the count down variable from Quantum and also a simple end game text. Then finally we'll add a trigger which acts as a finish place whi...
2024-01-14 19:27:38 +0000 UTC
View Post
This is a new series were we will cover how to make an Endless Driving/Running game in 3D with destructible cars from scratch. The game will use a bit of procedural generation with pre-made section which are placed in a random order which greatly enhances the replayability.
In this episode we'll go through Unity setup and basic car movemen...
2024-01-10 21:30:21 +0000 UTC
View Post
π This year most of my games are on major discounts on most platforms for the holidays so if you haven't already then please buy & play them. And if you do please leave a review as it helps me a lot the with Steam Discovery algorithm!
2023-12-24 11:08:09 +0000 UTC
View Post
In this episode we will react to Photon Quantum events in Unity and will add a Cinemachine camera that will follow the "local" player once the player joins. We'll also add support for respawn and despawn of players + the ability to have more than 6 players.
Download the the source code for the Unity project below π
2023-12-20 15:14:13 +0000 UTC
View Post
In this episode we'll add bots which will navigate through our levels with pathfinding using Nav mesh in a networked game. The code will be based on the players movement code so they AI will not cheat and we'll show you how to use nav meshes only without the need of using Navmesh agents which overrides how your bots will move etc.
Attached...
2023-12-06 13:00:13 +0000 UTC
View Post
In this episode we'll add bots which will navigate through our levels with pathfinding using Nav mesh in a networked game. The code will be based on the players movement code so they AI will not cheat and we'll show you how to use nav meshes only without the need of using Navmesh agents which overrides how your bots will move etc.
Download...
2023-11-02 11:22:26 +0000 UTC
View Post
Part 16 of the Top down car controller is now available on YouTube.
In this part of the series we'll go through how you can add surface materials like grass, sand, ice and oil slicks. Each surface type can have different attributes that affects the handling of your car a...
2023-08-30 18:21:45 +0000 UTC
View Post
In this episode we'll add a 3rd person camera view using Cinemachine and virtual follow player camera. You'll be able to toggle between first player view and 3rd person view. We'll also cover how to perform aiming in 3rd person mode using ray casting from the host/servers as it differs from how you do it in first person. With this tutorial you'l...
2023-08-14 19:47:00 +0000 UTC
View Post