Grid Combat System! (Turn-Based, XCOM)

Grid Combat System! (Turn-Based, XCOM)

Channel:
Subscribers:
526,000
Published on ● Video Link: https://www.youtube.com/watch?v=mONHucoYASU



Game:
Category:
Tutorial
Duration: 26:36
109,991 views
1,850


βœ… Get the Project files and Utilities at https://unitycodemonkey.com/video.php?v=mONHucoYASU
🌐 Check out the Spring Sale with 500 most popular assets at 50% off! https://assetstore.unity.com/?on_sale=true&aid=1101l96nj&pubref=gridcombat
✨ Use the Coupon SSAFF2020 for an extra 10% off!
❀️ Using this Affiliate Link helps support the channel

Let's make a Grid Turn-Based Combat System in Unity like XCOM or Wasteland.

Grid System in Unity (Heatmap, Pathfinding, Building Area)
Custom Tilemap in Unity
https://www.youtube.com/playlist?list=PLzDRvYVwl53uhO8yhqxcyjDImRjO9W722

A* Pathfinding in Unity
https://www.youtube.com/watch?v=alU04hvz6L4

Modular Character System
https://www.youtube.com/watch?v=mJRc9kLxFSk

Simple Turn-Based RPG Battle System
https://www.youtube.com/watch?v=0QU0yV0CYT4

Simple Enemy AI
https://www.youtube.com/watch?v=db0KWYaWfeM

What are Delegates in C#?
https://www.youtube.com/playlist?list=PLzDRvYVwl53t2GGC4rV_AmH7vSvSqjVmz

Pathfinding in Unity DOTS! (Insane Speed!!!)
https://www.youtube.com/playlist?list=PLzDRvYVwl53v55lu_TjC21Iu4CuFGQXVn

Easily Control Cameras with Cinemachine
https://www.youtube.com/watch?v=Ml8ptNeezsU

In THIS video were going to make a Turn-Based Grid Combat System in Unity
Our Units will be in two teams placed in a grid with a certain move radius and the ability to do attacks.
Each unit will do its Move and Attack in a Turn by Turn basis.
First we're going to look at the base for our Combat System, everything is set up using the Grid System that we made previously along with the A* Pathfinding and the Tilemap.
By building upon those systems we can quickly set up our Grid Combat.

We're going to first deal with a single Unit and use Pathfinding to calculate all of the valid positions that Unit can move to.
Then we're going to store the Unit positions in our Grid so we can identify when we click on a Unit.
After detecting a click on a Unit we're going to test if that Unit is an Enemy of the current active Unit and if so we're going to order our Unit to Attack.

With the Attack and Movement working then we create the Turn-Based System like we did in a previous RPG Battle System. First the Blue team goes then the Red team and so on.

And with that our whole system is complete!
You could expand upon this system by adding special abilities and hit/miss chances to make a game like XCOM.

If you have any questions post them in the comments and I'll do my best to answer them.

πŸ”” Subscribe for more Unity Tutorials https://www.youtube.com/channel/UCFK6NCbuCIVzA6Yj1G_ZqCg?sub_confirmation=1

See you next time!

πŸ“ Support on Patreon https://www.patreon.com/unitycodemonkey
πŸ€– Join the Community Discord https://discord.gg/eHjUVrm
πŸ“¦ Grab the Game Bundle at https://unitycodemonkey.com/gameBundle.php
πŸ“ Get the Code Monkey Utilities at https://unitycodemonkey.com/utils.php

#unitytutorial #unity3d #unity2d

--------------------------------------------------------------------

Hello and welcome, I am your Code Monkey and here you will learn everything about Game Development in Unity 2D using C#.

I've been developing games for several years with 7 published games on Steam and now I'm sharing my knowledge to help you on your own game development journey.

You can see my games at www.endlessloopstudios.com


--------------------------------------------------------------------

- Website: https://unitycodemonkey.com/
- Twitter: https://twitter.com/UnityCodeMonkey
- Facebook: https://www.facebook.com/UnityCodeMonkey/







Tags:
unity turn based combat
unity turn based battle system
unity turn based movement
unity xcom tutorial
unity grid movement
unity turn based
unity xcom movement
unity xcom
xcom
code monkey
brackeys
unity tutorial
unity game tutorial
unity 2d tutorial
unity 3d
unity
game design
game development
game dev
game development unity
unity 2d
unity 3d tutorial
programming
c#
code
software development
learn to code
learn programming
xcom chimera squad



Other Statistics

XCOM: Chimera Squad Statistics For Code Monkey

At this time, Code Monkey has 109,991 views for XCOM: Chimera Squad spread across 1 video. Less than an hour worth of XCOM: Chimera Squad videos were uploaded to his channel, making up less than 0.20% of the total overall content on Code Monkey's YouTube channel.