Computer Science Canada Randomizing Procedures help |
Author: | SeeknDestroy [ Sat Jan 10, 2004 10:55 am ] | ||
Post subject: | Randomizing Procedures help | ||
well im making this shooter game and in it i made a bg picture a process, and made 3 procedures, in the procedures, the bg process is forked and a picture of an enemy appears and i used the mousewhere function to have the picture disappear after u click on it or a delay for when u dont click it. after the procedure codes, i put in a loop, in the loop i have a randint funtion, and it randomly picks a number between 1-3, and when a number is chosen, it corresponding procedure is ran. but when i run my program, the different enemy pictures just appears randomly for a second and disappears again. can n e one plz help me? here's the code if it helps. plz keep in mind i am a noob to turing. thnx a lot
|
Author: | SeeknDestroy [ Sat Jan 10, 2004 12:32 pm ] |
Post subject: | |
plz...someone... plz help me ![]() |
Author: | Tony [ Sat Jan 10, 2004 2:31 pm ] |
Post subject: | |
umm... you should put your Mouse.Where inside the loop. Because otherwise you're just checking if the user clicked just once ![]() |
Author: | SeeknDestroy [ Sat Jan 10, 2004 8:38 pm ] |
Post subject: | |
ok, thnx a lot! |