Alice Community  

Go Back   Alice Community > Alice 2 > How do I...?

Reply
 
Thread Tools Display Modes
how do i have evant specfic impace detection
Old
student
Guest
 
Status:
Posts: n/a
Default how do i have evant specfic impace detection - 05-06-2008, 10:06 AM

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
   
Reply With Quote
Old
DickBaldwin
Guest
 
Status:
Posts: n/a
Default 05-06-2008, 11:05 AM

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
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Copyright ©2019, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.