|
Put the image stepping code (no time regulation) in a timer element and set the interval of the element to 1000.
ex. code inside timer, image(i)= string array with content of location of each frame:
For I = 1 to 10 'ten frames
Picture1.picture=image(i)
Next I
From then on with the with the interval set to 1000 (interval is the delay in milliseconds), 10 pictures will be loaded, one every second.
I've used a timer element to control the ball in a Break Out clone I was working on in eVB. It is annoying that eVB isn't as fully featured as desktop VB, it doesn't support elements as arrays, which means I need huge if then lists, instead of single if then inside a for next to figure out if a brick has been hit. :(
__________________
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|