2D Enemy AI: Game Builder Garage Tutorial

  Рет қаралды 34,137

All Da Bois

All Da Bois

Күн бұрын

Пікірлер: 77
@fallout187
@fallout187 3 жыл бұрын
I liked how you cleaned up the sprite cycles. Everything feels very organized and customizable. Thanks for taking the time to make these videos.
@rosemariepetri8803
@rosemariepetri8803 Жыл бұрын
Random Movement: Hammer Bro
@rileymacegustave5431
@rileymacegustave5431 3 жыл бұрын
Time to make diglett
@bunkfoss50yearsago53
@bunkfoss50yearsago53 3 жыл бұрын
I don't understand it but okay
@keepergraveave7093
@keepergraveave7093 3 жыл бұрын
Yall are getting some good views now. Im glad! Yall have been working hard
@AllDaBois
@AllDaBois 3 жыл бұрын
Thank you Boi! I’m very glad too, we’re really enjoying our small growing community here on the channel!
@cashmoney3882
@cashmoney3882 3 жыл бұрын
Very underrated channel. Really informative and entertaining! Good job dude!
@AllDaBois
@AllDaBois 3 жыл бұрын
Thank you! I really appreciate your support! I’m glad you’re enjoying our content!
@PanTran
@PanTran 3 жыл бұрын
How do I make the background also 2d without there being a shadow from the sprites?
@CryOverdage
@CryOverdage 3 жыл бұрын
you can put the 3d objects below the ground and use the top for the sprites. or you choose on which side of the object the sprite should be visible. you can do that in the texture nodon on the top left.
@doctorjeffury8722
@doctorjeffury8722 2 жыл бұрын
Go to the world nodon and change the sun to be under the world
@L1N3R1D3R
@L1N3R1D3R 3 жыл бұрын
You can optimize the walk cycle programming with Marker and Bull's-Eye Nodon instead of the Digitize, Constant, Comparison, and AND Nodon. This is especially efficient if your walk cycle is more than two sprites.
@AllDaBois
@AllDaBois 3 жыл бұрын
I’m really glad you brought this up. Yes I do plan on making some new videos on integrating the marker nodons instead of the digitizer system. The recent discoveries people have been making with them is definitely going to help clean up peoples code. I’m glad loup&snoop took the time to make his marker tutorial the other day
@alexgamer1287
@alexgamer1287 Жыл бұрын
4:53 for my remind
@eelmail2077
@eelmail2077 3 жыл бұрын
What about an enemy that walks all the way around a platform like the crawlers in Super Metroid?
@theflameviper2154
@theflameviper2154 3 жыл бұрын
Or like buzzy beetles and spinies
@aliyahwilliams3179
@aliyahwilliams3179 3 жыл бұрын
I guess you're still working on that kart fighter like roster. Like I was talking about actual fighting characters like the can actually hurt you using their moves. I will be waiting and I hope it will be good!
@EthanBus
@EthanBus 3 жыл бұрын
Yeah same I am making a mortal kombat remake
@AllDaBois
@AllDaBois 3 жыл бұрын
Yes I am, as of now my next video will more then likely be on setting up a character select screen. But I plan to continue setting up fighting game style mechanics. I’ve got a general program made up for it. Hoping to get things finalized once I get some more time.
@aliyahwilliams3179
@aliyahwilliams3179 3 жыл бұрын
@@AllDaBois like I said, I can't wait to see it!
@MichaelGeorgioudraws
@MichaelGeorgioudraws 3 жыл бұрын
These are so helpful, thank you!
@BeniaminoFenzi
@BeniaminoFenzi 3 жыл бұрын
thank you for this
@fawfulthegreat64
@fawfulthegreat64 3 жыл бұрын
How do you make the turning speed slower, Paper Mario esque instead of instant? Also, how do I make the hitboxes (touch sensors and destroy objects) move horizontally with the enemy but NOT rotate when it does? IE the enemy walks back and forth and turns around but the hitbox just changes its direction without also flipping. I'm trying to work this into my SPM flip system, so my hitboxes need to extend across the entire depth of the level (I want to disable them entirely when the 3D flag is on), and I don't want a giant hitbox that swings around and hits the player from far away when the Goomba turns around.
@AllDaBois
@AllDaBois 3 жыл бұрын
In order to reduce the turning speed you may have to use Player Nodon instead of Moving Object Nodon, although it’d be difficult to define who is supposed to die upon getting hit. Because you can reduce the turn speed on the player nodon, but not the objects. Alternatively you might be able to stick a counter right before the angle nodon, if you can have a very low input value going to it for a certain duration of time you might be able to slow it down that way. I’ll have to give the hitbox question some more thought. But maybe you could have 2 on the enemy, one that goes the entire length and one that does not. Then you could switch which one is active depending on if they are in the 2d view or the flip side view. I’ll let you know when I come up with something to fully help you with your question. But I hope this helps.
@spaceman300
@spaceman300 3 жыл бұрын
Another brilliant video
@AllDaBois
@AllDaBois 3 жыл бұрын
Thank you! I’m glad you’re liking the tutorials!
@montymole297
@montymole297 2 жыл бұрын
When I build the "Basic Follow" enemy, it always goes right, never left. Is there a solution for this? I think that I've programmed it perfectly.
@beatrizromeromartin2603
@beatrizromeromartin2603 3 жыл бұрын
Incredible 👏👏❤️❤️❤️
@lord_caccum
@lord_caccum 3 жыл бұрын
Thank you so much!! Also when is the checkpoint video coming?
@AllDaBois
@AllDaBois 3 жыл бұрын
No problem! It should be out sometime within the next week. I just thought of a clever way to make the checkpoints function. I just have to put it in the game when I get some time.
@zachcapricorn3512
@zachcapricorn3512 3 жыл бұрын
Mabye how to move to a random pos. is with the help of the random nodon. Hope that makes sense.
@davidagiel8130
@davidagiel8130 3 жыл бұрын
Is there any planned dlc for gbg?
@grasss-eater8928
@grasss-eater8928 3 жыл бұрын
I hope it gets free dlc
@abramjonas1054
@abramjonas1054 Ай бұрын
My enemy is going insanely fast
@rosemariepetri8803
@rosemariepetri8803 Жыл бұрын
Basic Follow: Shy Guy
@Jake-nq8kp
@Jake-nq8kp 3 жыл бұрын
Can you make a video on how to move objects in increments?
@elmarakovideo
@elmarakovideo 3 жыл бұрын
Thanks for your tutorial. Is it possible to grab and throw an Enemy in a 2D Sprite platformer?
@AllDaBois
@AllDaBois 3 жыл бұрын
It might be possible if you link a throw command to rapidly increase the moving Object on the enemy for the throw. But it would take a lot of thought to get it properly executed. It is something I might look into in the future though. It’d definitely be great for fighting style games
@elmarakovideo
@elmarakovideo 3 жыл бұрын
@@AllDaBois Thanks for your comment. You should make a short demo with Mario sprites: "How to pick up and toss a Shyguy."
@billgates3087
@billgates3087 2 жыл бұрын
Mine went on turbo mode for the one that paces
@thantrus
@thantrus 3 жыл бұрын
I don't know how tall of an order this might be, but how feasible would it be to make enemies like in a Beat'em up like Double Dragon? No damage on touch, but enemies that throw punches/kicks and have HP as well?
@Slimeyalt
@Slimeyalt 3 жыл бұрын
my enemy wont move even thou i put the same code as you i even looked in your game and my dosent work it just stands there while the animation goes i can kill it but it wont move.
@Sebastiansandwich
@Sebastiansandwich Жыл бұрын
My enemy just went SPIN NNMNNNNNNNN
@frogkidmotion2889
@frogkidmotion2889 2 жыл бұрын
what about like a bird that flies around a area
@brunobauer4383
@brunobauer4383 2 ай бұрын
heey so i didnt add a sprite cause i dont want one and the First ai did not work any idea how to fix this?
@q-dawg1
@q-dawg1 3 жыл бұрын
How do you make a koopa troopa that retreats into its shell, like in Super Mario Bros. Also, I'm making a mario game and am having trouble making a camera that moves left and right, but not up and down.
@tailsmilesprower9451
@tailsmilesprower9451 3 жыл бұрын
But how do you do it with floating enemies I thought this video would help me. But I guess not when moving object can't float
@AllDaBois
@AllDaBois 3 жыл бұрын
You can technically track the players Y position and create an enemy that will hover above the ground. I’ll do some looking into having enemies that can actually fly around though and see if I can come up with anything
@tailsmilesprower9451
@tailsmilesprower9451 3 жыл бұрын
@@AllDaBois I am trying to do the eggman fight from the first sonic game and I can make him move side to side. But he doesn't turn around.
@smurfy_chicken3938
@smurfy_chicken3938 3 жыл бұрын
I can't find the Sprite cycle box can someone tell me where it is
@Xion_Toshiro
@Xion_Toshiro 3 жыл бұрын
This is incredible... What's the Game Code?
@AllDaBois
@AllDaBois 3 жыл бұрын
Thank you! G 006 D2P B18
@fnafstopmotionanimations
@fnafstopmotionanimations 2 жыл бұрын
How can I make 2d enemies climb upwards in certain spots?
@YtIdkToyota
@YtIdkToyota Жыл бұрын
How Do You Make Multiple Of Them?
@smurfy_chicken3938
@smurfy_chicken3938 2 жыл бұрын
How do I add more than one Sprite frame for attack?
@junwilliamnakamura1059
@junwilliamnakamura1059 3 жыл бұрын
Can you make a stamina meter?
@AllDaBois
@AllDaBois 3 жыл бұрын
That’s something I hadn’t thought of doing, I can definitely mess around with it when I get some time and see if I can come up with anything that’d work
@bigbrainmario1244
@bigbrainmario1244 2 жыл бұрын
How do you make 2d texture characters without messing up
@smurfy_chicken3938
@smurfy_chicken3938 2 жыл бұрын
Every time my follow steps for the first enemy it doesn't work I know it's not your fault I can't figure out what I'm doing wrong, his kind of driving me nuts, I have a question, can I use your enemy AI logic only, as long as I gave you credit for the enemy Ai logic?
@rosemariepetri8803
@rosemariepetri8803 Жыл бұрын
Paces And Follows: Goomba
@masterfarr8265
@masterfarr8265 3 жыл бұрын
how come when I tried to make the alien move it spins
@AllDaBois
@AllDaBois 3 жыл бұрын
Are you using a Spinning/Rotating Object Nodon? Or a Moving Object Nodon?
@L1N3R1D3R
@L1N3R1D3R 3 жыл бұрын
I think they meant spinning while moving with the Moving Object Nodon. The Alien has a weird hitbox, and normally its friction will cause it to take a while to start moving and not stay upright once it is moving. The simplest fix is making the Fancy Object Nodon for the alien slippery under Material settings, but that may or may not have unintended consequences. You could instead replace the Moving Object Nodon with an X Slide/Free Slide Connector Nodon connected to an invisible Box Nodon to disable rotation on the object.
@masterfarr8265
@masterfarr8265 3 жыл бұрын
@@L1N3R1D3R thanks
@rosemariepetri8803
@rosemariepetri8803 Жыл бұрын
Mario GBG Land Enemys. Pace: Koopa Troopa
@orangeflame5843
@orangeflame5843 3 жыл бұрын
How to you make it constantly go in one direction?
@birdguy9864
@birdguy9864 2 жыл бұрын
Use constant nodon conected to the desired direction on the character and if it is going the opposite way then link the constant nodon to a inversion nodon then connect that to the direction on the character
@jojomakesstuff4979
@jojomakesstuff4979 2 жыл бұрын
this doesn't work I followed all the instruction is there something im doing wrong
@elyK-y2k
@elyK-y2k 13 күн бұрын
i did this exactually and it didint work for me ;)
@ragedog8800
@ragedog8800 2 жыл бұрын
When I did this my sprite disappeared
@SamuelTheTinyTuber
@SamuelTheTinyTuber Жыл бұрын
BRO 1YEAR Later Yo do nothing ???😢
@nathanielplays3850
@nathanielplays3850 Ай бұрын
Min just doesn't move
@Catbeastyo
@Catbeastyo Жыл бұрын
it didn't work the enemy Just went until off the map
@Izuki_Kaede
@Izuki_Kaede 3 жыл бұрын
I think i made a big mistake and my enemy is having a midnight zoomies
@BertLeyson
@BertLeyson 3 ай бұрын
Did you enable range restriction?
@Izuki_Kaede
@Izuki_Kaede 3 ай бұрын
@@BertLeyson range restrictions? Nahh i made mine fully aware if you're stepping on it's range then it follows you relentlessly getting faster and faster.
@Izuki_Kaede
@Izuki_Kaede 3 ай бұрын
@@BertLeyson range restrictions? Nahh i made mine fully aware if you're stepping on it's range then it follows you relentlessly getting faster and faster.
ПРИКОЛЫ НАД БРАТОМ #shorts
00:23
Паша Осадчий
Рет қаралды 5 МЛН
Новый уровень твоей сосиски
00:33
Кушать Хочу
Рет қаралды 4,1 МЛН
Magic or …? 😱 reveal video on profile 🫢
00:14
Andrey Grechka
Рет қаралды 86 МЛН
HAH Chaos in the Bathroom 🚽✨ Smart Tools for the Throne 😜
00:49
123 GO! Kevin
Рет қаралды 12 МЛН
Game Builder Garage Keeps Getting BETTER AND BETTER!!!
28:17
Breaking games and defeating bosses in Game Builder Garage!
16:25
Brad is Brad
Рет қаралды 79 М.
Can You Actually Beat Minecraft's Hardest Mod?
2:31:05
Mud Flaps
Рет қаралды 3,4 МЛН
I Played GAME BUILDER GARAGE In 2024...
23:52
DGR
Рет қаралды 42 М.
The Obscure Lore Of Larva
30:33
Mung
Рет қаралды 1,4 МЛН
Super Mario Run RECREATED In Game Builder Garage
8:39
Sn8ke_Den
Рет қаралды 161 М.
They Dared Me To Make A Game...
12:08
Daniel Krafft
Рет қаралды 1,3 МЛН
ПРИКОЛЫ НАД БРАТОМ #shorts
00:23
Паша Осадчий
Рет қаралды 5 МЛН