0 votes

I'm creating a grid-based 2d rpg similar to Tibia.
I am currently working on the pathfinding algorithm of the enemys using Navigation2D, but since Navigation2Ddoenst support grid based movement it seems not to be the right choice for me.
I also tried the AStar algorithm of godot and it worked all fine but it always takes a while to initialize the AStar node because it iterates through a tilemap and adds the center positions of the tiles to its walkable points. I think the problem is that it uses GDScript, which is very slow and therefore unsuitable.

Can someone help me figure out how to do that?

in Engine by (16 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.