Quote: "
1 is the sprite id not the image id?
SetImageTransparentColor( iImage, r, g, b )
make a LoadMyImage Funtion that loads and make transparent in one
and return the image id.
"
I am not sure on that one and could show me small code example please
The images I used for Beast animations
I am using MS Paint and I dont know if that is good or not
Quote: "
Are your initial sprites using black for the background? Perhaps you should put the SetImageTransparentColor( 1, 0, 0, 0 ) line before you load in the animation frames?
"
I have try that but I still the errors like this
CreateSprite ( 1, 0 )
SetImageTransparentColor( 1, 0, 0, 0 )
// add individual images into an animation list
AddSpriteAnimationFrame ( 1, LoadImage ( "Beast1.png" ) )
AddSpriteAnimationFrame ( 1, LoadImage ( "Beast2.png" ) )
AddSpriteAnimationFrame ( 1, LoadImage ( "Beast3.png" ) )
AddSpriteAnimationFrame ( 1, LoadImage ( "Beast4.png" ) )
AddSpriteAnimationFrame ( 1, LoadImage ( "Beast5.png" ) )
SetSpritePosition ( 1, 130, 330 )
setspritesize(1,100,100)
// play the sprite at 10 fps, looping, going from frame 1 to 5
PlaySprite ( 1, 10, 1, 1, 5 )
Quote: "
Also, if you are using black, try using a transparency instead. You can simply load your images into a paint package and select the black border with the magic wand tool. Delete it. Normally that will make it transparent. Just make sure it is a raster layer. If you image has a alpha transparency, it should automatically work without the need to set image transparency at all.
"
Which paint program would do that?