In attempting to create rain for an early scene, it seems I cannot get the particle to show up on the screen. The engine does not show any errors when the game is put into motion.
http://puu.sh/9uiP7/f0ef3d8662.png
This is the code I grabbed from the wiki, as it's not a function I'm experienced with.
http://puu.sh/9uiVk/6ca76e6d1d.png
And this is what's being used to call the sprites into motion, preceding code included. Black is calling a fully black screen, and White follows a similar logic. (The intent is to create a thunder-like visual effect with those.)
The game proceeds fine, except the particles that have been called do not show up at all. This has been tested with three different images - The original preliminary rain sprite, a garbled mess of white, and the image used for the main menu. Neither of the three show up on-screen.
Can anybody assist me?
Particles not showing using SnowBlossom
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.
-
- Eileen-Class Veteran
- Posts: 1258
- Joined: Fri Sep 21, 2007 7:13 am
- Projects: a battle engine
- Contact:
Re: Particles not showing using SnowBlossom
Code: Select all
show rain
scene black
with Dissolve (8)
EDIT: Some explanation as to what 'scene' does might be in order: basically, it's the same as 'show' except it first hides everything else that's on the screen*. That's all it is. It's not a 'change the background' command or anything like that. What you probably want is something like:
Code: Select all
scene black
show rain
with Dissolve (8)
*well, technically first hides everything else that's on the LAYER, but anyway =P
Re: Particles not showing using SnowBlossom
Thanks, that seems to have worked. Still trying to get a good feel for it, but for now it works fine.Asceai wrote:There is nothing between 'show rain' and 'scene black', so the rain is never visible, because you immediately remove it with 'scene black'.Code: Select all
show rain scene black with Dissolve (8)
EDIT: Some explanation as to what 'scene' does might be in order: basically, it's the same as 'show' except it first hides everything else that's on the screen*. That's all it is. It's not a 'change the background' command or anything like that. What you probably want is something like:This will cause the rain and black background to fade in simultaneously.Code: Select all
scene black show rain with Dissolve (8)
*well, technically first hides everything else that's on the LAYER, but anyway =P
Who is online
Users browsing this forum: No registered users