SamuZai
Pretty Fly Games

Pretty Fly Games

patreon


Pretty Fly Games posts

Code Access: Agar.io clone in Unity + Photon Fusion online multiplayer EP 5 - Cloud Servers ☁️

In this episode we'll go through how to run your game on Unity game services Multiplay cloud servers. With Multiplay cloud servers hosting your game becomes a breeze and we'll cover the you'll need to take to setup your server including build configs, setting up fleets and most importantly of all, how to get Photon Fusion to run on multiple servers.

Download the the source code for the Un...

View Post

Code Access: Agar.io clone in Unity + Photon Fusion online multiplayer Part 4 (Spawn bots)

In this episode we'll go through how to add bots to the game as it is pretty boring if no other players are online. The number of bots will be dynamically be spawned if there isn't enough real players in the game. The bots are very basic and will only chase food at this point but they could easily be enhanced with more intelligence. A few bugs were also detected and fixed :)

Download the ...

View Post

Code Access: Agar.io clone in Unity + Photon Fusion online multiplayer Part 3 (Spawn food & Eat & Grow)

In this episode we'll go through how to spawn food for the players, collision detection so players can eat the food and also give players the ability to eat each other so they can grow. Game over UI will be added with the ability to respawn again.

Download the the source code for the Unity project below 👇

View Post

Code Access: Agar.io clone in Unity + Photon Fusion online multiplayer Part 2 (Player names & states)

In this episode we'll go through how to use the join screen and input the players name which will be synced over the network. We'll also add networked player states and the ability to assign random colors to players.

Download the the source code for the Unity project below 👇


View Post

Code Access: How to make an Agar.io clone in Unity using Photon Fusion online multiplayer

In this tutorial series I'll show you how to create an online multiplayer Agar.io clone in Unity using Photon Fusion from scratch.

In this episode we'll go through how to setup Photon Fusion in Server - Client mode. We'll start by starting up a Runner in Photon Fusion so you can connect as a client to the server. Then we'll cover movement and how to send input over the network.

Down...

View Post

Code Access: Online multiplayer 🔫 FPS Unity & Photon Fusion EP10 (Ready up!)

The10th episode is now available on YouTube

In this episode we'll go through how to add a READY UP screen in Photon Fusion where the player can select their character and then mark themselves as ready. The host will then start a count down, lock the room and change the scene with all information synchronized over the net...

View Post

Code Access: Online multiplayer 🔫 FPS Unity & Photon Fusion EP9 (Dynamic body parts)

The 9th episode is now available on YouTube

In this episode we'll go through how to add custom models and synchronize animations over the network with Photon Fusion. We'll be using the regular animator with blend trees to animate the character using parameters. Animator layers will also briefly be covered where we blend ...

View Post

Code Access: Pole position - How to create a 2D Arcade Style Top Down Car Controller in Unity tutorial Part 15

Part 15 of the Top down car controller is now available on YouTube.

In this part of the series we will cover requests from our Patreon supporters so we'll be showing how to add unique driver names, unique cars and also how to ensure that cars retain their position from the last race. We'll also briefly show how to add p...

View Post

Code Access: Online multiplayer 🔫 FPS Unity & Photon Fusion EP8 (Syncing networking animations)

The 8th episode is now available on YouTube

In this episode we'll go through how to add custom models and synchronize animations over the network with Photon Fusion. We'll be using the regular animator with blend trees to animate the character using parameters. Animator layers will also briefly be covered where we blend ...

View Post

Code Access: Online multiplayer 🔫 FPS Unity & Photon Fusion EP7 (Lobby Session Browser)

The 7th episode is now available on YouTube

In this episode we'll go through how to implement the lobby system in Photon Fusion. This allows you to create a server browser where you can see the name of the game sessions and how many players are connected. You can easily extend this with additional information that you'd ...

View Post

Code Access: Race time - How to create a 2D Arcade Style Top Down Car Controller in Unity tutorial Part 14

Part 14 of the Top down car controller is now available on YouTube.

In this part of the series we will continue to bring together all of the components such as AI, car selection etc with the aim to make a complete racing game. We'll introduce race time and will adapt the AI and the Ghost car recorder so it reacts to Rac...

View Post

Code Access: Online multiplayer 🔫 FPS Unity & Photon Fusion EP6 (Networked projectiles)

The 6th episode is now available on YouTube

In this episode we'll go through how to implement basic networked projectiles such as grenades and rockets in Photon Fusion. The projectiles will cause area damage to all surrounding players.

Download the the source code for the Unity project below 👇

View Post

Code Access: Online multiplayer 🔫 FPS Unity & Photon Fusion EP5 (Host migration)

The 5th episode is now available on YouTube

In this episode we'll go through how to implement host migration in Photon Fusion. If the host is lost during a multiplayer game then a new host must be assigned and in this tutorial we'll go through the steps required to perform host migration in Photon Fusion.

