Nick
2004.08.02, 02:43 AM
I have finally (after many days of trying) gotten one sprite to "target" another sprite and follow it around the screen. The problem is that my code has it automatically adjusting on the X and Y axis at the same time so the following isn't realistic. Below is a link to the project. If you can help me refine the AI so that following seems more realistic I'd appreciate it. I'm thinking I could set up 5 variables to store the last 5 positions of the target sprite and have the follower go to these in order. Thanks for any help or advice.
**EDIT**
I have updated the file because I kept playing with it. Please let me know what you think of it so far. It's far from a game but it has a lot of nifty little sprite things in it. Any advice on organizing what I already have or what I could add next (along with how) would be appreciated.
My Xcode Project File (http://www.freewebs.com/simreality/Thief.sitx)
**EDIT**
I have updated the file because I kept playing with it. Please let me know what you think of it so far. It's far from a game but it has a lot of nifty little sprite things in it. Any advice on organizing what I already have or what I could add next (along with how) would be appreciated.
My Xcode Project File (http://www.freewebs.com/simreality/Thief.sitx)