Posted: Mon Apr 28, 2008 11:37 am Post subject: 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
Posted: Mon Apr 28, 2008 12:14 pm Post subject: Re: Repeating Program Errors
Tallguy @ Mon Apr 28, 2008 11:37 am wrote:
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.
Posted: Mon Apr 28, 2008 12:34 pm Post subject: Re: Repeating Program Errors
Tony @ Mon Apr 28, 2008 12:14 pm wrote:
Tallguy @ Mon Apr 28, 2008 11:37 am wrote:
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
Posted: Mon Apr 28, 2008 2:12 pm Post subject: 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.
Turing:
var level :int:=0
if level =0then %Map endif
Tony
Posted: Mon Apr 28, 2008 3:06 pm Post subject: Re: Repeating Program Errors
Sean @ Mon Apr 28, 2008 2:12 pm wrote:
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.