Тёмный

Adding the First Enemy to My Indie Game 

OverPhil Dev
Подписаться 37 тыс.
Просмотров 20 тыс.
50% 1

After months on this island our robot final finds another robot, but this one isn't so friendly. It has been corrupter by an AI and will attack anything in its way
Discord - / discord
Instagram - / overphildev
#unity #gamedev #devlog #indiegame

Игры

Опубликовано:

 

15 окт 2022

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 138   
@meandtheboysofficial8252
@meandtheboysofficial8252 Год назад
There should be a hard mode where all of them attack you
@HojuMedia
@HojuMedia Год назад
This reminds me of how terraria does extra challenge modes with unique world gen seeds that mix up stuff like that. A good idea to yoink but that'd be way down the line
@thegamedevcave
@thegamedevcave Год назад
the idea of making the character attack towards the direction the camera is facing is actually really smart, i'm gonna keep that one in mind !!
@ziro7616
@ziro7616 Год назад
When you get out of aggro distance, perhaps set the new spawn/patrol area to where the enemy is at that moment. That way it's less abusable. Unturned Zombies do the "retreat/zone out" thing, and it makes fighting so much more boring. Adding knockback that cancel enemy attack animations may be a pretty good way to make combat better.
@vampbat
@vampbat Год назад
The crowd of onlookers after you implemented that "four enemies in attack state max" code is absolutely killing me. It's like that meme/vid after the sick burn where all the people around the guy explode into cheers!
@kawaiiqueee3489
@kawaiiqueee3489 Год назад
I can't stop thinking about the flamethrower and how it would probably shred through the crowds of enemies. Also I like the dodge roll, the robot looks so cute doing it
@dustinbruce
@dustinbruce Год назад
I love this series, and love that you share my sentiment toward making it work now, and fixing later lol One suggestion I would make: Instead of using all of those raycasts, maybe use a sphere collider on the enemy marked as a trigger to detect the player. You can probably restrain it to only check certain areas of the collider, or use it to check the entire area of the collider. Using this single component would be much less resource intensive, especially when you have loads of enemies, and each one has 10+ casts all returning data constantly, even if that data is null.
@Drake_Ebonheart
@Drake_Ebonheart Год назад
man your crowd sources is a damn great idea, this is looking pretty ok and i imagine having people constantly provide you feedback is keeping you interested in creating
@overphildev
@overphildev Год назад
I definitely like the community
@aidenokrent
@aidenokrent Год назад
I have a suggestion, maybe add a day/night cycle, with you needing to return home to turn on some floodlights to allow a farm to grow overnight. There could be a mechanic where, when out in the forest and seeing an enemy at night time, they might ignore you and rush the house because it stands out in the nighttime, so you have a limited time to rush home and save the kid?
@toby7712
@toby7712 Год назад
You should add the wise mystical tree
@AntiViGames
@AntiViGames Год назад
For your robot rain/water damage why not do a corrosion bar that lowers your max health until the robot has been in for maintenance?
@overphildev
@overphildev Год назад
That could work really well
@spyntbg550
@spyntbg550 Год назад
One of my favourite basic mechanics in Fallout was radiation damage, I'd love to see this in there!
@SondaPower
@SondaPower Год назад
Add WD-40
@Toki-Woki
@Toki-Woki Год назад
It would be pretty funny if Enemies that are watching a fight have their faces turned into a confetti symbol or something like that, could give it a lot more personality that way instead of it just angrily watching
@vampbat
@vampbat Год назад
My buddies put on a Dunkey vid while we were hanging out and I went “hey! There’s a gamedev channel I watch that joked abt adding in a feature since Dunkey has a game company now…” so tomorrow I’m making them watch this vid of yours lol. Loved ur summary of the year’s progress too. Best wishes! The grind can be rough but you’ve made a lot of cool progress. So awesome!
@overphildev
@overphildev Год назад
Thank you! Dunkey is great your friends have good taste
@itaisinger1360
@itaisinger1360 Год назад
Cool stuff! IMO the crops would look better if they were about 5 times larger, similar to Minecraft in terms of how big they are compared to the player.
@davidbrown6197
@davidbrown6197 Год назад
Loving this series and the work you’re putting into it. Looking forward to the next video!!
@SuperDutchrutter
@SuperDutchrutter Год назад
Lol enemy robot ray cast rave I love it. Great stuff man keep it up
@Psycho-tz5oe
@Psycho-tz5oe Год назад
This game is really cool and I'm incredibly invested in your videos! My one recommendation would be instead of targeting you as the player, the enemies should target the boy and the farmhouse/crops or whatever you are growing, this makes it seem so you are more defending the more rather than just being a robot! Other than that its amazing!
@overphildev
@overphildev Год назад
Don't worry we'll get there 😉
@muratbokun3513
@muratbokun3513 Год назад
dont mess with the BEAN GANG 3:08
@philip9698
@philip9698 Год назад
This sounds so amazing .First game I have been interested in in a while.Amazing work
@theminimagic7255
@theminimagic7255 Год назад
you should give the enemys hoard energy where they clumb up in like stations
@ruffedout4730
@ruffedout4730 Год назад
I freaking love the side liners I laughed so hard at it ! This is a feature ❤️
@gofrisuto
@gofrisuto Год назад
I love this. I can't express how much I'm hyped for this game. But I can suggest an idea of mine (or someone else's, it has probably been suggested by others). I think the combat could go in many directions, however the tactical one would a fitting one. I have thousands of ideas, but I will only write down one, that explains my concept. What if the player had bombs? One that would alert enemies in a radius, so you can toss that, and deal with the rest, or let all enemies get close to you, toss that bomb down, use an ability that gets you out of places quickly, like a rocket or a grappling hook, and attack enemies with a wide range attack. Okay, my idea went all over the place, and it probably doesn't make any sense, but it shows, how much I get excited for this game, even in this early state. So I hope I could show you that what you do inspires people. I want to say something wholesome, but I don't know how to express myself, so imagine the best compliment, you would like to receive. You deserve it!
@kylethescientist
@kylethescientist Год назад
Adding some screen shake when you hit something/are hit will make the combat feel way better for a very small amount of effort
@obrooks
@obrooks Год назад
+1 to the people saying to look into the NavMesh Components package. It allows you to bake the navmesh in real time, which you might also be able to use when building in the game. Loving the progress!
@tomkc516
@tomkc516 Год назад
Great video and great sense of humor! Keep going!
@henrysteketee3059
@henrysteketee3059 Год назад
You should have two modes 1.base mode 2.Explore mode the boy puts a vr headset on like in superhot to control the robot.
@kanekimon
@kanekimon Год назад
I worked on some AI stuff during my thesis, and I suggest you look into the G.O.A.P (Goal-Oriented-Action-Planning) Architecture. There are also multiple videos on youtube regarding that. The benefit is, that you can define goals and actions. Then through A* the AI creates an action-sequence to achieve a goal. With that system you don't have to add transitions from all states to the others. Makes the whole AI Stuff way more modular and easier to add completly new behaviour. Makes it also harder to predict, as the AI could achieve a goal through different steps each time, as they are dynamically generated.
@overphildev
@overphildev Год назад
That's interesting I'll have to do some research on that
@Lulumoxy
@Lulumoxy Год назад
Love this series, your game is coming on great! Recently for a tower defense game I used Dijkstra’s pathfinding, which is far simplier than a*, might be worth looking into it.
@overphildev
@overphildev Год назад
I'll have to look into it
@proclaimedgamers5708
@proclaimedgamers5708 Год назад
You can use a sphere type cast its a thing i just dont remember what its actually called but it would be way more performant and accurate
@introman5650
@introman5650 Год назад
Oh and you should make it depending on the robot that you kill you can get parts to upgrade your own robot
@EtanMarlin
@EtanMarlin Год назад
not right now, but you should make it so that they enemies that are standing back actually cheer for the enemy, BUT when one dies, the ones watching might be surprised and jump in cause they are mad you killed there friend itd also be cool if the more you beat them, the more would gang up on you, in fear that they may all die, that means that if you decide to be more passive and you kill one, then you might have like one or two actually on your tale, where as if your kicking there butts, then they all kinda sense your gonna be a more formidable opponent obviously if this doesn't actually fit into the style or it ends up being overwhelming or not fun, then dont, but it might be a cool way to add more character to the enemies in the future
@agileorangutan
@agileorangutan Год назад
Its been a while but you can bake the navmesh in the loading screen when the map is generated. Could also give the trees and rocks a navmesh unit component and tick cutout and it will cut them out of the nav mesh
@overphildev
@overphildev Год назад
I will definitely check this out thank you
@dazcarrr
@dazcarrr Год назад
this game will be my favourite soulsborne
@PumpkinDog33
@PumpkinDog33 Год назад
love the don hertzfeldt reference.... mah shpooon.... is too BIIG
@jan-ll5ev
@jan-ll5ev Год назад
I think a better method for enemys detecting you, would be: Cast one single ray from the enemy to the player. If it hits the player, check distance. If close enouth, get angle between enemy forward vecor and player position (so you know the player is in front of the enemy, the max allowed angle would be the enemys field of view) This way you need way less raycasts :)
@Hietakissa
@Hietakissa Год назад
also the raycast could be given a max range, so it would simultaneously also work as a distance check
@lilboiUK
@lilboiUK Год назад
Good method, one could also on activate the raycasts if the player is within the ai's trigger, this would negate the need for a max distance and stop many far away ai's raycasting
@sunbutternapples3067
@sunbutternapples3067 Год назад
If the robot is controlled by a boy on his tv, maybe you can add a filter around the screen to make it look like a tv
@zojirushi1
@zojirushi1 Год назад
The robot looks kinda of like Karen from Spongebob.
@leewoodrough242
@leewoodrough242 Год назад
yes
@overphildev
@overphildev Год назад
Yes
@SebaVeliz1
@SebaVeliz1 Год назад
Hey! What about a "scout drone" enemy that flies over the world and alerts all the nearby enemies (in a wider area) when they see you? Loved the little A* bit too, i was thinking the same thing but it would be too hard to implement individually for each enemy. Maybe if the nearby world shape was already loaded as a resource all enemies could access and was updated everytime you built or destroyed something (instead of constantly refreshing, wich would make the game unplayable in basic computers). If you did that, the enemy would be able to trace the optimal route between him and you. And I had a question: If you're protecting the boy, does that mean the robots will attack him too? Is that where the tower defense comes in?
@overphildev
@overphildev Год назад
Yes the robots will target the boy so you will have to build up the defense around him
@xxdeadmonkxx
@xxdeadmonkxx Год назад
To detect whether mob should chase you or not you can simply calculate range to player and view angle and check if all of that within correct bounds
@splatfan6691
@splatfan6691 Год назад
0:34 You don’t need to write GetComponent on the Player gameobject,just write Player.transform. Like the line before „transform“ is just a default variable of Monobehaviour that basically calls GetComponent at the start of the game and can therefore increase performance
@splatfan6691
@splatfan6691 Год назад
Also 1:56 i would recommend a switch case instead of multiple if else statements Just a little tip tho im not trying to be rude
@micki6491
@micki6491 Год назад
@@splatfan6691 You do not sound rude at all
@Vryformal
@Vryformal Год назад
may the omnipotent youtube algorithmn rain mercy apon u
@vhaz7831
@vhaz7831 Год назад
You can make navmesh update regularly during a game. Brackeys has a tutorial on it and so does code monkey (i believe) this way you can have it navmesh after the spawning of your map and after a change to the world.
@overphildev
@overphildev Год назад
I'll look into it that would be great
@DarkGamerStudios
@DarkGamerStudios Год назад
For the base defence there should be walls and upgrades you can get to defend yourself
@introman5650
@introman5650 Год назад
You should make enemy levels like where they used to be program for is depending on how they're difficult is like if they're a cop they're hard to fight if they're like a military one they should be like a boss
@cameronholt4735
@cameronholt4735 Год назад
you should take a look at the physics overlap sphere for detecting the player
@thecalculatedcreativecoder1428
Hi, I am actually working on a game that I think is similar to this (making my first devlog in about a week). For the enemy navigation, I am baking the navmesh at the start of the game, which takes a few minutes to load the start of the game depending on the size of the terrain and the , but the other thing I would try since you're already raycasting from the enemy and checking what the object it hit is, and if it is an actual obstacle and not just the procedural terrain in front of it, and the distance between that object and the enemy is less than like 3 (or whatever value works best for you) Then instead of setting the speed to the forward direction, make it go sideways until the raycast isn't colliding. I hope this made sense, and I haven't tried this so it might not work, but at least give it a shot. Good luck!
@dontwanttobeknown3611
@dontwanttobeknown3611 Год назад
Great content and Great editing
@mugileaguegaming1769
@mugileaguegaming1769 Год назад
Look up NavMeshSurface component -- it's a part of the Unity.AI.Navigation package. Attach to a gameObject (the parent of your level) and you can bake the navMesh in realtime through code. That should let you generate a navMesh on the fly for procedurally generated levels.
@TooOldForML
@TooOldForML Год назад
Well I just found you and watched all your videos....more pls
@kezzy2536
@kezzy2536 Год назад
love your videos man
@lilboiUK
@lilboiUK Год назад
Looks like you're making great progress. You could look into "Runtime Navmesh Baking". It's what I'm currently using on my project, it should suit yours as well. Also I had no idea that you could stop coroutines outside of the functions scope, thanks!
@overphildev
@overphildev Год назад
I'll have to look into that, that would be great
@yoshihoho
@yoshihoho Год назад
A suggestion: maybe a nice mobiliario thing, if you roll and jump out of it when it ends, you maintaing the the speed/momentum of the roll, allowing for you to move fast (like in the new donkeykonh country games)
@AthesielIcosiel
@AthesielIcosiel Год назад
Maybe make it so that the enemies who aren't actively attacking you orbit you & will attack if you get too close at that point?
@hablala3071
@hablala3071 Год назад
Hey, I've run into the same problem with the NavMeshs while working for my Masters thesis, since I was generating the terrain as a mesh with the Perlin noise trick for elevations. I was able to bake it at runtime (just after generating the mesh and its content, like trees and that stuff). I can make a more detailed explanation or help you with some code/images. Let me know and good luck.
@GlitchyMF
@GlitchyMF Год назад
2:10 using alot of raycasts can be very resource demanding, a better fix i think would be to use a cone cast, its like a raycast but a cone instead of line, it will make the field of view a little more realistic, and its not hard to learn
@smol.TomatenSuppe
@smol.TomatenSuppe Год назад
very good progress my guy
@arctiformgames
@arctiformgames Год назад
Nice, getting AI is always a pain but a nice challenge. Id suggest using a physics.spherecast + an angle check for enemy field of view + one raycast to the player to check if there is an object blocking their vision. Also, if rain damages your robot does it also damage enemy robots?
@overphildev
@overphildev Год назад
It will depend on the robot. Some will be high tech enough to not have that problem
@generrosity
@generrosity Год назад
Love seeing the updates 😊
@Hyp3rFX
@Hyp3rFX Год назад
Great video as always! ❤
@Vryformal
@Vryformal Год назад
great video there getting more entertaining by the vid
@overphildev
@overphildev Год назад
Thank you I appreciate it!
@Zaluuk
@Zaluuk Год назад
at 4:40 i was gonna comment it looks like karen from spongebob but you said it first at 4:43
@introman5650
@introman5650 Год назад
Oh and where they used to be programmed for depends on what weapons they have
@NoahRogers19980618
@NoahRogers19980618 Год назад
Thanks RU-vid Reccomendations
@QuargonX
@QuargonX Год назад
Maybe it would be cool if you could upgrade your robot's parts to make it stronger, and possibly give it new abilities.
@sajawalhassan1f12
@sajawalhassan1f12 Год назад
How about like a laser that shoots but to keep it survival like you have to craft and get certain items, which would then give you enough energy to shoot
@mattlox3981
@mattlox3981 Год назад
Not sure if you found a workaround for the enemies getting stuck behind "walls". If they're robots, why can't they also break down rocks and trees and whatever else your character can but drop few or no items. This could be a workaround to prevent cheesing and slightly punish the player for attempting that. Also, if they're also robots, maybe defeating them could drop compatible resources for your robot upgrade? :)
@pailbee8222
@pailbee8222 Год назад
Add shaders and a grass texture, it would make everything easier to look at.
@destroyerlog3261
@destroyerlog3261 Год назад
Dude we need a beta to test
@cactus3051
@cactus3051 Год назад
You should add money and npc so you can sell and buy stuff its fun i recomend it, it would fit this game
@Nixerii
@Nixerii Год назад
Good job i must say!
@rogerayman4499
@rogerayman4499 Год назад
Im sad to inform you, but there is something called overlap sphere, which returns a list of colliders inside of this sphere (instead of the million ray casts that you are using)
@overphildev
@overphildev Год назад
Don't know why you're sorry this helps me
@rogerayman4499
@rogerayman4499 Год назад
Because you have been using thousands of raycasts😂, anyways you can use overlap sphere or Vector3.Distance() which takes in two vectors and returns a float which i have used alot personslly, and the last one which i think you'd like: the sphere cast which from the name is a raycast but ends in a sphere
@tkeg
@tkeg Год назад
great vid. 10/10
@eliman2006
@eliman2006 Год назад
Yaaaay! love these
@DaydreamStudios_Official
@DaydreamStudios_Official Год назад
2:11 Yikes. I mean... I'm sure that's not the worst way to do it but um. Maybe try using a hemisphere cast?
@user-fv8uv2us9r
@user-fv8uv2us9r Год назад
Hey, I think you should change the UI design to a metallic style, as well as "health" (the red color is reminiscent of blood, which robots don't have). Also, I don't know if you redid the model in the future, but I think it should make legs longer and sippy, or think about how a robot with that appearance would walk irl Oh, and how would it stand on flat, smooth surfaces like marble? And how does he plant plants and hold things if there are no hands? Where does he put things? Maybe you make a backpack?
@Quadripple_Instance
@Quadripple_Instance Год назад
I Think A Mechanic Enemy Would Be Cool, Who Would Buff Enemys And Debuff You.
@Reafuse111
@Reafuse111 Год назад
what u doin karen?
@overphildev
@overphildev Год назад
Living her best life
@CrjaseMechaEngr
@CrjaseMechaEngr Год назад
the enemy looks like it's from karlson
@stickworldanimated9545
@stickworldanimated9545 Год назад
Nice!
@sunbutternapples3067
@sunbutternapples3067 Год назад
Make the robot have a certain amount of battery so he needs to return to his charging bay and he can upgrade his charging bay so it’s fsdter
@yoshihoho
@yoshihoho Год назад
Lets go
@jacobelgan5196
@jacobelgan5196 Год назад
Isn't there a thing called cone cast that you can use?
@leewoodrough242
@leewoodrough242 Год назад
START IT EARLY
@BanditBloodwyn
@BanditBloodwyn Год назад
What video editing tool do you use? Maybe I want to create my own devlogs :)
@overphildev
@overphildev Год назад
I use magix but that's only because I got it in a humble bundle. I've heard good things about DaVinci, plus it's free so I'd recommend that
@kotface3919
@kotface3919 Год назад
Will this game run well on low end hardware? Like Gt 710 and below.
@overphildev
@overphildev Год назад
I will test more once I put out a demo
@Arrkail
@Arrkail Год назад
plz make the last gorilla animation a thing
@Spilled741
@Spilled741 Год назад
Make the game more colorful a bright
@yaaannn8126
@yaaannn8126 Год назад
add knockback the combat will feel better
@mikhailhumphries
@mikhailhumphries Год назад
How do they make ai in games for 3d environments?
@excursor4296
@excursor4296 Год назад
I can make high quality robot and droid audio. If you need any of such custom vocal audio hit me up.
@daniniamut1362
@daniniamut1362 Год назад
Its weird that it has been 5 months now, where u at with one piece now?
@overphildev
@overphildev Год назад
I finished enies lobby and decided to take a break so i could catch up on some other things.
@daniniamut1362
@daniniamut1362 Год назад
@@overphildev taking breaks from watching one piece is a staple of binging one piece
@theothetorch8016
@theothetorch8016 Год назад
Will you smail reference?
@overphildev
@overphildev Год назад
You know that would have been really smart... so yes
@Thingermagiger
@Thingermagiger Год назад
0:47 Steak the code 💀 u pressed one button
@grunglr
@grunglr Год назад
But what’s the robot’s name 😢
@user-vi7nn3ow5l
@user-vi7nn3ow5l Год назад
pls make it for phone
@user-vi7nn3ow5l
@user-vi7nn3ow5l Год назад
pls make its for mobile
@user-vi7nn3ow5l
@user-vi7nn3ow5l Год назад
pls make it for mobile
@user-vi7nn3ow5l
@user-vi7nn3ow5l Год назад
pls make a mobile version
@alekjatuszyk4976
@alekjatuszyk4976 Год назад
wow your AI metods are soo bad xd. cool video tho
@efari
@efari Год назад
Unsubscribed because of stupid “premiere”. Just release the video. I hate the premiere feature since the vid shows up in my sub feed now. But i can’t watch it. Once I can watch it, it’ll be dar down in my sub feed and I won’t see it again. Stop using Premiere. Unsubscribed to teach him a lesson
@Benjamin-oq7yd
@Benjamin-oq7yd Год назад
someones a little mad
@frogmasto
@frogmasto Год назад
@@Benjamin-oq7yd frrrrrrrrr
@dazcarrr
@dazcarrr Год назад
i think that this person is a tad bit peeved
@daftravenn9913
@daftravenn9913 Год назад
whoahh constructive take sure but comes off mean as hell "teach him a lesson" what are you the mafia
@hewhoisme4343
@hewhoisme4343 Год назад
That comment was mean, I'm disliking it to teach you a lesson.
Далее
Adding This One Thing Made my Game Look 327% Better
6:11
What Makes my Indie Game Unique
6:11
Просмотров 24 тыс.
ЭТОТ ПЕНЁК ИЗ PLANTS VS ZOMBIES - ИМБА!
00:48
Balatro's 'Cursed' Design Problem
13:31
Просмотров 624 тыс.
You HATED my Robot so I Made a New One
4:57
Просмотров 34 тыс.
Remaking My First Godot Game - Devlog 0
8:48
Просмотров 3,2 тыс.
I'm restarting my game after 2 years
8:12
Просмотров 373 тыс.
My Biggest Challenge With Game Dev
4:44
Просмотров 13 тыс.
I added online multiplayer to my game
8:04
Просмотров 133 тыс.
8 Months of Game Dev in 13 Minutes
13:41
Просмотров 18 тыс.
Adding COMBAT to my COOKING GAME!
9:06
Просмотров 11 тыс.
First Prototype to Actual Game in 22 Days!
9:53
Просмотров 116 тыс.
Adding the Strongest Weapon to my Game
5:27
Просмотров 12 тыс.
Как я играл в Chernobylite
1:17:07
Просмотров 465 тыс.
2DROTS vs RISENHAHA! КУБОК ФИФЕРОВ 2 ТУР
11:31
😲ТАКОГО ЕЩЁ НИКОГДА НЕ БЫЛО
16:12