Computer Science Canada

A matter of life or death...

Author:  kaida [ 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

Author:  Bacchus [ Tue Jan 18, 2005 9:19 pm ]
Post 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

Author:  cycro1234 [ Tue Jan 18, 2005 11:37 pm ]
Post subject: 

That's rite. Set your score variable as a global variable.


: