A matter of life or death...
Author |
Message |
kaida
|
Posted: 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
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: |
147 Time(s) |
|
|
|
|
|
 |
Sponsor Sponsor

|
|
 |
Bacchus

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

|
Posted: Tue Jan 18, 2005 11:37 pm Post subject: (No subject) |
|
|
That's rite. Set your score variable as a global variable.
|
|
|
|
|
 |
|
|