Hey Everyone,
I have a problem that i've been trying to solve on my own for weeks. I want to make an odometer to act as a hi score counter on my HUD so i've created an image strip with the numbers 0 - 9.
Now I have no problem writing code that steps through the numbers vertically on the image strip; the problem I face is masking or occluding the strip so it only shows one digit at a time (exactly like the odometer in a car).
I've toyed with the idea of making a new camera and making its viewport the size of the odometer area but the problem there is that I want the background to be transparent and I want to be able to have elements from the primary camera viewport to pass in front of the odometer if necessary.
I have been using a combination of Sprite Candy and FastImage. Any help would be great :-)
I have a problem that i've been trying to solve on my own for weeks. I want to make an odometer to act as a hi score counter on my HUD so i've created an image strip with the numbers 0 - 9.
Now I have no problem writing code that steps through the numbers vertically on the image strip; the problem I face is masking or occluding the strip so it only shows one digit at a time (exactly like the odometer in a car).
I've toyed with the idea of making a new camera and making its viewport the size of the odometer area but the problem there is that I want the background to be transparent and I want to be able to have elements from the primary camera viewport to pass in front of the odometer if necessary.
I have been using a combination of Sprite Candy and FastImage. Any help would be great :-)
