if I remember correctly, you lose control of the animation speed when using GIF (?). I've always avoided them in dbpro.
otherwise, if you have the matrix1utils
sync on : sync rate 0 : autocam off
create animated sprite 1,"dance.png",4,2,1
hide sprite 1
make object plane 1,sprite width(1), sprite height(1)
set object transparency 1,1
make image 2,sprite width(1),sprite height(1)
move camera -400.0
if last + 100 < timer()
frame = wrap((frame+1),1,8)
set sprite frame 1,frame
if image exist (2) then delete image 2
make image 2,sprite width(1), sprite height(1)
draw to image 2
paste sprite 1,0,0
draw to camera 0
last = timer()
texture object 1,2
move camera mousemovez()
set cursor 0,0
print screen fps()
print image width(2)
...will play your (oddly-sized original image) sprite to a plane.
meanwhile, not sure what you mean by:
Quote: "Now I have to get it to blend with the scenery."
...but, your do/loop code is quite odd where you're sync
ing twice and re-loading the same bitmap over and over?
it reflects that you have little dbpro coding experience and I suggest you review some of the piles of code
throughout this forum for proper usage examples. ie, you're going about it the wrong way which will lead to unnecessary frustration (trust me, I learned the hard way, too).
you may be content in being able to slap something together to quickly getting it on screen but the experience in doing it this way will not lend itself toward any less frustration in the future.
sorry for the rant - I'm trying to save you some heartache.