create account

#141 Multiple AIs - Unity Tutorial by roundbeargames

View this thread on: hive.blogpeakd.comecency.com
· @roundbeargames ·
$5.76
#141 Multiple AIs - Unity Tutorial
[![h36qdee194.png](https://img.esteem.ws/h36qdee194.png)](https://youtube.com/roundbeargames)

----

https://youtu.be/t5h-vY98Emk

Multiple AIs - Unity Tutorial
GameDev Course by Roundbeargames
- Using state machines / animator states
- Unity NavMeshAgent / pathfinding
- 2.5D platformer / sidescroller

Pls fix BlockCharacter β†’ BlockingCharacter
https://i.imgur.com/Ic0itCa.jpg
Sorry for the spelling mistake!

AI goes through a rather simple iteration until it gets to the player. We're using Unity's default NavMeshAgent to find the connecting points between different platforms. We toggle Jump/MoveLeft/Right depending on the position of the target/AI/NavMeshAgent.

This is only the beginning for enemy pathfinding. Later we'll have add details and variations to make AI movements smoother.

Files are available here:
https://drive.google.com/drive/folders/17Lfpa5r-3zeR1jaT0eJ4nqIR3pkU9ABE?usp=sharing

Download this project: 
https://github.com/RoundBearChoi/2.5D_Platformer_Unity

Tutorial playlist:
https://www.youtube.com/playlist?list=PLWYGofN_jX5BupV2xLjU1HUvujl_yDIN6

Custom animations designed by Wemakethegame:
https://www.wemakethegame.com

Any questions/comments? Join us on discord: 
https://discord.gg/RbxjBu3

Social
twitter: https://twitter.com/roundbeargames
facebook: https://facebook.com/roundbeargames17
steem: https://steemit.com/@roundbeargames
reddit: https://reddit.com/user/roundbeargames
linkedin: https://linkedin.com/in/roundbeargames-choi-15041a9a

Patreon:
https://www.patreon.com/roundbeargames

----

<center>

[![rblogo_up.png](https://cdn.steemitimages.com/DQmbGCND6J3XWjZuLbEmYVPtNwPNGNGZ5LYBYa1jSp3rCG6/rblogo_up.png)](https://steemit.com/@roundbeargames)
  
[![40_flogo_rgb_hex-brc-site-250.png](https://cdn.steemitimages.com/DQmThw7FJqwZR9axYs7TnsJdbu7iqo9zq1FhTLaSDqWMShd/40_flogo_rgb_hex-brc-site-250.png)](https://www.facebook.com/RoundBearGames17) [![40_ytlogo50.png](https://cdn.steemitimages.com/DQmZwv7R6QendHUsLf6216uu8Cp2w7MLAv6gByKSuxCxzHD/40_ytlogo50.png)](https://www.youtube.com/channel/UCAoJgVzDHnFDOQwC42raByg) [![40_twitter-logo-transparent-300x300.png](https://cdn.steemitimages.com/DQmaEWJVXdDvW9fXe2wAM6YzEbM81EoR7cewFCpV7AXw9vj/40_twitter-logo-transparent-300x300.png)](https://twitter.com/RoundBearGames) [![Discord-Logo-Color_40w.png](https://cdn.steemitimages.com/DQmRzuhdEeNaTzSGzbniP2366yLLoLBiMytiFTXZGJBEWQs/Discord-Logo-Color_40w.png)](https://discord.gg/RbxjBu3) [![steemitlogo_tr_35.png](https://cdn.steemitimages.com/DQmZn17ozfcwX6zrrToopdkFbsNWU7CBq1J2JtWC41sAc8e/steemitlogo_tr_35.png)](https://www.steemit.com/@roundbeargames) [![reddit 33.png](https://cdn.steemitimages.com/DQmUumcXT8QNt24J6FcMvL8tbyHcu22opbxgF2KySp43sj5/reddit%2033.png)](https://www.reddit.com/user/roundbeargames) [![linkedin32.png](https://cdn.steemitimages.com/DQmUjeR1NKESYntbqhShPga1huvHeJrQ46VoSmXkU2X9Qo9/linkedin32.png)](https://www.linkedin.com/in/roundbeargames-choi-15041a9a/)
<br>
#### Posted using [eSteem Surfer](https://esteem.app)
![mascot_logo_100.png](https://cdn.steemitimages.com/DQmRtCRvnh6DN278Shi3TCJH4xb8GCv3vdkVDZcccxUPMy4/mascot_logo_100.png)
</center>
πŸ‘  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 150 others
properties (23)
authorroundbeargames
permlink141-multiple-ais-unity-tutorial
categorygamedev
json_metadata{"links":["https://youtube.com/roundbeargames","https://youtu.be/t5h-vY98Emk","https://drive.google.com/drive/folders/17Lfpa5r-3zeR1jaT0eJ4nqIR3pkU9ABE?usp=sharing","https://github.com/RoundBearChoi/2.5D_Platformer_Unity","https://www.youtube.com/playlist?list=PLWYGofN_jX5BupV2xLjU1HUvujl_yDIN6","https://www.wemakethegame.com","https://discord.gg/RbxjBu3","https://twitter.com/roundbeargames","https://facebook.com/roundbeargames17","https://steemit.com/@roundbeargames","https://reddit.com/user/roundbeargames","https://linkedin.com/in/roundbeargames-choi-15041a9a","https://www.patreon.com/roundbeargames","https://steemit.com/@roundbeargames","https://www.facebook.com/RoundBearGames17","https://www.youtube.com/channel/UCAoJgVzDHnFDOQwC42raByg","https://twitter.com/RoundBearGames","https://discord.gg/RbxjBu3","https://www.steemit.com/@roundbeargames","https://www.reddit.com/user/roundbeargames","https://www.linkedin.com/in/roundbeargames-choi-15041a9a/","https://esteem.app"],"image":["https://img.esteem.ws/h36qdee194.png","https://i.imgur.com/Ic0itCa.jpg","https://cdn.steemitimages.com/DQmbGCND6J3XWjZuLbEmYVPtNwPNGNGZ5LYBYa1jSp3rCG6/rblogo_up.png","https://cdn.steemitimages.com/DQmThw7FJqwZR9axYs7TnsJdbu7iqo9zq1FhTLaSDqWMShd/40_flogo_rgb_hex-brc-site-250.png","https://cdn.steemitimages.com/DQmZwv7R6QendHUsLf6216uu8Cp2w7MLAv6gByKSuxCxzHD/40_ytlogo50.png","https://cdn.steemitimages.com/DQmaEWJVXdDvW9fXe2wAM6YzEbM81EoR7cewFCpV7AXw9vj/40_twitter-logo-transparent-300x300.png","https://cdn.steemitimages.com/DQmRzuhdEeNaTzSGzbniP2366yLLoLBiMytiFTXZGJBEWQs/Discord-Logo-Color_40w.png","https://cdn.steemitimages.com/DQmZn17ozfcwX6zrrToopdkFbsNWU7CBq1J2JtWC41sAc8e/steemitlogo_tr_35.png","https://cdn.steemitimages.com/DQmUumcXT8QNt24J6FcMvL8tbyHcu22opbxgF2KySp43sj5/reddit%2033.png","https://cdn.steemitimages.com/DQmUjeR1NKESYntbqhShPga1huvHeJrQ46VoSmXkU2X9Qo9/linkedin32.png","https://cdn.steemitimages.com/DQmRtCRvnh6DN278Shi3TCJH4xb8GCv3vdkVDZcccxUPMy4/mascot_logo_100.png"],"tags":["gamedev","opgaming","youtube","video","esteemapp"],"app":"esteem/2.2.0-surfer","format":"markdown+html","community":"esteem.app"}
created2019-09-18 13:14:39
last_update2019-09-18 13:14:39
depth0
children4
last_payout2019-09-25 13:14:39
cashout_time1969-12-31 23:59:59
total_payout_value2.949 HBD
curator_payout_value2.813 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length3,126
author_reputation192,109,263,238,027
root_title"#141 Multiple AIs - Unity Tutorial"
beneficiaries
0.
accountesteemapp
weight1,000
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id90,696,189
net_rshares18,183,614,077,916
author_curate_reward""
vote details (214)
@beerlover ·
<div class='pull-right'>https://cdn.steemitimages.com/DQmXK1U89BrMJHwgv6BysSpYswN7NA39URStPi65azu3PJo/Sich%20f%C3%BCllendes%20Bierglas.gif<p><sup>View or trade <code>BEER</code> at <a href='https://steem-engine.com/?p=market&t=BEER'>steem-engine</a>.</sup></p></div><center><br><br> <p> Hey @roundbeargames, here is a bit <code>BEER</code> for you. Enjoy it!</p> </center>
properties (22)
authorbeerlover
permlinkre-141-multiple-ais-unity-tutorial-20190919t061245z
categorygamedev
json_metadata"{"app": "beem/0.21.1"}"
created2019-09-19 06:12:48
last_update2019-09-19 06:12:48
depth1
children0
last_payout2019-09-26 06:12:48
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length372
author_reputation25,782,713,665,946
root_title"#141 Multiple AIs - Unity Tutorial"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id90,720,786
net_rshares0
@bluengel ·
!BEER πŸ’™

항상 ν–‰λ³΅ν•œ πŸ’™ 였늘 λ³΄λ‚΄μ…”μš©~*^^*

Posted using [Partiko Android](https://partiko.app/referral/bluengel)
πŸ‘  
properties (23)
authorbluengel
permlinkbluengel-re-roundbeargames-141-multiple-ais-unity-tutorial-20190919t061235291z
categorygamedev
json_metadata{"app":"partiko","client":"android"}
created2019-09-19 06:12:36
last_update2019-09-19 06:12:36
depth1
children1
last_payout2019-09-26 06:12:36
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length101
author_reputation129,269,571,273,945
root_title"#141 Multiple AIs - Unity Tutorial"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id90,720,774
net_rshares1,142,591,618
author_curate_reward""
vote details (1)
@roundbeargames ·
흐흐 μ˜€λŠ˜μ€ beerloverκ°€ 잘 μž‘λ™ν•˜λŠ”κ΅°μš” πŸ˜„πŸ» 
μ•ˆκ·Έλž˜λ„ 였늘 저녁에 ν•œμž”ν• μˆ˜λ„ μžˆμ„κΊΌκ°™λ„€μš”.
ν–‰λ³΅ν•œν•˜λ£¨λ˜μ‹œκΈΈ!
properties (22)
authorroundbeargames
permlinkre-bluengel-2019919t16748765z
categorygamedev
json_metadata{"tags":["esteem"],"app":"esteem/2.2.0-surfer","format":"markdown+html","community":"esteem.app"}
created2019-09-19 07:07:54
last_update2019-09-19 07:07:54
depth2
children0
last_payout2019-09-26 07:07:54
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length66
author_reputation192,109,263,238,027
root_title"#141 Multiple AIs - Unity Tutorial"
beneficiaries
0.
accountesteemapp
weight1,000
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id90,721,999
net_rshares0
@drotto ·
<p>This post has received a 3.13 % upvote from @drotto thanks to: @sbi-booster.</p>
properties (22)
authordrotto
permlinkre-roundbeargames-141-multiple-ais-unity-tutorial-20190918t134712235z
categorygamedev
json_metadata{"tags":["gamedev"],"app":"drotto/0.0.5pre2"}
created2019-09-18 13:47:12
last_update2019-09-18 13:47:12
depth1
children0
last_payout2019-09-25 13:47:12
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length84
author_reputation419,916,705,599
root_title"#141 Multiple AIs - Unity Tutorial"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id90,697,337
net_rshares0