Just play with the slider (or the up/down arrow keys). The click counter is draggable, click it to increase the value. The point of this is that I’m trying to make a self contained, modular rolling counter system. This means I don't want to have to fiddle with masks around the counter to hide the numbers as they scroll past, and that I want to be able to just copy the counter to count for any number of digits (maybe even decimal places if I get round to it). The downside of this is that it may not look great, and the animation will be a lot choppier than if I had used multiple sprites per digit to scroll the numbers smoothly, but I think the system will have its benefits :)
Feel free to use it in your projects. Credit would always be appreciated. (This did take me a while). --My Goal: Basically my goal is to make a bunch of useful stuff that you can keep in your backpack and just drag into any project and it will work. This is one of the simpler ideas in that series, more complex ones will hopefully follow. I am working on a 3D engine, a physics engine, and a scrolling camera engine that will also be able to be added to any project with no modification, just tell it parameters and it'll do the rest :) -- Update: I have now added one frame between each number, so you can actually see some sort of scrolling animation. I have also made a macro script with AHK which allows me to automatically generate the frames (I don't need to manually place the numbers and such) so it is a lot easier now for me to make the frames. Because of this, I plan to make another version very soon with 3 frames between each number (e.g. 1, 1.25, 1.5, 1.75, 3) which would make the scrolling even smoother. There are a few things I need to do before I can do this though. -- Update: Ok, 2 hours later. After some fiddling with the macro script, I generated 40 frames, meaning there are 3 frames now between each number. I probably won't do any more than this as this looks smooth (unless I find a reason to). -- Update: Now includes a clock as a demonstration of use. It also includes a colon and a decimal point as well as a blank window. -- Update: Added the click counter. Might try and make it re-scalable in the future, but probably won't bother.