View Single Post
Old
DickBaldwin
Guest
 
Status:
Posts: n/a
Default 05-06-2008, 12:05 PM

Quote:
Originally Posted by student View Post
I am making a simple game where a ninja fights zombies. I am having trouble coding the ninja attacks. What I have so far is an invisible object that moves out of the ninja when he attacks. but it is not working the code that triggers the zombies death sequence is only sporadically detecting the impact and not only that but because I want the ninja to be damaged if the zombie touches it without being hit I need some way to differentiate between when the attack object is in the ninja and when the ninja is actually attacking
I believe that you may want to go to Google and search for the following:

collision site:www.alice.org

I hope that you find what you need there.

Dick Baldwin
Free Alice tutorials: http://www.dickbaldwin.com/tocalice.htm
Free programming tutorials: http://www.dickbaldwin.com/toc.htm
   
Reply With Quote