
-----------------------------------
Tallguy
Tue May 06, 2008 8:36 am

Maze
-----------------------------------
As most of you all know I've been working on my grade 11 final. Most bugs I've fixed - thanks to most of you.

More recent problems:
-To begin lvl 2 , you need to click the blue dot to begin, but once you do, nothing really happens?? :? 

Side Note:
-I need to get rid of the mouse pointer
                                  ---- I've tried 'Mouse.Hide', 'nocursor', nothing works  :(
                                  ----The mouse has to go because in later lvls the ball is really tiny (so its hard to see with the pointer)

-----------------------------------
isaiahk9
Tue May 06, 2008 5:57 pm

Re: Maze
-----------------------------------
Did you try using :

loop
include "level2.t"
if Veiw.WhatDotColor (cursorx, cursory) = blue then
level2
else 
. . . code for the mouse and the maze . . .
end if
end loop

Level2.t is a procedure name I made up for your second level.  Cursorx and cursory and the coordinates for your cursor.  This example would make it so that if the cursor is even hovering over blue then it goes to next level.  you could just add in the clicking code.
    Hope that helps after you've helped me.

-----------------------------------
Zampano
Tue May 06, 2008 6:23 pm

Re: Maze
-----------------------------------
Tallguy, what's up with having a separate procedure for each level? If you just used the code from level1 for level2, it could easily run, you'd just need to load a different file. This can be done with some simple string manipulation. Besides that, why do you think you should change the colour based on the inner for loop. This means that the clr variable is modified even when it does need to be, leading to layers of redundancy.

-----------------------------------
Tallguy
Thu May 08, 2008 11:05 am

RE:Maze
-----------------------------------
i'm using procs, so i can load the new map, and the cursor gets smaller after every lvl..but i c wat u mean

YAY THANKS isaiahk9

it works :D  :D  +10 bits (4 a ty)

-----------------------------------
Jessica359
Thu May 08, 2008 12:03 pm

RE:Maze
-----------------------------------
Ask Harisson when he comes back m ayby he can help you. :)

-----------------------------------
Insectoid
Thu May 08, 2008 5:16 pm

RE:Maze
-----------------------------------
You have to do a MAZE for your gr. 11 final? I'm doing pacman in Gr. 10, for fun! And I may use it as my final as well...

-----------------------------------
Tallguy
Fri May 09, 2008 7:58 am

RE:Maze
-----------------------------------
no i don't have to do, i just felt like it-its easy
