Enemies shooting wrong direction

do anyone know a solution to this? Cause my enemies in my game are supposed to shoot at the player. but instead, they shoot about where I placed the cross. BTW i placed the cross and text after the problem so they are not connected at any point Processing: Preview of Shooter shitgame 2022-02-03 17-30-29.mp4…


It’s because you’re got player.X(), with a lower case ‘p’, and Player.Y(), with an uppercase ‘P’. One of the player object references is wrong. Remember GDevelop is case sensitive.

1 Like