Particles not showing using SnowBlossom

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
Zodai
Newbie
Posts: 15
Joined: Sat Feb 04, 2012 1:53 am
Contact:

Particles not showing using SnowBlossom

#1 Post by Zodai »

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?

Asceai
Eileen-Class Veteran
Posts: 1258
Joined: Fri Sep 21, 2007 7:13 am
Projects: a battle engine
Contact:

Re: Particles not showing using SnowBlossom

#2 Post by Asceai »

Code: Select all

show rain

scene black
with Dissolve (8)
There is nothing between 'show rain' and 'scene black', so the rain is never visible, because you immediately remove it with 'scene black'.

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)
This will cause the rain and black background to fade in simultaneously.

*well, technically first hides everything else that's on the LAYER, but anyway =P

User avatar
Zodai
Newbie
Posts: 15
Joined: Sat Feb 04, 2012 1:53 am
Contact:

Re: Particles not showing using SnowBlossom

#3 Post by Zodai »

Asceai wrote:

Code: Select all

show rain

scene black
with Dissolve (8)
There is nothing between 'show rain' and 'scene black', so the rain is never visible, because you immediately remove it with 'scene black'.

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)
This will cause the rain and black background to fade in simultaneously.

*well, technically first hides everything else that's on the LAYER, but anyway =P
Thanks, that seems to have worked. Still trying to get a good feel for it, but for now it works fine.

:P

Post Reply

Who is online

Users browsing this forum: No registered users