Okay, this should be easy but I haven't done much with renpy is like over a year. Sooo...I'm looking to recreate a spooky emergency lighting effect. Like how it goes black and then goes red where you can sort of see stuff and then goes black again.
I mean I could do a night filter like this:
image bg ruin_path_night = im.MatrixColor("img/bg/ruin_path.png",
im.matrix.tint(0.5,0.5,0.6)
* im.matrix.brightness(-0.2))
(from viewtopic.php?t=24580)
But what about a red overlay and putting it together for that really jarring effect of when a place goes in full lockdown mode and nothing is working?
Black and red overlay for flashing lights
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.
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.
Re: Black and red overlay for flashing lights
On a previous attempt I simply created a red picture.
Then created a transform
And used it as a normal image
That broadly worked for me.
Code: Select all
image redpic = Solid((255,0,0,125))
Code: Select all
transform alert:
alpha 1.0
linear 1.0 alpha 0.0
linear 1.0 alpha 0.8
repeat
Code: Select all
show redpic at alert
If you want to debate on a reply I gave to your posts, please QUOTE ME or i'll not be notified about. << now red so probably you'll see it.
10 ? "RENPY"
20 GOTO 10
RUN
10 ? "RENPY"
20 GOTO 10
RUN
- Godline
- Veteran
- Posts: 499
- Joined: Fri Jun 27, 2014 12:26 am
- Completed: numerous
- Tumblr: godlinegames
- Deviantart: godline-games
- itch: godline
- Contact:
Who is online
Users browsing this forum: Google [Bot]