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 |
|
![](http://compsci.ca/v3/pafiledb/images/icons/clip.gif) Download |
Filename: |
prototype4.zip |
Filesize: |
365.79 KB |
Downloaded: |
124 Time(s) |
|
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
Bacchus
![](http://img104.exs.cx/img104/9206/ravenmoon12ns.jpg)
|
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
|
|
|
|
|
![](images/spacer.gif) |
cycro1234
![](http://www.inetresults.com/gifs/images/Mad_hack.gif)
|
Posted: Tue Jan 18, 2005 11:37 pm Post subject: (No subject) |
|
|
That's rite. Set your score variable as a global variable.
|
|
|
|
|
![](images/spacer.gif) |
|
|