How to Make a Real-Time Strategy RTS game! (High Level Overview feat. They Are Billions)

  Рет қаралды 17,573

Code Monkey

Code Monkey

Күн бұрын

🔴 All Tutorial Links unitycodemonkey.com/howtomake...
🌍 Sign up for my upcoming Unity DOTS - RTS Course! cmonkey.co/dotscourse_soon
🎮 Get Synty Assets 70% OFF! cmonkey.co/syntystore
🌍 Learn C# from Beginner to Advanced! cmonkey.co/csharpcourse
🎮 Play my Steam game! cmonkey.co/dinkyguardians
❤️ Watch my FREE Complete Courses • Learn to make Games wi...
🌍 Get my Complete Courses! ✅ unitycodemonkey.com/courses
👍 Learn to make awesome games step-by-step from start to finish.
🔴 RELATED VIDEOS 🔴
How to make a Turn-Based Strategy game! (High Level Overview feat. Classified France 44) • How to make a Turn-Bas...
How to Make Assassin's Creed: Mirage (High Level Overview) • How to Make a Stealth ...
How to make a City Builder! (High Level Overview feat. Pioneers of Pagonia) • How to make a City Bui...
Learn C# Intermediate FREE Tutorial Course! [2024] • Learn C# Intermediate ...
💬 Here's a high level overview on how to make a Real-Time Strategy RTS game using They Are Billions as an example.
These kinds of games involve Placing Buildings, spawning lots of Units and controlling them while engaging in Combat and Resource Gathering.
Check out the game page for a list of all the tutorials unitycodemonkey.com/howtomake...
00:00 Intro
01:58 Unit Selection
02:56 Flow Field Pathfinding
04:04 Fog of War
05:49 Place Buildings
06:35 Building Types
07:09 Resource Manager
07:36 Resource Generation
08:05 Unit Spawning
08:55 Horde
09:56 Zombie AI
11:04 Villagers
11:50 Map
12:47 World Map
13:23 Performance
14:23 Outro
📝 Some Links are Affiliate links which means it costs the same to you and I get a nice commission.
🌍 Get Code Monkey on Steam!
👍 Interactive Tutorials, Complete Games and More!
✅ store.steampowered.com/app/12...
If you have any questions post them in the comments and I'll do my best to answer them.
🔔 Subscribe for more Unity Tutorials / @codemonkeyunity
See you next time!
📍 Support on Patreon / unitycodemonkey
🎮 Grab the Game Bundle at unitycodemonkey.com/gameBundl...
📝 Get the Code Monkey Utilities at unitycodemonkey.com/utils.php
--------------------------------------------------------------------
Hello and Welcome!
I'm your Code Monkey and here you will learn everything about Game Development in Unity using C#.
I've been developing games for several years with 8 published games on Steam and now I'm sharing my knowledge to help you on your own game development journey.
I do Unity Tutorials on just about every topic, Unity Tutorials for Beginners and Unity Tutorials for Advanced users.
--------------------------------------------------------------------
- Website: unitycodemonkey.com/
- Twitter: / unitycodemonkey
- Steam: store.steampowered.com/develo...

