Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Set animation to image bug ?

Author
Message
Mamute
21
Years of Service
User Offline
Joined: 16th Oct 2002
Location:
Posted: 10th Nov 2002 23:25
Anyone noticed that using SET ANIMATION TO IMAGE and then using a sprite with that image, if the original animation as black parts and even if the sprite transparency is on, the sprite still shows the black parts ?

Anyone achieved a way to go around this using the sprites ?

`Should be an animation with black color in it in order to see the "effect"
load animation "animation.avi",1
play animation to image 1,1,0,0,320,200
sprite 1,0,0,1
set sprite 1,0,1

Cheers.
Lee Bamber
21
Years of Service
User Offline
Joined: 12th Sep 2002
Location:
Posted: 15th Nov 2002 04:29
Alas direct animation to image does not take alpha into account. You must load or grab the images, or for sprite use you can use the new CREATE ANIMATED SPRITE command which does handle alpha channels.

Login to post a reply

Server time is: 2024-04-25 04:58:17
Your offset time is: 2024-04-25 04:58:17