velocity detection

Game Editor comments and discussion.

velocity detection

Postby J Maker » Fri Oct 12, 2007 12:35 am

ok i know that there is a code that will detect wich direction my player is going because i used it on one of my games but now i can't find where it is in my files and someone posted it in one of my AI questions for another on of my games but i can't find that post either so if someone can help me please do. if it helps at all heres an example:
Code: Select all
if (velocity detection code)
{
    change animation ______;
}
like that
Some people believe Chuck Norris evolved from a dinosaur, the Chucknorisaurus.
----------------------------------------------------------------------------------
Chuck Norris doesn't sleep, he waits.
----------------------------------------------------------------------------------
Chuck Norris doesn't hunt, he kills.
----------------------------------------------------------------------------------
Chuck Norris once shot down a german fighter plane with his finger by yelling BANG!!!
----------------------------------------------------------------------------------
User avatar
J Maker
 
Posts: 177
Joined: Fri Jun 22, 2007 4:17 pm
Location: in the stick version of Hyrule
Score: 10 Give a positive score

Re: velocity detection

Postby Oman » Fri Oct 12, 2007 12:40 am

J maker i gave u that code, but it is very specific to your game, so next time i see u ill help u w/ it :D
"Beyond a wholesome discipline, be gentle with yourself." - Max Ehrmann
User avatar
Oman
 
Posts: 268
Joined: Tue Oct 31, 2006 4:00 am
Location: Somewhere out there...
Score: 6 Give a positive score

Re: velocity detection

Postby J Maker » Fri Oct 12, 2007 12:44 am

just send..never mind go on yahoo!
Some people believe Chuck Norris evolved from a dinosaur, the Chucknorisaurus.
----------------------------------------------------------------------------------
Chuck Norris doesn't sleep, he waits.
----------------------------------------------------------------------------------
Chuck Norris doesn't hunt, he kills.
----------------------------------------------------------------------------------
Chuck Norris once shot down a german fighter plane with his finger by yelling BANG!!!
----------------------------------------------------------------------------------
User avatar
J Maker
 
Posts: 177
Joined: Fri Jun 22, 2007 4:17 pm
Location: in the stick version of Hyrule
Score: 10 Give a positive score


Return to GE - General

Who is online

Users browsing this forum: No registered users and 1 guest

cron