Hi all,
just made my first steps into dbpro yesterday and I encountered a Problem with the Create Animated Sprite command.
I used a Bitmap with a size of 160x32 pixel, containing 5 frames in one row (so all are 32x32).
I created the sprite with
Create Animated Sprite 1, "pm.bmp", 5, 1, 1
which should mean 5 frames across, 1 down.
right so far?
ok, when i played it in a loop with Play Sprite 1, 1, 5, 40 i should simply rotate through these 5 frames.
BUG. only the FIRST run through of the five frame runs correctly, the next time the code passes frame 1 it is just displayed as a small bar (a cut off of the middle of the frame) causing extreme nasty flickering in the animation.
Are there any known bugs with the create animated sprite? Or did I miss something?
the full code i used in the code section here and
this bitmap i used.
while hoping for an answer i will crawl through some of the tutorials, maybe there's a solution for my problem there but if you have the clou at hand what causes my problem i would be very happy to hear it from you!
thanks in advance,
mike