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

Username:   Password: 
 RegisterRegister   
 A matter of life or death...
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
kaida




PostPosted: Tue Jan 18, 2005 8:44 pm   Post subject: A matter of life or death...

I am currently making a game, but the thing is, when you get a point, i made the score bar thingy score:=score+1, but instead it increases by, like, 50 pixels. And I'm not sure why...

Look @ it and you will understand. It's a rather crappy game.

~kaida

PS. r****t is a n00b--please don't n00bify me too



prototype4.zip
 Description:
The score bar is hot pink and it seems to increase more than one pixel...oO

Download
 Filename:  prototype4.zip
 Filesize:  365.79 KB
 Downloaded:  117 Time(s)

Sponsor
Sponsor
Sponsor
sponsor
Bacchus




PostPosted: Tue Jan 18, 2005 9:19 pm   Post subject: (No subject)

#1 - Moving is really slow, might be better if the player could move faster

#2 - You can still click the button when your going through the menu, i encountered this before and used GUI.Hide (think thats right how its typed) worked quite well

#3 wasnt sure what u meant at first, but i found the bug in code
code:
        var moving, score : int := 0
this is declared inside of the loop and is set back to 0 each time the loop repeat, just move outside of loop
cycro1234




PostPosted: Tue Jan 18, 2005 11:37 pm   Post subject: (No subject)

That's rite. Set your score variable as a global variable.
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  [ 3 Posts ]
Jump to:   


Style:  
Search: