Комментарии:
Is there a way to use the tile map in the navigation process? Meaning, the enemy would move from cell to cell like X-COM.
ОтветитьThis is a bit late, but why are you including '-> void' doesn't gdscript already return void if no return type is specified?
Ответитьhey my man, you really helped me out, thx. But I need to make it follow only on 4 directions, cause in my game the player and enemies should only go up, down, left or right, without diagonals. What do you suggest?
ОтветитьVery nice video,
is this approach also possible for isometric 2D maps ?
I appreciate this tutorial. I was wondering how do you apply this to something more platformer like and not top down. Like making an enemy moving along the ground? I tried to modify the part with velocity = dir * spd, for gravity and now the character isn't moving.
ОтветитьTILES MAP:
i did some thinking and now i found how you can make the AI correctly seek the path if you have multiple layers of tiles.
1: make a new layer for "Navigation layer tiles" set the Z index to -100 so ou never see ingame, or make the modulate transparent.
2: Make a alternative tile of something else you want to have reference of. Dont set collisions.
(optional) change the modulate color to blue for a better reference.
3: paint the navigation for these alternative tiles.
4: if you have "Half tile" then make a alternative for them and set the navigation.
5: fill your map according to your needs of navigation. If you have half blocks remember to fill then with the inverse blocks you made.
DONE.
now you have a complete, full navigation that you have controll of. With the ability to precise navigations because of the alternative tiles. I find myself do much intelligent for discovering this fix of multiple layers tiles and half tiles.
brooo💀💀💀💀 i didnt really notice you could easily set navigation to tiles just like that. I manually set the polygons myself(didnt really took that long) but causes a lot of weird issues with pathfinding. Of course, this engine has everything!
ОтветитьHmm even with the wall slide 0 my character gets stuck on walls
ОтветитьDoes not seem to work if you use layers for the tilemap, any ideas? Thanks for this video :)
ОтветитьI was following another tutorial and a problem came up: suppose you put some object there with collision. You'd then have to make the navigation mesh go around it, but how do you make sure the enemy can find the path around from both sides? It seems to need a way to connect two navigation areas, and it doesn't seem to always work. This video sort of bypasses the problem by putting the navi mesh into the tileset, but it only works if tiles are the only things you use in your game. Still, great video as always.
ОтветитьAwesome tutorial. I wish you'd zoom in on the code you're typing though. Hard to read on smaller screens 😊
Ответитьits Ga-Dough not Go -Dot
ОтветитьThat is insanely simple! I got this recommended just when I needed it.. Thanks for this!
ОтветитьWell. You just saved my laptop from being smacked at the wall. Well done
ОтветитьThanks for the explanation, but I have a problem that the enemy gets stuck in the wall, even though I made the motion mode floating,why?
Ответитьthank you so much!
ОтветитьDo verison 3.0 because if i switch to 4.0 it will be very broken
Ответитьhow to make look at the player, the look_at not work.
Ответитьwhat i am missing: put wait on tiles for good/bad ways.
make the enemy only move UP/LEFT/RIGHT/DOWN if you make streets this is just useless :(
In complex scenarios 100 agents will drop the fps below 60 fps? Is there a way to improve this?
Ответитьshow us how to make the enemies avoid each other
ОтветитьHey could you do one on navlinks?
ОтветитьThis tutorial was awesome! I’m making an rpg with 4 directional movement and wondering if there was a way to make the movement of the path finding 4 directional instead of 8 directional
Ответитьi got some bug where my navigation stuck being a straight line between collision wall, and not curving the path, can u help me solve this?
ОтветитьI really need help. This is not working. The debug path is showing going around the walls but my enemy just walks right through them.
ОтветитьAre all your tutorial videos cc0 license? Like can I use them in game without licensing? Or what is the license? Thanks!
Ответитьis these work with godot 3 ?
ОтветитьIs there a way where it can find multiple targets, go to the nearest one and so on?
Ответить+ Sub, been looking for a good tutorial on this.
Also looking for:
- UI mechanics and how to think about it and plan it for games
- Detailes on how to use tilemaps and tilemaps with custom data
hey, how could it be increased a check for static bodies?
ОтветитьThank you for this specific focused tutorial. I had a tree in my scene with a rectengular collision shape (so that all players and npcs are able to walk behind and in front of it). My npc is getting stuck at the tree and is not trying to get arround. Is this the correct behavior, that it does not try to get arround and is trying to get through that collision? Is there a correct way to cope with this? Or do i have to code a function where it checks its own position and tries to move left or right to go arround if the npc is not moving its position for a certain time?
ОтветитьBro it helped me thanks for this video really appreciate this.
Ответитьthanks Man great video but I want to know why my enemy gets stuck in walls even tho I made the motion mode floating and made the wall slide thing to 0??
ОтветитьIs there any way you could add a segment at the end of your tutorials where you show all the finished, completed scripts? It's killing me having to go back, rewatch, go back, rewatch trying to catch what I did wrong. I've been stuck on scene transitions because I can't see the difference between your finished product and mine.
ОтветитьOmg it's so easy!! thanks a lot for tutorial XD
ОтветитьHow would I do this in 3d?
ОтветитьIncredible! Thank you very much for your updated tutorials. Is there a possibility that you make a tutorial explaining multiplayer? since in Godot Engine 4 it seems that they made things easier in the field of networks. Greetings from Argentina!
ОтветитьFor some reason, this don't work for me. My enemy object is just standing. What things do you think I have to check?
ОтветитьThanks so much for this. I didn't realize it was the motion mode that was causing me so much headache.
ОтветитьI appreciate these concept video more after doing the 2d RPG series as it helps me learn it better to figure out how to apply these standalone videos to the bigger game. Happy to learn about exports here, as I was wondering what the equivalent of a public or serialized GameObject in Unity inspector was until now. :)
ОтветитьReally nice tutorial, do you now how to add costs to the path? like pathway, grass, hills etc so pathway is less costy then grass for an example
ОтветитьMan pls do about preset room generation, I had to do the generator myself and it still had errors, pls do vid about it 🙏
Edit: pls man do a vid about it(it should be preset rooms)
I think you're missing a word in your title.
ОтветитьGreat video my man , can you explain why you made the physics function to void? What does thag do?
Ответить