Skip to main content

Posts

Showing posts with the label enemy patrolling

How to make enemy patrolling on a custom path.

If you are creating a top down game then you will want to move your enemy in a certain path. patrolling is a very important aspect of any game and with Godot it is very easy to create. All you need is path2D node and pathfollow2D. In this video I have cover both straight line patrolling and circular path patrolling. here is the video tutorial-