Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Repeating Program Errors
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Tallguy




PostPosted: 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

Any help will be helpful
Wink



ALL PUT TIGETHER number two.T
 Description:

Download
 Filename:  ALL PUT TIGETHER number two.T
 Filesize:  8.06 KB
 Downloaded:  77 Time(s)

Sponsor
Sponsor
Sponsor
sponsor
Tony




PostPosted: 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.
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
petree08




PostPosted: 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




PostPosted: 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 = 0 then
     %Map
end if
Tony




PostPosted: 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.
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
Sean




PostPosted: Mon Apr 28, 2008 3:32 pm   Post subject: Re: Repeating Program Errors

Ah, been awhile since I used that function, can't remember why though.
Tallguy




PostPosted: Tue Apr 29, 2008 8:59 am   Post subject: Re: Repeating Program Errors

Tony wrote:


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

Sean wrote:

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 = 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 Sad
Tallguy




PostPosted: Wed Apr 30, 2008 8:13 am   Post subject: RE:Repeating Program Errors

i'v tried using Mouse.Hide, but it wont work...any ideas
Sponsor
Sponsor
Sponsor
sponsor
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 8 Posts ]
Jump to:   


Style:  
Search: