Please help me on making enemies move by themselves, constantly chasing the player like in pacman and at the same time avoiding walls.
P.S.: I am a beginner.... please don't use hard-to-understand terms in your answer. Thank you.
MoveTo("Ghost", 0.000000, 0.000000, 5.000000, "Pacman", "Walls");
__CAAZ__ wrote:No Matter What It's Going To Be Hard To Under Stand If Your A Begginer. But I Think I Have An Easy Way, Look At This Code.
Ghost -> Draw Actor -> Script EditorThe 5.000000 Can Be Changed To Match The Speed You Want, Ghost Is The Actor That Is Moving, And Pacman Is What It's Moving To
- Code: Select all
MoveTo("Ghost", 0.000000, 0.000000, 5.000000, "Pacman", "Walls");
editor2s wrote:Thank you very much..... especially to Sgt. Sparky... I've seen you help so many other people in the forum. Without you guys, creating games would be so hard to do.
And Makslane, Dont Forget Makslane!Sgt. Sparky wrote:editor2s wrote:Thank you very much..... especially to Sgt. Sparky... I've seen you help so many other people in the forum. Without you guys, creating games would be so hard to do.
Your Welcome.
(Caaz Helped To![He gave the big part of it all.])
__CAAZ__ wrote: And Makslane, Dont Forget Makslane!
__CAAZ__ wrote:Yea But Makslane Made GE, So That Puts The Whole Forum Here
Users browsing this forum: No registered users and 1 guest