trajecto--Do you know how to do a Wipe?

Non-platform specific questions.

trajecto--Do you know how to do a Wipe?

Postby Just4Fun » Sun Aug 08, 2004 4:15 pm

trajecto,
You have so much coding knowledge! Do you know how to make Wipes and Fades in code. I would love to see some source code for those. I've looked for C code that does that, but I can't seem to find it--or make it work in GE.
TIA and thank you for the gradient and the other tutorials. I am hoping to audit a C programming class this fall... Rachel
I've learned that I still have a lot to learn.

** Makslane == Genious **
Just4Fun
 
Posts: 524
Joined: Tue Jul 01, 2003 5:19 am
Location: USA: Washington State; West Coast
Score: 6 Give a positive score

Postby trajecto » Thu Aug 12, 2004 2:18 am

Hi Rachel,
Thank you! I really am not an expert!

For a fade I believe you can edit or "cycle" the transparency of an actor with the ChangeTransparency() command. I would set up a loop where the transparency value is read in each time in decrements - sort of like our color values for our gradient code.

I'm not sure how I would do a wipe! A "hard" wipe would be easy, by moving an image across the screen by cycling/incrementing it's x or y position values. A "soft" wipe though would be more difficult. You could possibly use the transparency values of an image to advantage (to get it to look blended).
User avatar
trajecto
 
Posts: 86
Joined: Fri Jan 16, 2004 3:12 pm
Location: Michigan, US
Score: 6 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest