[Game Builder Garage Tutorial] Enemy AI

  Рет қаралды 108,303

Oribloop

Oribloop

Күн бұрын

Пікірлер: 314
@Oribloop
@Oribloop 3 жыл бұрын
Also forgot to include this in the tutorial. If you want to remove those boxes on the enemy and character, go into all the location sensors and turn off visible. Hopefully everyone found this video helpful! This came from plasmatree123: if the enemy is running away from you try these fixs -swap your location sencers x and z postions -make sure your enemys frame of reference is set to "world" same with the "location sencers" - getting rid of the map nodons "i would try this first it worked for me hope this helped
@bunkfoss50yearsago53
@bunkfoss50yearsago53 3 жыл бұрын
I found it helpful and gave it a like! I was wondering what I need to remove in this example if I were to be making a 2d game. Even if you don't answer thank you for making this anyways!
@Oribloop
@Oribloop 3 жыл бұрын
@@bunkfoss50yearsago53 for 2D games I don't think the X axis would be necessary since the game would be strictly in Z, but I could be wrong since I haven't tested it out. I would remove the X axis and try just having the Z axis. Thank you for the like also! :)
@bunkfoss50yearsago53
@bunkfoss50yearsago53 3 жыл бұрын
@@Oribloop thank you for the advice and this deserved a like. Keep up the good work!
@fishthestick
@fishthestick 3 жыл бұрын
My enemy just runs in circles for no reason, and does not chase me, can you help?
@Sadening
@Sadening 3 жыл бұрын
So I did mine with a car and it just spins. Help
@MousePackStudio
@MousePackStudio 3 жыл бұрын
This was super interesting! Excited to see more content like this.
@Oribloop
@Oribloop 3 жыл бұрын
Thank you Alex! I will keep them coming!
@fallout187
@fallout187 3 жыл бұрын
Strait forward with a simple explanation of everything you are doing. Subscribed!
@Oribloop
@Oribloop 3 жыл бұрын
Awesome thank you for the sub! I'll keep doing video's just like this!
@guitardedzach
@guitardedzach 3 жыл бұрын
This is an insanely helpful tutorial. You made this super easy. Now I'm going to try adding some more sensors, like from the racing tutorial, and see if I can get enemies to navigate a maze while trying to kill me. You saved me loads of time. I'm definitely subscribing.
@Oribloop
@Oribloop 3 жыл бұрын
I'm really really glad to hear that Zach, thank you for the awesome feedback and sub! :))
@demarcusdavila2710
@demarcusdavila2710 5 ай бұрын
on first it was running away then i fix the codes then boom they are running to you
@demarcusdavila2710
@demarcusdavila2710 5 ай бұрын
and i'm new to your channel i'm going to subscribe to you
@cartoncaron
@cartoncaron 3 жыл бұрын
In one word : NICE! Your explanation is on point. Great job. Can't wait to see more content.
@Oribloop
@Oribloop 3 жыл бұрын
In two words: THANK YOU! I'm very glad you enjoyed it, more is coming soon!
@attacktheair4909
@attacktheair4909 3 жыл бұрын
i messed this up the enemy ai is running from me until i had an idea so i made him destructable and me distructive and now the game i made is better
@Oribloop
@Oribloop 3 жыл бұрын
Yes! That is what I was intending people to do, good job! You can also make them much much bigger to make them super intimidating. >:)
@billshill1977
@billshill1977 3 жыл бұрын
Yeah I did the same thing but I just fixed it now
@DaCatOfPizza
@DaCatOfPizza 3 жыл бұрын
@@Oribloop *makes them 100 x normal size*
@lauravickery7719
@lauravickery7719 3 жыл бұрын
How do I make them run away from me I just had an idea for a game
@billshill1977
@billshill1977 3 жыл бұрын
@@lauravickery7719 I don’t know just mess up the code
@BertLeyson
@BertLeyson Жыл бұрын
Thanks! It was cool for an enemy to chase a person. I added a sensor that checks for people, and if it detects a person, the UFO chases the person.
@thatmrbulldops
@thatmrbulldops 3 жыл бұрын
I'll definitely be coming back to this video often 😅
@Oribloop
@Oribloop 3 жыл бұрын
Haha, I'm glad you found it helpful!
@mutedlion74
@mutedlion74 3 жыл бұрын
Same!
@Littleblue-mp3nb
@Littleblue-mp3nb 3 жыл бұрын
Probably same bro lol
@AlaskanNebraskan
@AlaskanNebraskan 5 ай бұрын
Same
@Jimbocat
@Jimbocat 4 күн бұрын
Write it down on paper saves hassle!
@boombubble5560
@boombubble5560 3 жыл бұрын
This was incredible, please make more like this
@Oribloop
@Oribloop 3 жыл бұрын
Will do, thank you for the positive feedback!
@PumpkinBeastMusic
@PumpkinBeastMusic 3 жыл бұрын
This is great! I found out it worked when you switch the x value for the left and right, it works
@Oribloop
@Oribloop 3 жыл бұрын
Yes that should work! People have struggled with this tutorial but that should be the easy fix!
@jeremykesterson5074
@jeremykesterson5074 3 жыл бұрын
WHY DOESNT THIS GUY HAVE 1 MILLION SUBS ??!?!!
@thestarsailor972
@thestarsailor972 Жыл бұрын
Thank you so much for these videos! They are really helpful and interesting
@Delus1on_L
@Delus1on_L 2 жыл бұрын
Thank you! I tried to figure it out, but I gave up after 2 hours of trying to do what this showed me in 6 minutes 😅
@More_Rissoe
@More_Rissoe 3 жыл бұрын
due to bad wifi the video lags but it is perfect so i can follow without tapping the screen constantly to follow because i work kinda slow! good tutorial!
@Oribloop
@Oribloop 3 жыл бұрын
Oh I'm sorry that the video is lagging for you, but I guess it works out for you in the end lol. Thank you for the kind words, I'm glad you enjoyed it!
@sillyman2
@sillyman2 3 жыл бұрын
Is there a way for the enemy to only chase you if you're nearby? I tried using things like touch sensors and flags but it didn't work...
@GuyonaCouch
@GuyonaCouch 3 жыл бұрын
I second this question!
@d3bugiangl17ch
@d3bugiangl17ch 3 жыл бұрын
Just multiply the position with whatever trigger your using! Just make sure the trigger doesn't exceed 1.
@ShxdowsMusics
@ShxdowsMusics 2 жыл бұрын
@@GuyonaCouch i third this question
@idk-vc5yh
@idk-vc5yh 2 жыл бұрын
@@ShxdowsMusics I forth the question
@ramonalavigne5508
@ramonalavigne5508 3 жыл бұрын
You're a legend. I'm making an Ecco the Dolphin style game so it might be interesting to have a pursuit type enemy follow you in one of the levels :)
@Oribloop
@Oribloop 3 жыл бұрын
You are a legend, cause that game idea sounds awesome! Good luck with the project, if you need any help as me any questions :)
@ChimpsR4
@ChimpsR4 3 жыл бұрын
Is there any way to stop the AI from slowing down when they get near you?
@abbas2387
@abbas2387 3 жыл бұрын
I know this might be kinda late but I know. First take the absolute values of each location difference and add them together. Then divide both of the original location differences by this value. This worked for me. If you have any questions ask.
@silversword404
@silversword404 2 жыл бұрын
You can change the calculator nodon to addition to make the ai run from your player
@johnlemire6930
@johnlemire6930 2 жыл бұрын
The location sensor for the enemy has an output for the Z coordinates
@TTYDisGoated
@TTYDisGoated 3 жыл бұрын
Hey I did this and it didn't work. It's me, creating the horror game. What can you do? Because it isn't chasing the character that you play.
@AdmanMVR
@AdmanMVR 3 жыл бұрын
That was really helpful, thank you! 😎👍
@Oribloop
@Oribloop 3 жыл бұрын
You're are very welcome, I'm glad you enjoyed it! :)
@RazorVolt_
@RazorVolt_ 3 жыл бұрын
My AI just runs around in a circle for a little bit and then slowly comes to me. Any idea why?
@Oribloop
@Oribloop 3 жыл бұрын
Yes, go into your enemy (aka second person) make the frame of reference to the world not the camera. That should fix it!
@conkerclub
@conkerclub 3 жыл бұрын
@@Oribloop i have done that and everything in the video but it doesnt work it runs round in circles too I have got a yeti with the person so i dont know if that will change anything
@Oribloop
@Oribloop 3 жыл бұрын
@@conkerclub that shouldn't change anything try swapping the x and z. Also try changing the enemy's frame of reference for motion to world.
@conkerclub
@conkerclub 3 жыл бұрын
@@Oribloop ok thanks
@conornolan5884
@conornolan5884 2 жыл бұрын
Thak you for this. I always wanted to make a 3d game with enemies.
@truthbydesign5146
@truthbydesign5146 3 жыл бұрын
what would be the most efficient way of setting a distance between the enemies so they don’t bunch up like they did at the end of your video?
@McSkellyHo
@McSkellyHo 3 жыл бұрын
Your tutorials are so simple and straight to the point! Good job! Though I wanted to ask, is there a way to set a certain detection distance?
@Oribloop
@Oribloop 3 жыл бұрын
Thank you, yes I try to be straightforward as possible! Also, yes I am going to make a part 2 to the enemy A.I. and change some things and your suggestion is a part of it this change! :)
@McSkellyHo
@McSkellyHo 3 жыл бұрын
@@Oribloop Awesome! I have two monsters so it would be nice if I could get far enough away from them in my environment for then to not chase me. These basic shapes I slapped together (using connection knowledge I got from your first person UI video) can be weirdly scary ngl
@Oribloop
@Oribloop 3 жыл бұрын
@@McSkellyHo Yeah working on a part 2 for enemy A.I. which features upgrades, like a distance that enemy's only chase you at and some other features.
@Codypro134
@Codypro134 3 жыл бұрын
the enemy either runs off the edge of the world, or runs in circles, did i do something wrong?
@imteebird
@imteebird 3 жыл бұрын
This helped me so much thank you
@Alfie_Green
@Alfie_Green 3 жыл бұрын
I will probably forget about this but good job great tutorial
@Oribloop
@Oribloop 3 жыл бұрын
Thank you, please don't forget :)
@phamilton4126
@phamilton4126 2 жыл бұрын
Immaking hello neighbor hand nodons included lol
@KrippStd
@KrippStd 3 жыл бұрын
The explanation is very good, although I would like to know if you can create an i.a which works by movement patterns, and if at the moment in which the player approaches the enemy the enemy changes its pattern and begins to follow the player
@Oribloop
@Oribloop 3 жыл бұрын
This would be complicated but very possible. It would require some random component to change its movement based on the players distance. I think the way you could do this is once a player reaches a specific distance you can then have the enemy somehow change its position relative to the player (i.e. changing its pattern as an enemy). I would definitely have to play around with this to make it work, but I think it totally could! :D
@LastStraightFlyinCataclysm
@LastStraightFlyinCataclysm 3 жыл бұрын
Do you mean something like this? G 007 R35 BDD
@thedoctorofstupidity
@thedoctorofstupidity 3 жыл бұрын
I mean it works, but it keeps walking into walls. It doesn't have any way of checking for a wall
@Oribloop
@Oribloop 3 жыл бұрын
Going to fix this issues in Enemy A.I. part two thank you for mentioning!
@Madchimpz
@Madchimpz 3 жыл бұрын
For enemies with complex AI and animations that take up a lot of nodons, would it be possible to teleport enemies to another part of the level when you defeat them? That way you can have a lot more in your level without wasting valuable nodons.
@Oribloop
@Oribloop 3 жыл бұрын
Yes! This will totally work and is the best way, I did it this way just to showcase what a mechanic like this could be applied to. In my RPG series I do this exact teleport method that you speak of, thank you for mentioning this!
@Madchimpz
@Madchimpz 3 жыл бұрын
@@Oribloop Perfect! I tried it earlier and it works just fine. It's not ideal for all types of games, but it's certainly the best option if you want to save nodons. Thanks again for the video.
@Madchimpz
@Madchimpz 3 жыл бұрын
@@Oribloop After some time creating a game I've come to realization that even with teleporters it is still very limited due to the limited number of teleporters. However, I came up with another wacky idea that is not the most ideal, but would allow for way more enemy spawn points. You put the teleport exit on your own character, and touch sensors throughout the level would spawn enemies right in front of you without using up a teleporter. I haven't tried this yet so I don't know if it will exactly work or if there are other limitations I'm not considering, but I'm pretty sure it will work. But even so, the level itself, especially a 3D one, takes up too many nodons on top of the enemy AI and your character's complex moveset. So I'm thinking for next time I'm just going to make the game an arena, and all the enemies just spawn there. Leaving the majority of your nodons for enemy AI, animations, core mechanics, etc.
@Oribloop
@Oribloop 3 жыл бұрын
@@Madchimpz Hmm actually haven't thought of them spawning right in front of the player. It would definitely work though, might have to try that out sometime. Thank you for the idea!
@Madchimpz
@Madchimpz 3 жыл бұрын
@@Oribloop Just worked on it today. I'm really happy to say it works like a charm! Just need to make sure the touch sensors are in a spot where your character won't spawn them inside a wall and potentially get them stuck, but so far it's working great and the walls don't consume them. You can add a puff of smoke on the enemy when they appear, increasing the z axis on the teleport exit spawns them a nice distance away, and you can add some launch power if necessary. It's definitely the best way to spawn enemies in terms of quantity in several areas throughout a level.
@persephone2372
@persephone2372 Жыл бұрын
this is soooooo helpful thank you for this
@underseagaming
@underseagaming 2 жыл бұрын
This was so helpful!
@plasmatree3132
@plasmatree3132 3 жыл бұрын
im having a problem with the bots running away from me instead of targeting me. idk what to do, I followed the tutorial perfectly with no luck, Is there a reason why this doesn't work?
@Venkz_zZz
@Venkz_zZz 3 жыл бұрын
Same
@tangyteriyaki9111
@tangyteriyaki9111 3 жыл бұрын
Switch the X and Z ports. That fixed it for me.
@Oribloop
@Oribloop 3 жыл бұрын
Common issue, either switch the x and z ports. Or set frame of reference for motion to world.
@plasmatree3132
@plasmatree3132 3 жыл бұрын
@@Oribloop hey just so you know I tried all of that and it still didn't work for me. but I recently watched a new video recently that fixed the problem. you don't need the map nodons they do nothing but confuse the ai. I'm not sure why your version is different from mine. but thank you anyways for trying to help it shows that you care!
@Oribloop
@Oribloop 3 жыл бұрын
@@plasmatree3132 well the map nodons serve a purpose more for adding on to the original program. Specifically for the Y axis. I was planning on making a tutorial for Enemy AI part two which explains how to make the enemy jump by itself and do other mechanics. But I'm glad you were able to figure it out!
@Sp3ctralI
@Sp3ctralI 3 жыл бұрын
Interesting, perhaps this could help with my recreations of Wii tanks
@McSkellyHo
@McSkellyHo 3 жыл бұрын
Another thing I wanted to ask, is there a way to make the speed that the enemy is moving constant? Because it seems like the closer it gets, the slower it moves.
@Oribloop
@Oribloop 3 жыл бұрын
Well what happens is that once the alien is closer its beginning to match up with the players position and that results in slow down. There is definitely a way to fix this but I would have to mess around with it. I'll let you know if I come up with anything, awesome comment!
@pandorasbox2293
@pandorasbox2293 2 жыл бұрын
you could try to add like a joycon in front and attached to the player and then if they were behind you they wouldnt slow down till they get to u but if you just stand still it wont work
@patricioalberio3370
@patricioalberio3370 2 жыл бұрын
normalize the result, then multiply by the speed You want
@RustyRank5
@RustyRank5 3 жыл бұрын
Something weird is going on with my in game camera… so I followed the tutorial step by step and which ever direction my camera is pointed in.. the enemies will go in that direction
@ricodo1244
@ricodo1244 3 жыл бұрын
Do you know how you could make a double jump and plattforms that you can drop through? I made plattforms that teleport away when you stand on them and press down at the same time (it's 2d) but it limits you to four plattforms and I think it's too many calculations so they don't work a lot of the time and are horrible to look at because there are 6 Things on a really small space.
@Oribloop
@Oribloop 3 жыл бұрын
I'll check it out and see if I'm able to make a tutorial on it, but thank you for the suggestion!
@SBJankyyy
@SBJankyyy 3 жыл бұрын
Thanks! This helped me make my gbg game zardy:eternal!
@melissahenderlight2588
@melissahenderlight2588 3 жыл бұрын
This is exactly what I was looking for. Now time to make my own Slender clone. >:)
@Oribloop
@Oribloop 3 жыл бұрын
Oh very glad I could help at such good timing! Don't forget if you wanna slow down the enemy in this case Slender man turn the walking speed down for the player, hope that helps!
@Madchimpz
@Madchimpz 3 жыл бұрын
For the longest time this was working out just fine, but I noticed when I pass the enemy they start to glitch and just walk very far in the opposite direction. Sometimes they make a very wide u-turn, sometimes they just don't return and walk off the level. Is there any way to make them more reliable? :(
@morganjudd3188
@morganjudd3188 Жыл бұрын
I had the same thing happen and am super confused...
@GuyonaCouch
@GuyonaCouch 3 жыл бұрын
Does your AI randomly take off running in a large circle and come back? I built mine the exact same way as yours. Also, you can eliminate 4 nodons if you just hard wire the the connections.
@Oribloop
@Oribloop 3 жыл бұрын
Well if you eliminate the wormholes you might start getting some spaghetti code if you move the enemy around. Also here's a few fixes for your problem that might help you out: -swap your location sencers x and z postions -make sure your enemys frame of reference is set to "world" same with the "location sencers" - getting rid of the map nodons "i would try this first it worked for me hope this helped
@GuyonaCouch
@GuyonaCouch 3 жыл бұрын
@@Oribloop thanks! I did end up figuring out how to get it to follow perfectly.
@R3t1xtheIdiot
@R3t1xtheIdiot 3 жыл бұрын
Didn't work for me. The enemy would run a mile before chasing the player and when it got close, it would go the opposite direction of the player.
@Oribloop
@Oribloop 3 жыл бұрын
Try some of these fixes: -swap your location sencers x and z postions -make sure your enemys frame of reference is set to "world" same with the "location sencers" - getting rid of the map nodons "i would try this first it worked for me hope this helped
@ReitannaSeishinOfficial
@ReitannaSeishinOfficial 3 жыл бұрын
i want to make a group of chicks follow me, but only if i get close to them. how can i do this?
@F1g_z1g99
@F1g_z1g99 Жыл бұрын
Hey just want to ask how to do the box thing in 5:41
@dannymarxyoung7253
@dannymarxyoung7253 3 жыл бұрын
this is so helpfun thx a lot!!!!
@BaskootAltatota
@BaskootAltatota 2 жыл бұрын
this helped me make a super smash bros clone :D
@simpli_A
@simpli_A Жыл бұрын
How would you go about making the appearance be an alien?
@TitaniumAce
@TitaniumAce 3 жыл бұрын
What does the frame reference of motion for the enemy have to be
@A.guy543
@A.guy543 2 жыл бұрын
The problem is it keeps on going where my camera goes
@regularhooman1568
@regularhooman1568 3 жыл бұрын
Is there a way to make stop running towards you after your far away?
@binky777
@binky777 2 жыл бұрын
switch should have you on the payroll😄
@Wirby.
@Wirby. 3 жыл бұрын
2:19 Me presenting in front of the class be like:
@Oribloop
@Oribloop 3 жыл бұрын
Lmao
@crvoincr
@crvoincr 3 жыл бұрын
Its running from me, how do I fix it?
@jamespennington6428
@jamespennington6428 3 жыл бұрын
I think you want to set something in the enemys from camera to world
@Oribloop
@Oribloop 3 жыл бұрын
Yes thank you for mentioning. They do need to set the frame to world, not camera.
@XenaticLuxo
@XenaticLuxo 3 жыл бұрын
I was wondering how to create sexual intercourse in this game. An accurate representation of the beautiful endeavor between a man and a woman, and the synchronous pleasure shared between them?
@kelpoiscool
@kelpoiscool 3 жыл бұрын
is there any way you can make the enemy rotate towards you instead of walking towards you
@howellsmith612
@howellsmith612 3 жыл бұрын
I have a question how do you make the AI stop walking and or running?
@Sammart-zu4su
@Sammart-zu4su 3 жыл бұрын
can you a tutorial for enemies that follow and shoot and you
@Hipponos8809
@Hipponos8809 4 ай бұрын
I tried everything you said but my ai keeps going in circles. Why is this happening
@thebruhbutton1831
@thebruhbutton1831 8 ай бұрын
i used it for a little bro and/or sis to follow you!
@normad88
@normad88 3 жыл бұрын
I really liked this tutorial! Good job! Is there a way to include where the AI are not able to run inside of each other when chasing you? Since all their positions are subtracting your location, they are all going to eventually move into the same spot together.
@Oribloop
@Oribloop 3 жыл бұрын
Yes thats the only probably is they follow you under one path. I'm trying to combat this in a part two to Enemy A.I. Thank you for pointing this out though, and also I'm glad you found this video helpful. Let me know if you wanna see any other tutorials! :D
@normad88
@normad88 3 жыл бұрын
@@Oribloop I will watch anything you upload! You are a gem! Thank you!
@christophermartyridis4135
@christophermartyridis4135 3 жыл бұрын
Thank you! Can you show me how the enemies can attack me?
@Oribloop
@Oribloop 3 жыл бұрын
Yes set the enemy destructive towards person, and make the person nodon destructive towards alien. Hopefully that helps! :)
@christophermartyridis4135
@christophermartyridis4135 3 жыл бұрын
@@Oribloop tysm;)
@goop_official1
@goop_official1 2 жыл бұрын
I also try to make it jump but it jumps by it's self and it choses its own path to me which I find really cool, technology is getting smarter😭😭😭
@JmtzTCG
@JmtzTCG 3 жыл бұрын
I’m having problems with the way the enemy moves he will turn in the in the direction that I turn the camera I don’t know how to fix it
@JmtzTCG
@JmtzTCG 3 жыл бұрын
I’m still having problems white it
@PBandJ_sandwhich
@PBandJ_sandwhich 5 ай бұрын
When i make it destructive and destructible, it just dies immediately
@douglewisamaanthro383
@douglewisamaanthro383 Жыл бұрын
hay i tryed this and it didn't work, idk how to fix it cus i literly watched this 2 times and both have him run away from you
@PartiallyInvisible
@PartiallyInvisible 2 жыл бұрын
How would you increase the speed?
@GoldenMinelayerTDX
@GoldenMinelayerTDX 3 жыл бұрын
how to make a cook game pleass
@rosemariepetri8803
@rosemariepetri8803 Жыл бұрын
SUPER GBG ODYSSEY FEATURES ● The Club Will Start! Person Has Many Abilities With His Movesets And Sprites. Lots Of Persons Know Where The The Skyship Will Lead To, But The Secret Turnips Have Been Scattered Across The Skyship. Whenever Person Leads To A World, His Partner, Car, Can Charge Into Bricks To Slam Down Into The Ground. ● Person's Abilities! Person's Abilities Are... 1. Float 2. Wall Jump 3. Punch 4. Flashlight Person Can Use These Abilities To Face Enemys And Climb Onto Walls. ● Boss Battles! Furious Fluffball Is A Boss Battle Who Shoots Lightning Balls At The Player. He Was In Most Person Games, Like Pink Person's Journey. ● Powerups! Float Apple: You Can Use It To Float. Wall Jump Apple: You Can Use It To Wall Jump. Punch Apple: You Can Use It To Punch Flashlight Apple: You Can Use It To See In The Dark. ● You Can Join The DLC Now! The Annicapsary DLC Is Now Available! What It Features: New Abilities New Enemys New Bosses New Powerups New Mode: Chargebat Challenge New Mode: Glossary New Mode: Minigames New Mode: Camera New Mode: Gallery New Mode: Play Running Person (Game Builder Garage Game)
@rosemariepetri8803
@rosemariepetri8803 Жыл бұрын
SUPER GBG OYDESSY ENEMYS Ailen (Lives In The Grassland) Fluffball (Lives In The Forest) Fish (Lives In The Water) Tuna (Lives In The Water) Cloud (Lives In The Sky) Floating Ball (Lives In The Sky) Golf Ball (Lives In The Desert, Grassland, Forest, Water, Sky, Jungle, And Castle) Cactus (Lives In The Desert) Furious Fluffball (Final Battle) (Lives On The Moon) (Lives In His Castle)
@serenesunset5788
@serenesunset5788 Жыл бұрын
But.. How can i make that the enemy chase me only if i am near him?
@lones-old-account
@lones-old-account 3 жыл бұрын
Question, why do you have a mouse pointer instead of a + cursor?
@Oribloop
@Oribloop 3 жыл бұрын
The game has full mouse support. Plug mouse into dock.
@JaredtheNacliFan
@JaredtheNacliFan 3 жыл бұрын
I have a glitch. For some reason, instead of following me, the Ai runs around in circles! How do I fix this glitch?
@Oribloop
@Oribloop 3 жыл бұрын
Here's a few fixes for this problem: -swap your location sencers x and z postions -make sure your enemys frame of reference is set to "world" same with the "location sencers" - getting rid of the map nodons "i would try this first it worked for me hope this helped
@JaredtheNacliFan
@JaredtheNacliFan 3 жыл бұрын
I have no idea what the map nodon does lol ¯\_(ツ)_/¯
@breadstone58
@breadstone58 3 жыл бұрын
How did you duplicate the entire enemy? And are you using a mouse because the pointer is moving really fast too. Just asking because that would make all my programing 10x easier
@Oribloop
@Oribloop 3 жыл бұрын
If you double press nothing on the edit screen and drag your cursor around a box should appear. If you put that box around numerous objects there is a little blue screen that pops up on the bottom. If you select the copy button it will copy all the nodons. And yes I am using a mouse, if you have the regular switch in the dock you can connect a mouse to the usb ports on the dock. You can do the same thing with a keyboard for typing.
@breadstone58
@breadstone58 3 жыл бұрын
@@Oribloop ah, cool. Thanks!
@kels_tho
@kels_tho 2 жыл бұрын
I tried this with a brown UFO to make a 3d goomba, and it isn’t working.
@LittleBigNick
@LittleBigNick 3 жыл бұрын
How to make them destructible and destructive for my shooter game
@bruhjoemamalololololol2729
@bruhjoemamalololololol2729 3 жыл бұрын
I figured out a way easier version. Take your person Nodon, and a constant Nodon. Set the constant to -1.00, and plug it into the forward/ backward port. Then, the enemy will follow you.
@Oribloop
@Oribloop 3 жыл бұрын
Hmmm I'll have to try this one out... thank you for telling me this! :D
@bruhjoemamalololololol2729
@bruhjoemamalololololol2729 3 жыл бұрын
@@Oribloop one thing i found bad about this is if you are using a 3rd person camera, it will run twords the camera instead of the player.
@derricksquared
@derricksquared 2 жыл бұрын
It actually just moves the opposite way the camera's facing, so you can turn in backwards and the enemy will go away from you.
@goozjeesh46
@goozjeesh46 3 жыл бұрын
Are you using a mouse on a Nintendo switch
@Oribloop
@Oribloop 3 жыл бұрын
Yes, this game has full mouse support! Plug a mouse into your dock.
@goozjeesh46
@goozjeesh46 3 жыл бұрын
@@Oribloop ok thanks for the info
@NebulazDoesStuff
@NebulazDoesStuff 3 жыл бұрын
Can you make a tutorial on how to make AIs that walk around objects?
@Oribloop
@Oribloop 3 жыл бұрын
Interesting idea for a tutorial, I'll start messing around with it and see what I can come up with. Thank you for the suggestion! :D
@NebulazDoesStuff
@NebulazDoesStuff 3 жыл бұрын
@@Oribloop oh also I didn't know I did this comment, I already asked u before but I guess I did it again
@miguelautistic7409
@miguelautistic7409 Жыл бұрын
Okay but what about fancy objects?
@Willow-eu5wl
@Willow-eu5wl 3 жыл бұрын
i tried to do this with a ufo but it just goes away from me
@katie5420
@katie5420 2 жыл бұрын
If you grab the Nodons and shake them like hell they scream
@GoodBuy_to_all
@GoodBuy_to_all 2 жыл бұрын
Every time I do this by Bot keeps running away
@tangyteriyaki9111
@tangyteriyaki9111 3 жыл бұрын
I'm working on a soccer game and I was wondering if you have anything so the ai tries to score a goal?
@Oribloop
@Oribloop 3 жыл бұрын
Well the best way I can think to do this is instead of the AI after the player they will be after the ball. Then program when the ball gets him from the enemy side it will aim towards the goal at a random speed. This would be a lot to do, but its definitely doable. I will totally consider this for a future tutorial, thank you!
@tangyteriyaki9111
@tangyteriyaki9111 3 жыл бұрын
@@Oribloop Thanks for the help
@SuperGoomba554
@SuperGoomba554 3 жыл бұрын
Is there a way to make it so they wander around until you're in range and they come after you?
@Oribloop
@Oribloop 3 жыл бұрын
Yes! I will be doing an enemy A.I. part two eventually that will explain some of this!
@train7691
@train7691 Жыл бұрын
What if the enemy is a Fancy Object?
@ARGH28
@ARGH28 3 жыл бұрын
How did you learn about this? Is there an online book from Nintendo that explains all these combinations?
@Oribloop
@Oribloop 3 жыл бұрын
No just more of self experimentation. Like I usually first begin off with asking myself the question "how would I make enemy ai?". Then from there I just use my knowledge of how the game works to find out what works best. There is a not an exact way of going about this, but I would at least start off by asking your self questions and learning what specific nodons do.
@Mikel726
@Mikel726 3 жыл бұрын
for some reason the enemy only moves in direction I'm looking it could be because I'm making a first person game :|
@Oribloop
@Oribloop 3 жыл бұрын
Here's a few fixes: -swap your location sencers x and z postions -make sure your enemys frame of reference is set to "world" same with the "location sencers" - getting rid of the map nodons "i would try this first it worked for me hope this helped
@bsalp
@bsalp 3 жыл бұрын
@@Oribloop i have the same problem and none of these worked for me, is there any other fix?
@snipermonke6451
@snipermonke6451 3 жыл бұрын
It only follows the camera
@Oribloop
@Oribloop 3 жыл бұрын
Weird, try swapping the x and z axis to the enemy and make sure that the location sensor is connected to your character.
@habidtenly
@habidtenly 3 жыл бұрын
could you teach us how to make a health bar on screen?
@Oribloop
@Oribloop 3 жыл бұрын
Yes that is coming very soon, so be on the lookout!
@jennymurphy314
@jennymurphy314 3 жыл бұрын
How do you make it jump over a wall to get to you? Is that in a different video?
@Oribloop
@Oribloop 3 жыл бұрын
No haven't done a video like that yet. I'm planning on doing a Enemy AI Part 2 though very soon which I think I will show how that would work!
@jennymurphy314
@jennymurphy314 3 жыл бұрын
@@Oribloop thanks very much!
@johnlemire6930
@johnlemire6930 2 жыл бұрын
For some reason it’s not working for me😢
@shadyboi8945
@shadyboi8945 3 жыл бұрын
Question how did you copy and paste multiple nodons at a time and can I do that without a mouse?
@Oribloop
@Oribloop 3 жыл бұрын
I have a mouse plugged into my dock. Click and drag onto a blank space (similar to a computer drag function), and cover the box with the nodons you want. Then on the very bottom of that box will be a blue options box which you can select copy. Hopefully this helps!
@shadyboi8945
@shadyboi8945 3 жыл бұрын
@@Oribloop so the only way is with a mouse? Dang I need to go buy one now
@ESparkAster
@ESparkAster 2 жыл бұрын
@@shadyboi8945 You can also press ZR and ZL and drag press A
@IronRook610
@IronRook610 2 жыл бұрын
my Enemy is circling me not following me, even though i did it right.
@J.shadd21
@J.shadd21 3 жыл бұрын
How do you make it where it attacks you
@mario64thane
@mario64thane 3 жыл бұрын
This does not work, it almost seems as if the enemy moves either somehow relative to the camera or just straight up randomly, I can't figure out his to fix this Edit: Nevermind, you can fix it by swapping the connections for the z positions in the calculation nodon and by swapping the connections for the enemy's movement. Edit 2 because I forgot to mention this: don't forget to set the enemy's frame of reference for motion to world
@Oribloop
@Oribloop 3 жыл бұрын
Thank you for pointing that out. The x and z position of the character and the enemy need to subtract from each other, if either are swapped it will create some issues. I'm glad it all worked out for you!
@rokiler1712
@rokiler1712 3 жыл бұрын
If you go behind the enemy they RUN for deer life
@emilelariviere2712
@emilelariviere2712 3 жыл бұрын
Help there only going in circles what do I do?!?!
@username-sf3fz
@username-sf3fz 3 жыл бұрын
The enemy just runs away from me
@Oribloop
@Oribloop 3 жыл бұрын
Try and make the enemy frame of reference of motion to world that should hopefully fix it!
@username-sf3fz
@username-sf3fz 3 жыл бұрын
@@Oribloop I did that and now it just runs around in circles and I followed the tutorial like 10 times
@Oribloop
@Oribloop 3 жыл бұрын
@@username-sf3fz This came from plasmatree123: if the enemy is running away from you try these fixs -swap your location sencers x and z postions -make sure your enemys frame of reference is set to "world" same with the "location sencers" - getting rid of the map nodons "i would try this first it worked for me hope this helped
@username-sf3fz
@username-sf3fz 3 жыл бұрын
@@Oribloop ok thanks I will try this later
@nicalister
@nicalister 3 жыл бұрын
I can’t seem to get this working
Breaking games and defeating bosses in Game Builder Garage!
16:25
Brad is Brad
Рет қаралды 84 М.
I'VE MADE A CUTE FLYING LOLLIPOP FOR MY KID #SHORTS
0:48
A Plus School
Рет қаралды 20 МЛН
Какой я клей? | CLEX #shorts
0:59
CLEX
Рет қаралды 1,9 МЛН
Маусымашар-2023 / Гала-концерт / АТУ қоштасу
1:27:35
Jaidarman OFFICIAL / JCI
Рет қаралды 390 М.
I Made a Geometry Dash Level, But You Have to Beat it TWICE
20:56
DoublePositive
Рет қаралды 202 М.
I tried to make Tetris in Scratch
17:42
Xenon Neko
Рет қаралды 171 М.
I Played GAME BUILDER GARAGE In 2024...
23:52
DGR
Рет қаралды 51 М.
Fractal Block World: A Game That's Bigger Than The Universe Itself
16:35
[Game Builder Garage Tutorial] Multiple Enemy Lives
11:29
Oribloop
Рет қаралды 24 М.
How Far Can You Get With 1 Of Every Tower In BTD5
19:13
Phenomix
Рет қаралды 17 М.
I Made A Difficult Game About Climbing
15:04
Pontypants
Рет қаралды 2,3 МЛН
My Game Builder Garage Retrospective - Nit-Pick
13:43
Nit-Pick
Рет қаралды 7 М.
I'VE MADE A CUTE FLYING LOLLIPOP FOR MY KID #SHORTS
0:48
A Plus School
Рет қаралды 20 МЛН