Transition using an image and fade

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
Twilit
Regular
Posts: 53
Joined: Wed Aug 27, 2008 6:25 pm
Location: Around...
Contact:

Transition using an image and fade

#1 Post by Twilit »

I'm trying to use an image for a flash effect but it doesn't work

Code: Select all

$ flashC = Fade(.15, 1.0, .25, "Clash" )
A modern magic fantasy series: http://twilitdreams.wordpress.com/

Twilit
Regular
Posts: 53
Joined: Wed Aug 27, 2008 6:25 pm
Location: Around...
Contact:

Re: Transition using an image and fade

#2 Post by Twilit »

Also does anyone know how to use pan on a 800 x 600 picture
A modern magic fantasy series: http://twilitdreams.wordpress.com/

chronoluminaire
Eileen-Class Veteran
Posts: 1153
Joined: Mon Jul 07, 2003 4:57 pm
Completed: Elven Relations, Cloud Fairy, When I Rule The World
Tumblr: alextfish
Skype: alextfish
Location: Cambridge, UK
Contact:

Re: Transition using an image and fade

#3 Post by chronoluminaire »

What's your error message? What (precisely) are you trying to do? What code are you using? And what goes wrong?
(The sticky post On Asking Questions mentions that you need to provide these things. We can't really help you without them.)
I released 3 VNs, many moons ago: Elven Relations (IntRenAiMo 2007), When I Rule The World (NaNoRenO 2005), and Cloud Fairy (the Cute Light & Fluffy Project, 2009).
More recently I designed the board game Steam Works (published in 2015), available from a local gaming store near you!

Twilit
Regular
Posts: 53
Joined: Wed Aug 27, 2008 6:25 pm
Location: Around...
Contact:

Re: Transition using an image and fade

#4 Post by Twilit »

Well I tried to alter my flash effect to incorporate the image "Clash" as seen in code two post up

But it didn't work properly and crashed.
What I was trying to do was make it flash that image.

As for the pan....well it works but it just keeps going, I mean it takes that corner and keeps sending it off screen like....like when you lay out a deck of cards by smoothing them over with your hand.

For my next game I wanted to pan over a certain part of the image, like it starts at the bottom center of the 800x600 image where there's a sword stuck in the ground and it pans up to the top at the hilt....I wanted it to combine with zoom for more dazzling effects in battle
A modern magic fantasy series: http://twilitdreams.wordpress.com/

Post Reply

Who is online

Users browsing this forum: alyoshaslab