in the SDK there's an example on how to fade a window. Is it possible to fade only the background (an image) of the window, letting the window unchanged?
I'd be interested to learn more about this too. If you look at the source to Steven's presentation at the Programming Seminar before AmiWest he uses the WA_FadeTime:
WA_FadeTime,180000,
You can get the code here: AmiWest Lesson 4. The video should be coming in the next few weeks.
I don't think there is a ready-to-go function to fade images.
Here is an example how to do it manually:
http://thomas-rapp.homepage.t-online.de/examples/fade_os3.c for OS 3.x, CPU driven
http://thomas-rapp.homepage.t-online.de/examples/fade_os4.c for OS 4.1, using CompositeTags
in the SDK there's an example on how to fade a window. Is it possible to fade only the background (an image) of the window, letting the window unchanged?
Just in case: you also can go warp3d way to make a fade in/out of images in fast way (by changing alpha or color values). Through it will be not so friendly as not all the amigas have warp3d capable cards, but as one more solution ..
I'd be interested to learn more about this too. If you look at the source to Steven's presentation at the Programming Seminar before AmiWest he uses the WA_FadeTime:
You can get the code here: AmiWest Lesson 4. The video should be coming in the next few weeks.
Cheers,
Bill "tekmage" Borsari
I don't think there is a ready-to-go function to fade images.
Here is an example how to do it manually:
http://thomas-rapp.homepage.t-online.de/examples/fade_os3.c for OS 3.x, CPU driven
http://thomas-rapp.homepage.t-online.de/examples/fade_os4.c for OS 4.1, using CompositeTags
Thank you for the help.
@AmigaBlitter
Just in case: you also can go warp3d way to make a fade in/out of images in fast way (by changing alpha or color values). Through it will be not so friendly as not all the amigas have warp3d capable cards, but as one more solution ..
Thank you for the suggestion. I'm focusing on OS4 only at the moment, just to learn.