Camera shutter effect

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
User avatar
Godline
Veteran
Posts: 499
Joined: Fri Jun 27, 2014 12:26 am
Completed: numerous
Tumblr: godlinegames
Deviantart: godline-games
itch: godline
Contact:

Camera shutter effect

#1 Post by Godline »

Hey guys,
Haven't been on here in AGES but I've given myself a kick in the pants to revisit some works.

This may seem simple but how can I do an effect like taking a picture in game? (Obviously not taking a screenshot)

Thanks for any advice anyone has.

User avatar
Kia
Eileen-Class Veteran
Posts: 1040
Joined: Fri Aug 01, 2014 7:49 am
Deviantart: KiaAzad
Discord: Kia#6810
Contact:

Re: Camera shutter effect

#2 Post by Kia »

you can flash a screen with a timer that hides the screen after a short time

Code: Select all

screen camera_flash:
    add "#fff"
    timer .1 action Hide("camera_flash")
of course you can add some fading animation to make it look more like a camera flash

User avatar
Ocelot
Lemma-Class Veteran
Posts: 2400
Joined: Tue Aug 23, 2016 10:35 am
Github: MiiNiPaa
Discord: MiiNiPaa#4384
Contact:

Re: Camera shutter effect

#3 Post by Ocelot »

If you want camera flash: https://www.renpy.org/doc/html/transitions.html#Fade it actually has code for flash in examples.

If you want shutter effect, https://www.renpy.org/doc/html/transiti ... geDissolve with a custom image.
< < insert Rick Cook quote here > >

Post Reply

Who is online

Users browsing this forum: geoWaffle