Computer Science Canada Uncle Worm, Leveling Up |
Author: | Mr. T [ Sat Mar 19, 2005 10:51 pm ] | ||
Post subject: | Uncle Worm, Leveling Up | ||
In my game...after reaching a score of 50, i want to "level up" By leveling up, i mean 1. eliminating the creation of food until the next level is reached 2. creating an exit point 3. seeing if that exit point has been reached (whatdotcolour) 4. decreasing the screen dimensions upon reaching the exit points and then after another 50 points, repeat this process -------------------------------------------- how would i go about doing this? should i save things as procedures? heres my code...
------------------------------------- p.s. i realize my snake doesnt grow...im saving the flexible array part for the end, because ive yet to learned it and could someone help me with my whatdotcolour for the exit point ![]() |
Author: | Cervantes [ Sun Mar 20, 2005 8:59 am ] |
Post subject: | Re: Uncle Worm, Leveling Up |
Pwned wrote: In my game...after reaching a score of 50, i want to "level up"
By leveling up, i mean 1. eliminating the creation of food until the next level is reached 2. creating an exit point 3. seeing if that exit point has been reached (whatdotcolour) 4. decreasing the screen dimensions upon reaching the exit points and then after another 50 points, repeat this process check the whatdotcolour thread, then come here. 1.)you could make a flag variable (a boolean variable) and set it to true every time you enter a new level. When you've got enough points, set it to false. Only draw food if the flag is true. 2.) You've done that, right? 3.) other thread., 4.) View.Set. You can do that. However, instead of having a exit when you collide with the exit, you should have aprocedure that will create the next level. |