Пікірлер: 100
@eternalcat
@eternalcat 24 күн бұрын
like if you agree codemonkey should release a RTS tutorial!!!!
@kulwindersingh-gc4bh
@kulwindersingh-gc4bh 24 күн бұрын
Yes we want
@daniel3dart
@daniel3dart 24 күн бұрын
YES! Yes indeed
@BoltRM
@BoltRM 24 күн бұрын
Well that was easy.
@vespeneprotoss4346
@vespeneprotoss4346 24 күн бұрын
Didn't he say he's making a new Udemy course on this?
@johnnyxp64
@johnnyxp64 24 күн бұрын
We have been begging him for many years now and he said frw times he would like to make a complete tutorial but never happened 😢 glad to see it in progress 😁
@normanjebaits4462
@normanjebaits4462 24 күн бұрын
You have no idea how excited I am for this! I've been wanting to make a game like They Are Billions for years. I waited for DOTS to get it's full release and now I've finally started on it. I've followed a lot of your DOTS tutorials even from previous versions and they have helped a ton (even though it took ages to convert some stuff to newer ecs versions). I literally would have never been able to figure out DOTS without your tutorials and now that you are doing an RTS course it will make learning some of these crazy performance gains 100x easier.
@CodeMonkeyUnity
@CodeMonkeyUnity 24 күн бұрын
heh that's awesome!
@slasher3428
@slasher3428 23 күн бұрын
I'm so glad to hear you are working on a full RTS tutorial. I used some of your tutorials in the past to attempt basic movement in a project I now since abandoned. But I'd definitely like to give it a try again.
@alberteinstein7466
@alberteinstein7466 24 күн бұрын
I am recreating Factorio and learning through your grid system videos how to do this. It is great to see this kind of videos, I am learning a lot in this channel.
@CodeMonkeyUnity
@CodeMonkeyUnity 24 күн бұрын
Oh nice! Best of luck with your game!
@tomazznidarko8700
@tomazznidarko8700 24 күн бұрын
I would like to see RTS like "They are Billions" but in 3D. Once you will published it, I'm buying it at once :)
@PandemoniumGameDev
@PandemoniumGameDev 23 күн бұрын
Love how you break down these videos! It really helps with project planning and makes everything less overwhelming, huge thanks to you!
@josephseger6053
@josephseger6053 20 күн бұрын
Thank you!!! I am looking forward to watching this course.
@MalikenGD
@MalikenGD 24 күн бұрын
These videos are some of your most interesting videos. Also can't wait for your course!
@user-om6gm8qq2v
@user-om6gm8qq2v 23 күн бұрын
Really excited for the course!
@MatrixRex05
@MatrixRex05 22 күн бұрын
love this new breakdown series. Please continue to do so!
@thevarangian300
@thevarangian300 24 күн бұрын
I love RTS games, certainly will be my next game project!
@Lynqoid
@Lynqoid 22 күн бұрын
Huge RTS fan, can not wait for your RTS course, I one hundred percent will complete the course, this is a promise to myself! Haha. Thanks again for all you do!
@mechasmoke
@mechasmoke 24 күн бұрын
This is great. I've been wanting to make a RTS for a while now! Can't wait for this to happen 😀
@TehAntares
@TehAntares 13 күн бұрын
It's been a long time, but the selection was actually fairly tricky. The selection box is easy and simple, however you can select units by single clicks, holding shift also alters the way selection works, and you use the same mouse button for disselecting and issuing commands as well. A complex scenario that requires a complex solution.
@alec_almartson
@alec_almartson 24 күн бұрын
Are you planning to create a new Course (and now with ECS / DOTS)? That's really good news. 🔥🎮😁💯👍🏻 I am sure it's going to be lots of fun and a great opportunity to learn to use DOTS and related Performance Optimization good practices.
@CodeMonkeyUnity
@CodeMonkeyUnity 24 күн бұрын
Yup! I can't wait to finally use DOTS as part of a complete project, it should be fun!
@mp3magnat521
@mp3magnat521 24 күн бұрын
I can't believe you're doing a course in my favorite genre! I hope it will be on udemy? I'm really looking forward to it!
@N1ghtR1der666
@N1ghtR1der666 24 күн бұрын
Please do a fully course for multiplayer DOTs not just single-player DOTs :D you absolute champ! in terams of course content can you cover procedural generation for creating maps as well as hand crafted bits
@MadpolygonDEV
@MadpolygonDEV 23 күн бұрын
your videos are alot better to understanding game development at a deeper level than 80% of unreal educational content out there. This is really what I always wanted in the unreal community which is always alot more plain rather than going into these topics like efficient algorithms etc. Didnt know about the flow algorithm.
@TJGameDev
@TJGameDev 24 күн бұрын
Loved this game, excited to check out the course! Thanks for providing such great resources!
@CodeMonkeyUnity
@CodeMonkeyUnity 24 күн бұрын
Thanks TJ! Best of luck with Castles on Clouds!
@driko_chiko_briko
@driko_chiko_briko 24 күн бұрын
Waiting so much this course. I'm already finished your course about turn base strategy game. Learned a lot, the best unity course on my experience
@CodeMonkeyUnity
@CodeMonkeyUnity 24 күн бұрын
That's awesome to hear, congrats on completing the TBS course!
@LuminaryCreations
@LuminaryCreations 24 күн бұрын
Thanks for this ❤
@CypherBlrMkr
@CypherBlrMkr 24 күн бұрын
Just a point of note - when you talk about two kinds of Fog of War - the blacked out exploratory part is called the Shroud. The regenerating greyed out areas are called Fog of War. The idea is basically if it's a previous unexplored area in a game with a setting (fantasy, medieval, no tech) that has no Satellites or RADARs you have Shroud. In games that have those, you would only use Fog of War, cause doesn't really make sense to be with Shroud....
@MrOmega-cz9yo
@MrOmega-cz9yo 23 күн бұрын
I like these types of overviews.
@juleswombat5309
@juleswombat5309 17 күн бұрын
Awesome: I made a really basic RTS using the Unity Nav Mesh for Path finding. Seems performant enough, for ~ 30 Units. It would be useful to have a beginners guide on how to use the Performance Analyser effectively, and what are the most common Performance issues and solutions.
@wyattx008
@wyattx008 22 күн бұрын
That's really good stuff.
@C3r3P0weL
@C3r3P0weL 22 күн бұрын
I am really interested about this one 🙌🙌🙌
@tajrinmadam7802
@tajrinmadam7802 24 күн бұрын
Thank for this video
@nanito0071
@nanito0071 24 күн бұрын
I can't wait until you launch the DOTS strategy game course, I already registered on the page and am really looking forward to it
@bluzenkk
@bluzenkk 24 күн бұрын
can't wait, hurry~~~
@iiropeltonen
@iiropeltonen 24 күн бұрын
Gonna do that RTS courses 🎉❤
@johnnyxp64
@johnnyxp64 24 күн бұрын
If you will make your promise a reality and after all those years you give us a complete RTS tutorial from scratch then i would definitely buy it.
@iliqnikushev3820
@iliqnikushev3820 24 күн бұрын
@Horde it really depends on the numbers. With the ECS it becomes super easy
@johnnyxp64
@johnnyxp64 24 күн бұрын
Btw that demo game is more of a tower defense rather pure RTS. Base building (grid system) resource gathering, units, war just like the upcoming Tempest Rising is the RTS tutorial i am hoping for.😊
@sealsharp
@sealsharp 24 күн бұрын
For the fog of war it may be useful to look at textures. Textures that are set as writeable in the importer can be changed at runtime. Those are obviously less performant than readonly textures, but it is possible to set individual pixels that match the world coordinate. This has a beautiful advantage over any system memory based structures as a texture can be given to a shader, and a shader has the world coordinates of objects drawn so visibility of objects can be calculated on the shader.
@CodeMonkeyUnity
@CodeMonkeyUnity 24 күн бұрын
Yup great point, you could indeed use a Texture and use the pixels as a sort of grid system for each world position
@pastuh
@pastuh 24 күн бұрын
Nice, but what about a turn-based RTS game, such as Dune: Battle for Arrakis (Sega version) Opponent is powerful computer, so logic behind such would be nice too :X
@CodeMonkeyUnity
@CodeMonkeyUnity 24 күн бұрын
So turn based but you control multiple units? Technically you could make that work by following my TBS course, the code in that game is very adaptable so you could definitely have a squad of multiple units occupying each grid position kzbin.info/www/bejne/h3XVkKOgr8qXrJI
@immitatedone1511
@immitatedone1511 24 күн бұрын
Oh, I have been planing to jump the Synty sale now but lucky I did not yet and found out about your link :D
@CodeMonkeyUnity
@CodeMonkeyUnity 24 күн бұрын
Thanks! I hope you put those assets to good use!
@immitatedone1511
@immitatedone1511 23 күн бұрын
@@CodeMonkeyUnity They are being used as we speak, redoing all to fit them because they are so good. What I love about them is that they have made an amazing job with low poly style and just makes the game look timeless.
@scyan897
@scyan897 17 күн бұрын
I’ve been working on HPA* Flowfield for a long time it is DIFFICULT (for newbies) so if you plan to tackle this it would be extremely helpful 🙏 I only recently got a half-baked implementation done.
@luka_17_63
@luka_17_63 23 күн бұрын
Will the course be just on your website or on Udemy too, like some of your other courses:O?
@janikcodes
@janikcodes 23 күн бұрын
How would you create something like Mount and blade? It has a lot of units as well but they are really high quality in terms of model and also animations. Any idea besides basic LOD ?
@VladaPersonal
@VladaPersonal 23 күн бұрын
Hi, great video, thanks! I do not really understand how you can use the grid pathfinding on non-grid based 3d levels like these? Do you somehow subdivide it into a grid? How do you determine which grids are not walkable?
@CodeMonkeyUnity
@CodeMonkeyUnity 22 күн бұрын
This game is grid based, you can see the grid when placing a building. Grid positions with buildings or resources are not walkable Are you asking because the unit movement doesn't look grid based? That's just a bunch of smoothing applied on the grid pathfinding logic
@VladaPersonal
@VladaPersonal 22 күн бұрын
Thanks! What I meant was - what do I do if my game is not grid based?
@CodeMonkeyUnity
@CodeMonkeyUnity 21 күн бұрын
If not grid based then you can still use a grid just for pathfinding. Or you can look into NavMesh pathfinding, Unity has that by defualt. It automatically generates a mesh that units can walk on
@Hazzel31337
@Hazzel31337 24 күн бұрын
nice
@mehmeh8883
@mehmeh8883 24 күн бұрын
Hey code monkey, you got anything on physics in multiplayer games? Deterministic lockstep or other things
@CodeMonkeyUnity
@CodeMonkeyUnity 24 күн бұрын
Hmm not really, that's an area I haven't explored. I did use physics in my game Dinky Guardians which has multiplayer, but the physics are super simple, they just run on the server
@gryffind96
@gryffind96 24 күн бұрын
I am waiting the RTS series
@MatteoJD
@MatteoJD Күн бұрын
I'm very excited about the news of your upcoming RTS/DOTS tutorial. I know you said that it's still in the early stages, but do you have a rough idea of when you think you will be releasing it?
@CodeMonkeyUnity
@CodeMonkeyUnity 13 сағат бұрын
Most of the tough parts of the prototype are done, I should have the full prototype done by the end of this week. Then I still have to write/validate/record/edit all the lectures. So maybe mid-July?
@MatteoJD
@MatteoJD 13 сағат бұрын
@@CodeMonkeyUnity Sweet, can't wait! Thanks for the swift response as always.
@GamernetsLP
@GamernetsLP 23 күн бұрын
Fog of War is a really difficult thing to achieve I think. I would really like, even pay for, a tutorial only about fog of war.
@kantagara
@kantagara 24 күн бұрын
what about the combat? In games like Battle for middle earth you have one 'unit' that consists of like 30 or 40 individuals. Obviously when the health of the 'main' unit depleates that gets shown as one of the units in the group die. How is that combat implemented? I doubt that the logic is done for each of those units, but maybe I'm wrong
@faraway4256
@faraway4256 24 күн бұрын
Спасибо за крутое видео. А скажите, пожалуйста, как можно объединить все эти механики в одну игру ?? Использовать MVP или MVVM или вообще без этих паттернов можно собирать, используя Event Bus и Service Locator.
@driko_chiko_briko
@driko_chiko_briko 24 күн бұрын
How long do we have to wait for the new RTS rate? Do you have an approximate release date?
@CodeMonkeyUnity
@CodeMonkeyUnity 24 күн бұрын
I've never used DOTS in a complete project so no clue whether it will be easy or difficult. I'm planning on making fewer videos for the rest of this month so I can focus entirely on that, so by the end of this month I should have a good idea
@aztecagames
@aztecagames 24 күн бұрын
Code Monkey for president 2024
@dreamterrormaster
@dreamterrormaster 23 күн бұрын
I'm really wondering how you're going to approach AI behavior in DOTS. Based on my own research, this is still a very experimental field with no common practices (FSM, behavior trees, utility AI) nor tools established yet. But looking forward to see what you come up with... Would be great do see you deal with also slightly more complex AI beyond zombies with "if in range->move closer, if in attack range->attack" basic stuff etc...
@hoangtongvu9952
@hoangtongvu9952 23 күн бұрын
So the grid system make it easier to implement path finding algorithm (such as flow field, ...) and increase the game performance significantly?
@CodeMonkeyUnity
@CodeMonkeyUnity 22 күн бұрын
If you have just one unit it will be more expensive to calculate flow field than a*, but if you have multiple units then flow field is generally cheaper than A*
@hoangtongvu9952
@hoangtongvu9952 22 күн бұрын
@@CodeMonkeyUnityas I understand, each Unit group needs 1 flow field? and we perform flow field on the whole map or any other optimization?
@CodeMonkeyUnity
@CodeMonkeyUnity 21 күн бұрын
In the case of this game all Units move to the same position, the players HQ, so there's just one flow field regardless if there are 10 zombies or 10 thousand. The flowfield calculates the move vector for every grid position in the world that will push it towards the HQ, the zombies just follow the move vector on the grid position where they're at
@JokeryEU
@JokeryEU 20 күн бұрын
i am more interested in how to create complex AI in RTS :) dont mind if i can train an ai
@GutsyDavid
@GutsyDavid 24 күн бұрын
Can you do one of these for TCGs? Card Games?
@CodeMonkeyUnity
@CodeMonkeyUnity 24 күн бұрын
I actually haven't played a card game in ages so I'd love to, maybe it's finally time for me to try out Slay the Spire!
@Unknow.__.68
@Unknow.__.68 24 күн бұрын
It will be free? If yes impossible to believe getting free course form a professional developer 2nd time and I am sure that this will be also good as Kitchen chaos .I am very excited to this
@CodeMonkeyUnity
@CodeMonkeyUnity 24 күн бұрын
I'm going to try something new, make the course a normal paid course but have a free video with the first 4-5 hours of the course. That way everyone can learn the starting point of a DOTS project
@theashbot4097
@theashbot4097 24 күн бұрын
Are you still working on Total World Liberation?
@CodeMonkeyUnity
@CodeMonkeyUnity 24 күн бұрын
It's currently on hiatus but my plan is to get back to it on the later half of this year
@irlsolidspace
@irlsolidspace 23 күн бұрын
RTS dev course? Sign me up!!
@trvlonesurvivr3751
@trvlonesurvivr3751 24 күн бұрын
Since I am developing Competitive multiplayer game then it's even worse. I have to learn Dots and then netcode for entities 😭
@gabek5760
@gabek5760 24 күн бұрын
Try the official unity netcode example for NGO+DOTS , or just don't choose to do the hardest possible project when starting to learn dots xD
@trvlonesurvivr3751
@trvlonesurvivr3751 24 күн бұрын
@@gabek5760 You mean the megacity sample?
@CodeMonkeyUnity
@CodeMonkeyUnity 24 күн бұрын
DOTS Netcode is definitely something I'd love to research when I can find the time, I wonder how complex/simple it is
24 күн бұрын
First!
@Greenmile-vl1iv
@Greenmile-vl1iv 24 күн бұрын
Can you smile in your vids please ? Make fun man ...
@CodeMonkeyUnity
@CodeMonkeyUnity 24 күн бұрын
I'm still not super comfortable in front of a camera but do know that I enjoy making videos
@kevman2296
@kevman2296 24 күн бұрын
Would be nice to see this in Godot instead. Unity is over 👎
@NimVim
@NimVim 24 күн бұрын
Unity is nowhere near done, though.
@sealsharp
@sealsharp 24 күн бұрын
It's 90% the same.
@CodeMonkeyUnity
@CodeMonkeyUnity 24 күн бұрын
Considering how this video is a high level overview instead of a step by step tutorial, everything here is applicable to any engine. For example for selecting units, every engine will have a physics system and that system will have a way to do physics queries. For clicking, every engine has a sort of raycast, etc.
@driko_chiko_briko
@driko_chiko_briko 24 күн бұрын
Godot sucks... Unity FOREVER!!!
@nursultannazarov8379
@nursultannazarov8379 10 күн бұрын
Unreal FOREVAAAAA
@daniel3dart
@daniel3dart 24 күн бұрын
Hyped to learn some DOTS from the Unity Mentor Master Code Monkey !!! Till the DOTS course comes in the future I'll be following the past catalogue of mechanic videos. Thanks to this man I'm constantly progressing in Unity learning. 🧑‍🏫
PRACTICAL plan to make your FIRST GAME!
8:42
Code Monkey
Рет қаралды 34 М.
Hot Ball ASMR #asmr #asmrsounds #satisfying #relaxing #satisfyingvideo
00:19
Oddly Satisfying
Рет қаралды 14 МЛН
MOM TURNED THE NOODLES PINK😱
00:31
JULI_PROETO
Рет қаралды 20 МЛН
How much MONEY my Game made (and how much it cost!)
14:00
Code Monkey
Рет қаралды 153 М.
Coding YOUR Game Ideas! (Day 4)
5:14
Jesse Bennett
Рет қаралды 1,8 М.
The BIG PROBLEM of SELF-IMPOSED Crunch for Indie Game Developers
10:33
How I learned Unity without following tutorials (Developing 1)
18:11
Game Maker's Toolkit
Рет қаралды 1,9 МЛН
Making a Strategy Game (It's Really a Tactics Game)
6:04
Anders Lundbjörk
Рет қаралды 224 М.
Real Strategy! The Most Anticipated RTS & Best New Games 2024
42:58
Steam Is Under Fire
25:18
Bellular News
Рет қаралды 175 М.
Cars & Cargo Van vs Chained Hydraulic Crush - BeamNG.Drive
0:19
Beamng Freestyle xz
Рет қаралды 8 МЛН
HEROBRINE vs NIKOCADO AVOCADO Rank Up Challenge
0:20
Mazizien
Рет қаралды 9 МЛН
Boy's Magic Magnet! | NEW EPISODES COMING IN JUNE (Animation Meme) #boyanddragon #shorts
0:31