Quantcast
Channel: Questions in topic: "enemy"
Viewing all articles
Browse latest Browse all 1488

Enemy/Partner AI without rotation

$
0
0
I have tried a ton of AI scripts around here for my game, and they all have one thing in common. They all rotate the object it's attached to. I'm trying to make a Paper Mario game, and if anyone has played those games, you know that no-one (ok, one star kid), turns sideways when the camera is facing them. I need to know how to make a script that follows the player and stops at a distance, and depending if he/she is on the right or left side of mario, their x-axis scale is inverted. Right now all I'm getting is just a bunch of rotating sprites, and that isn't good for a paper mario game.

Viewing all articles
Browse latest Browse all 1488

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>