View Single Post
Old
dakota95
Senior Member
 
dakota95's Avatar
 
Status: Offline
Posts: 426
Join Date: Aug 2011
Location: like I would tell you. ;)
Default 06-20-2012, 07:57 PM

Quote:
Originally Posted by kabbott View Post
i am making a video game on alice called space invaders and i am having trouble trying to figure out how to make them die randomly and i am also having troble trying to make the enemy ships shoot and the players ship to shoot
JUst have it pick random numbers between 1 and 10. Then make a function: When #variable=3(any number between 1 and 10) make guy die. Then assign a number between 1 and 10 to each object that you want to die.


<Insert_Signature_Here>
   
Reply With Quote