filmov
tv
How To Make a Fake Multiplayer Game: Natural AI

Показать описание
I will teach you how to make a natural AI for fake multiplayer games where the player plays against AI that have names and with a leaderboard, making it feel like a multiplayer game. This type of game has become quite popular, especially .io sites and apps, so when a subscriber recommended me to make a tutorial on it, I thought it would be interesting.
The most important when making an AI for fake multiplayer games is to make it natural. That means the AI must not be able to do things that the player cannot do, such as see through walls, see too far away, move too fast, etc. It also must act like a human. That means it must make mistakes, do things not in the perfect way, etc. I will show you an example in this game by making the AI have randomized weights for the decisions of what action to take making them inperfect and different from each other as well as adding a turn speed so they can't react too fast.
---------------------------------
Subscribe for game making tutorials, other game-making related content and to follow my projects with the dev logs !
0:00 Intro
0:35 Keeping Track of Entities
2:03 Entity Type
3:10 Reactive AI
11:48 Remove Enemies
14:00 Visualization
15:00 Priorities
17:13 Different Behaviors
19:00 Smooth Turns
21:38 Target Player Too
The most important when making an AI for fake multiplayer games is to make it natural. That means the AI must not be able to do things that the player cannot do, such as see through walls, see too far away, move too fast, etc. It also must act like a human. That means it must make mistakes, do things not in the perfect way, etc. I will show you an example in this game by making the AI have randomized weights for the decisions of what action to take making them inperfect and different from each other as well as adding a turn speed so they can't react too fast.
---------------------------------
Subscribe for game making tutorials, other game-making related content and to follow my projects with the dev logs !
0:00 Intro
0:35 Keeping Track of Entities
2:03 Entity Type
3:10 Reactive AI
11:48 Remove Enemies
14:00 Visualization
15:00 Priorities
17:13 Different Behaviors
19:00 Smooth Turns
21:38 Target Player Too
Комментарии