Tutorial: Agar.io clone in Unity + Photon Fusion online multiplayer EP4 - Spawn bots 🤖

Опубликовано: 30 Март 2026
на канале: Pretty Fly Games
967
17

Download complete Unity project 👉   / tutorial-agar-io-85067697  

📍 Support us on Patreon and help us make more videos like this one ⏩   / prettyflygames  

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 Photon Fusion SDK https://doc.photonengine.com/en-us/fu...

💥 Join Our Community! 💥
💬 Discord   / discord  
🐔Twitter   / prettyflydev  

Music "Jazz Brunch", "Frost Waltz" by Kevin MacLeod (incompetech.com)
Licensed under Creative Commons: By Attribution 3.0 License
http://creativecommons.org/licenses/b...

What is Agar.io?
Agar.io is a massively multiplayer online action game where you control a circular cells in a map representing a Petri dish. The goal is to gain as much mass as possible by eating agar and cells smaller than the player's cell while avoiding larger ones which can eat the player's cells.

Chapters:
00:00 Intro
00:12 Adding bots
12:40 Respawning bots after they die
20:41 Bug fixes
32:57 💗 Patreon supporters

#PrettyFlyGames #LearnUnity #UnityTutorials #gamedev #PhotonFusion