Flying Enemy Monster

How do i make a enemy fly around and it will go after the player?

1 Like


This code will make the flying enemy really really fast. I took this screenshot from my game, but I forgot which example it comes from. If you want to make the character slower, adjust the number blocks on the right and the number in the Timer block on the left. The Extractor extracts the enemy’s own position (this x and this y), while also extracting the player’s position (other x and other y). Unless your player character is set to Keep Between Levels, this code will only work in one level.

ok i’ll try this out

1 Like