The enemies in the game are set to come after a target, but will walk towards the character while looking in the direction of the target they are suppose to target. Either I got something wrong in the code, or they won't target something off-screen but still look in it's general direction?
Also, when the game starts, they won't move at all until they are on screen, which then the enemies activate. I guess this is to save memory, but anyway to force them to activate without being on screen?
You got something wrong in the code. You can target something off screen. Objects can move while they are off screen. You may have specified that something has to be on screen, which is an event condition.
Develop games in your browser. Powerful, performant & highly capable.
Yeah, it was my mistake, I managed to fix it. Thanks for the reply.