Now they follow the character, but I don't know, how I could let them spawn from the border. Also they should spawn to a random time, and I don't know how to integrate time in my game. So first the zombie(the ellipse) should follow the character and not the mouse anymore. And if you could help me with this spawning thing, I'd be thankful.
I have a problem and after lots of hours testing and trying I have no idea what else I can do. So I'm begging you to help me. I also have to say, I'm very newbie with processing, we did a bit in school :S
So I want to do a 2D Shooter (in bird's eye view), and the character should be movable with "wasd". This one is not the problem, but i also want the character rotating/look in direction of the cursor. Both things I can do easily, but I don't get how I achieve to combine those two things.