This site is currently in read-only mode during migration to a new platform.
You cannot post questions, answers or comments, as they would be lost during the migration otherwise.
0 votes

Hello I'm trying to make a roguelike RPG dungeon crawler for an itch.io game jam and I can't figure out why the enemy AI with navigation 2d and the wall collision don't want to work properly. So, please check out it and help me as much as you can to fix the problems.
Also if you can't open my project's files for any reason send a comment below.

my project

Godot version 3.4.stable
in Engine by (17 points)

1 Answer

0 votes

From a quick glance:

  • There are no collisions in your tilemap.
  • The enemy is told to chase but at that point, there's no path (it's empty).

Fix the tilemaps first: https://docs.godotengine.org/en/stable/tutorials/2d/using_tilemaps.html

The second issue could likely be resolve by calling chase and move functions (perhaps in _process?) to do something.

by (1,406 points)

I think I did what you said but it not working yet.
Any other ideas?

my project v2

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.