Hello,
1) I have a little unsolved mystery with sprites.
So far I've been working on sprites and can get them to animate and be interactive with no problems.
How ever I was wondering if there was a way
(function) to make a
hit counter that prints how many times the sprite has been hit ?
Basically something that stores how many times the sprite has been hit, displays it on the screen and can even be reset.
I know programmatically, this is something that shouldn't be overly complex.
It's just that I can't seem to find a way to go about it.
2) I also found something which I think is weird.
I have a timer on the screen that starts at 0 when I compile and run it on Windows.
However, when I broadcast it over WiFi, it doesn't seem to start at zero on my android phone (starts at 8 sometimes). I took the code from one of the examples bundled with AppGameKit v2.
The code for the timer:
// store the current time
initialTime = GetSeconds ( )
if ( GetSeconds ( ) > initialTime + 5 )
(do something)
endif
Is this a bug ?
Your help will be much appreciated.
Thanks
isgltd (2014)