Download ...

View Post

Code Access: Countdown - How to create a 2D Arcade Style Top Down Car Controller in Unity tutorial Part 13

Part 13 of the Top down car controller is now available on YouTube.

The code for this project is located on the first post and has been updated with the new features. 

Download the the source code for the Unity project below ...

View Post

Code Access: Online multiplayer 🔫 FPS Unity & Photon Fusion EP4 (player names and RPCs)

The 4th episode is now available on YouTube

In this episode we'll go through how to implement player names in Photon Fusion. We will use text mesh in world space so you can see the name of each player. We'll also cover how to use RPCs to send messages from the server/host to the clients and vice verse and how to display ...

View Post

Code Access: Online multiplayer 🔫 FPS Unity & Photon Fusion EP3 (shooting + health)

The 3rd episode is now available on YouTube

In this episode we'll go through how to handle shooting with lag compensated raycasts = hitscans. Health management including networked variables will also be covered along with visual effects when you fire the gun.

PS the code has now been updated to work with Photon Fus...

View Post

Code Access: Tutorial: Online multiplayer 🔫 FPS Unity & Photon Fusion EP2 (camera + jumping + respawn)

The 2nd episode is now available on YouTube

In this episode we'll go through how to handle a FPS camera which is not connected physically to the player. We'll also ensure that it will only render the remote players and not the local players body parts. The input will also be improved with some additional stuff like respa...

View Post

Code Access: Multiplayer 🔫 FPS Unity & Photon Fusion tutorial project

In this series we'll cover how to make an multiplayer FPS with Photon Fusion and Unity 🎉

The first part is now available on YouTube.

Download the the source code for the Unity project below 👇

PS the code has now been updated to work with Photon Fusion 1.1

View Post

Code Access: Online multiplayer with Photon Fusion - 2D Arcade Style Car Controller in Unity tutorial Part 12

Part 12 of the Top down car controller is now available on YouTube.

PS this version contains some bug fixes not covered in the video.

Download the the source code for the Unity project below 👇


View Post

Code Access: Select Car UI - How to create a 2D Arcade Style Top Down Car Controller in Unity tutorial Part 11

Part 11 of the Top down car controller is now available on YouTube.

Download the the source code for the Unity project below

View Post

Code Access: Path finding with A* (A Star) in how to build a AI Bot Race Car Controller in Unity tutorial Part 4

Part 4 of the Top down car controller is now available on YouTube.

Download the the source code for the Unity project below

View Post

Code Access: Ghost car replay in how to create a 2D Arcade Style Top Down Car Controller tutorial Part 10

Part 10 of the Top down car controller is now available on YouTube.

Download the the source code for the Unity project below

View Post

Code Access: Leaderboard UI in how to create a 2D Arcade Style Top Down Car Controller tutorial Part 9

Part 9 of the Top down car controller is now available on YouTube.

Download the source code for the project below. 

View Post

Import Townscaper models into Unity with shaders that makes the models look good

In this project we'll try to reverse engineer the style of Townscaper so you can use the models in Unity. In Townscaper you can build these beautiful little towns and since the first time I saw it I thought, well this would make an awesome level editor. 

The problem with the models is that ...

View Post

Code Access: Mobile touch input in how to create a 2D Arcade Style Top Down Car Controller tutorial Part 8

Part 8 of the Top down car controller is now available on YouTube.

The code for this episode below also contains a fix to solve an issue with the jump code as it wasn't compatible with checkpoints that we introduced in Part 7.


View Post

Code Access: Local multiplayer input in how to create a 2D Arcade Style Top Down Car Controller tutorial Part 7

Part 7 of the Top down car controller is now available on YouTube.

The code for this project is located on the first post and has been updated with the new features. You can also find the project for this episode below.

View Post

Code Access: How to create a 2D Arcade Style Top Down Car Controller in Unity tutorial Part 6 - Checkpoints & Lap counting

Part 6 of the Top down car controller is now available on YouTube.

Source code for the project can be downloaded below. 

View Post

Code Access: How to create a 2D Arcade Style Top Down Car Controller in Unity tutorial Part 5 - Bridges & tunnels

Part 5 of the Top down car controller is now available on YouTube.

The code for this project is located on the first post and has been updated with the new features. You can also find the project for this episode below.

View Post

Code Access: How to create a 2D Arcade Style Top Down Car Controller in Unity tutorial Part 4 - Jumps

Part 4 of the Top down car controller is now available on Youtube.

The code for this project is located on the first post and has been updated with the new features. You can also find the project for this episode below.

View Post

Code Access: How to create an AI Bot Race Car Controller in Unity tutorial Part 3 - Better waypoints & skill level

Part 3 of the Race Car AI is now available on Youtube.

The code for this project is located on the first post https://www.patreon.com/posts/car-ai-tutorial-51162606 and has been updated with the new features.

View Post