how do i create an enimey to follow me around walls without crashing in to them and getting stuck or going right thought the wall ??????? any help would great.
Offline
somthing like that!!!!!!
Offline
sparky5000 wrote:
somthing like that!!!!!!
when gf clicked forever if <(distance to [player v]) > [150]> point towards [player v] add (x position) to [x pos. v] add (y position) to [y pos. v] move (10) steps if <touching [wall v]?> set x to (item (last v) of [x pos. v]) set y to (item (last v) of [y pos. v]) end endThere. Hope it works.
Offline
i'll give it a try thanks!
Offline
sorry didn't really work in my project but it gave me another idea. thanks
Offline
here is link to the project if you want to see it.
http://scratch.mit.edu/projects/sparky5000/2755659
Offline