
-----------------------------------
Tallguy
Mon Apr 28, 2008 11:37 am

Repeating Program Errors
-----------------------------------
Hello,
For my grade 11 final i'v made a maze type game where the user is a red dot and needs to reach the destination point, without going out of bonds or touching a white block.

Problem:
-Once level one is done and you click to continue, level one repeats itself (its not suppose to)

Does anyone know.....:
-Once in the game is in progress, can i get rid of the cursor, so that you just see the red dot

Any help will be helpful
 :wink:

-----------------------------------
Tony
Mon Apr 28, 2008 12:14 pm

Re: Repeating Program Errors
-----------------------------------
Once in the game is in progress, can i get rid of the cursor, so that you just see the red dot
The cursor is accessible through WinAPI. If you really want to, you can look up the sample calls for toggling cursor visibility in... probably VB or C++. Compile them as executables and trigger through Sys.Exec from Turing.

-----------------------------------
petree08
Mon Apr 28, 2008 12:34 pm

Re: Repeating Program Errors
-----------------------------------
Once in the game is in progress, can i get rid of the cursor, so that you just see the red dot
The cursor is accessible through WinAPI. If you really want to, you can look up the sample calls for toggling cursor visibility in... probably VB or C++. Compile them as executables and trigger through Sys.Exec from Turing.

is there a way to turn off the cursor, with just using the system command?

what i mean by that is could you do something like

system ("C:/...")

-----------------------------------
Sean
Mon Apr 28, 2008 2:12 pm

Re: Repeating Program Errors
-----------------------------------
I though there was a nocursor function built into turing, where you add in the View.Set?

Also, TallGuy, make a variable as level and have each map set at a different number.


var level : int := 0

if level = 0 then
     %Map
end if


-----------------------------------
Tony
Mon Apr 28, 2008 3:06 pm

Re: Repeating Program Errors
-----------------------------------
I though there was a nocursor function built into turing, where you add in the View.Set?
Almost. That's the "your text will be typed here" cursor setting, not the mouse pointer. Which is what I assumed the OP was asking about.

-----------------------------------
Sean
Mon Apr 28, 2008 3:32 pm

Re: Repeating Program Errors
-----------------------------------
Ah, been awhile since I used that function, can't remember why though.

-----------------------------------
Tallguy
Tue Apr 29, 2008 8:59 am

Re: Repeating Program Errors
-----------------------------------


Almost. That's the "your text will be typed here" cursor setting, not the mouse pointer. Which is what I assumed the OP was asking about.


yay i mean the mouse pointer


I though there was a nocursor function built into turing, where you add in the View.Set?

Also, TallGuy, make a variable as level and have each map set at a different number.




var level : int := 0

if level = 0 then
     %Map
end if



how would that work for my code?
Srry i didn't zip my pics with it, but i'm working on a 98, so i can't compress folders  :(

-----------------------------------
Tallguy
Wed Apr 30, 2008 8:13 am

RE:Repeating Program Errors
-----------------------------------
i'v tried using Mouse.Hide, but it wont work...any ideas
