This is my first time ever posting in the Ren'py Questions section of this forum, so hopefully what I write will make sense and be clear.
I'm an amateur coder who has finished 5+ games in Ren'py, and I like to use very simple coding to get stuff done, I don't really need many bells and whistles to accomplish what I want, especially since most of my games are kinetic novels/limited choice games.
That said, I do focus quite a lot on visuals, which has me using SnowBlossom more and more as well as custom transforms.
On to the specifics of the problems I'm having!
Firstly, Snowblossom shows behind images when I want it to show on top of images. (But I don't want it to show in front of busts!)
Specifically it shows on top of images that are "clickable" like a house or door you can click to enter a new area to explore.
Here's the code I'm currently using for most of my SnowBlossom effects (this is located in my first script file):
Code: Select all
image snowing:
contains:
SnowBlossom(("snow1"), count=20, border=100, xspeed=(40, 50), yspeed=(70, 100), start=5, fast=False, horizontal=False)
contains:
SnowBlossom(("snow2"), count=15, border=100, xspeed=(40, 50), yspeed=(50, 70), start=7, fast=False, horizontal=False)
contains:
SnowBlossom(("flake1v1"), count=10, border=100, xspeed=(40, 50), yspeed=(100, 50), start=5, fast=False, horizontal=False)
contains:
SnowBlossom(("flake2v2"), count=10, border=100, xspeed=(40, 50), yspeed=(30, 50), start=7, fast=False, horizontal=False)
Code: Select all
screen ex_fennellib():
imagebutton auto "arrow down_%s" action Jump("extown1_1") focus_mask True activate_sound "sound/arrow.ogg" hover_sound "sound/hover.wav"
Ideally I'm hoping the solution to this is easy and won't require me to overhaul a bunch of code, but if I have to, I will!
Secondly; I've noticed a lot of performance issues with SnowBlossom in general. Is my code simply not optimized, or does having Layeredimage busts cause problems with this specifically? I've noticed the performance with SnowBlossom is especially bad when using transforms like "moveinleft" or "moveinright" where the effect will jerk and stop when this happens.
Any clarification you have on SnowBlossom and how I can make it work better would be much appreciated.
Please be patient with me, as coding tends to take me a while to understand, but I am willing to learn and implement new things and really appreciate anyone who responds to this thread. Thank you!