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

Username:   Password: 
 RegisterRegister   
 Best Score
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
upthescale




PostPosted: Wed May 10, 2006 6:10 pm   Post subject: Best Score

I am making a new helicopter game...almost dont just finishing up the 'Best Score' which is why i need help...now if i think about this i can do it but i need a little help....i have a score varialbe and as the helicopter is moving dodging the blocks and what not, my score is going up, now i want a best score, do i need to make two variavles

score:int
bestscore:int


or can i use the same variable i am already using...which is score?

thanks
Sponsor
Sponsor
Sponsor
sponsor
upthescale




PostPosted: Wed May 10, 2006 6:13 pm   Post subject: (No subject)

sorry won't let me edit, i qwas also wondering... i no i ahve to compile turing and make it an exe if i wanna send it to my frends...but my frend wants to put my game on his sight.....how can isend him the exe? over msn it says it isn't safe!
do_pete




PostPosted: Wed May 10, 2006 6:20 pm   Post subject: (No subject)

Just go:
code:
if score > bestscore then
     bestscore := score
end if
and there is an extensive tutorial on making exes in [Turing Tutorials]
upthescale




PostPosted: Wed May 10, 2006 6:29 pm   Post subject: (No subject)

do-pete, u are my hero thanks bro
Cervantes




PostPosted: Wed May 10, 2006 6:33 pm   Post subject: (No subject)

upthescale wrote:
sorry won't let me edit, i qwas also wondering... i no i ahve to compile turing and make it an exe if i wanna send it to my frends...but my frend wants to put my game on his sight.....how can isend him the exe? over msn it says it isn't safe!


Email it? Put it on a flash drive? Put it on some of your own webspace? Archive it and send it over MSN? Manually change the file extension and send it over MSN? DCC?

In this day and age, the options to communicate and send data are almost uncountable.
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  [ 5 Posts ]
Jump to:   


Style:  
Search: