View Full Version : Need Help
ClaytonManning14
11-04-2009, 06:06 PM
okay so now im makeinga game and its like nazi zombies. i have it so they moveto me and i can shoot and everything but how do i make its wheni shoot them they fall down or dissapeer.
Well for dissapear you can set the Opacity to 0%
To make them fall down, you'd probably have to make an animation by rotating the arms legs and body.
Edit: Clay from Mr.Carrolls class.....?
This is Jon
ClaytonManning14
11-04-2009, 06:23 PM
Jon? do i know you. or were you just sayin this is jon.
Hm, the dude who sits next to Ryan. But yeah i dont think you know me :P
ClaytonManning14
11-04-2009, 06:24 PM
okay haha i no u. i just didnt think it would be some1 from my class ha. ah this is making me mad i cant figure it out.
If you can upload your world i'll show you what to do :)
Basically you'd have to put in the event after the zombie is shot
zombie.fall down (A method you would have to make)
and set opacity to 0%
How to do zombie.falldown
--------------------------------
So create new method in the zombie object
and rotate his knees and arms and such in a manner of falling down
ClaytonManning14
11-04-2009, 07:01 PM
move with arrows
shoot with spce
thanks for help i really need it ha if u cant get it its fine,
Yeah i cant make sense of your world :\
If you have a guy who shoots why do you need the tank :o?
You should make the arrow keys move the guy and make a tank off somewhere that he can get inside
ClaytonManning14
11-04-2009, 07:18 PM
i thought i deleted the tank. sorry my bad. thanks for all ur help. see u tomorow.
x2495iiii
11-04-2009, 08:14 PM
It's a little late, but I'm taking a look at your world now. Back in a sec with some advice.
By the way, say hi to Isabelle for me.
x2495iiii
11-04-2009, 08:28 PM
Are you trying to make something similar to my game? If you are, it'll take more than the rest of the day to make it, I'll tell you that.
But anyway, to make the zombies disappear, you write a loop with an if/else if stement that looks like this:
If bullet is within .5 meters of zombie
do together(
zombie turn backwards .25 revolutions duration .25 seconds
zombie move up .1 meters asSeenBy ground duration .25 seconds
zombie set opacity to 0% duration .25 seconds)
else do nothing
ClaytonManning14
11-05-2009, 04:31 PM
i need i so when i shoot them they move down or dissapeer. dont mind the tank i ment to delete it. thnks. how do u no issabelle.
x2495iiii
11-05-2009, 05:43 PM
Yeah, check my post at the top of this page for how to do that.
Say hi to Alex, Terrence, and everybody else, too, alright? And don't forget, I expect that project to be done on Monday!
ClaytonManning14
11-05-2009, 05:51 PM
how do u know every1 in my class. is this mr carroll?