Alice Community space invaders shooting and death
 User Name Remember Me? Password

 Thread Tools Display Modes
 space invaders shooting and death
 kabbott Junior Member   Status: Offline Posts: 2 Join Date: May 2012 space invaders shooting and death - 06-05-2012, 10:51 AM 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
dakota95
Senior Member

Status: Offline
Posts: 426
Join Date: Aug 2011
Location: like I would tell you. ;)
06-20-2012, 07:57 PM

Quote:
 Originally Posted by kabbott 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>

 Thread Tools Display Modes Linear Mode

 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 Rules
 Forum Jump User Control Panel Private Messages Subscriptions Who's Online Search Forums Forums Home Announcements     Community News and Announcements Alice 3     How Do I?     Works In Progress     Share Your World     Share Custom Classes     Bugs and Trouble Shooting     Suggestion Box Alice 2     How do I...?     Works-In-Progress     Share Worlds     Share Objects     Bugs and Troubleshooting     Suggestion Box Educators     Teaching with Alice     Teaching Using Alice 3     Teaching Using Alice 2     CS Principles and Alice     AP CSA and Intro to Java and Alice     Workshops     Alice Player and VR General Discussion     Questions and Comments     The Lounge