Hi, everybody. I am a newby. Actually this is my very first post. I was wondering if anyone could tell me how I can make an enemy follow Player. I tried JImJIm1983's code and it worked somewhat.
I am building a simple game, actually I am still a beginner programmer and am trying to learn the basics, but here's what I have built: A simple platform game, a bird's eye view of city blocks with streets that go around it and through the blocks in the layout. I got the car (Player) Touch controls working fine with 4 arrows LEFT, RIGHT, UP AND DOWN. Now I want to build another car (Enemy) to chase it around the city. Player will be able to shoot down Enemy, but I can't get Enemy to chase Player. It only needs for directions LEFT, RIGHT, UP and DOWN.
Help, anyone?
Thanx!