Home Creators Posts Import Register Favorites Logout
haven't archived this post yet. have a subscription? use the importer!

Downloads

  • Agar-Clone - P4.zip

Missing 1 full-res photo, 1 file, as this post has not yet been imported.

Content

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 the source code for the Unity project below 👇

Files

Previews only

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

Download complete Unity project 👉 https://www.patreon.com/posts/tutorial-agar-io-85067697 📍 Support us on *Patreon* and help us make more videos like this one ⏩ https://www.patreon.com/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/fusion/current/getting-started/sdk-download 💥 Join Our Community! 💥 💬 Discord https://discord.gg/AyYtKXT 🐔Twitter https://twitter.com/prettyflydev Music "Jazz Brunch", "Frost Waltz" by Kevin MacLeod (incompetech.com) Licensed under Creative Commons: By Attribution 3.0 License http://creativecommons.org/licenses/by/3.0/ 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

Comments

No comments found for this post.