How can I do to turn the enemy angle to face the player (and to shoot him) in multiples of 90 or 180 degrees (front/back) and then returns to the original angle?
Another doubt: Is possible to use tiles do define the enemy movement? (e.g. enemy> is overlapping tilemap & tilemap.tileAt =10 : set enemy>bullet>angle of motion to 90).
https://www.dropbox.com/s/ux9igk13ezh3z ... .capx?dl=0
Edited: I forgot to say that I'm using "Line of sight" to detect the enemy proximity.