Two questions about several scripts and snow

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
Zearth
Newbie
Posts: 10
Joined: Sun Jun 21, 2009 3:43 pm
Contact:

Two questions about several scripts and snow

#1 Post by Zearth »

Hi everybody.
First, thanks for Renpy which is wonderful.
I'm french so my english can be a little bit laborious.

I have two questions (i didn't find answers searching on the forum)

1 : I wanna insert snow in my game but i have an error message which says :
"NameError: name 'Snow' is not defined"

In my script, i have it :

image snow = Snow(anim.Filmstrip("snow.png", (20, 20), (2, 1), .15), fast=True)

(i let the same numbers and the same size of the picture -40*20- because i'm not well)

I do'nt understand why and I ask you it for helping me.

My second question is about script.

One script for one game is a little bit small.
That's why I wanna create a script for each chapter i'll do (i'll have 8 chapters).
I wanna do like in the demo script but i didn't find how.
How can I create a link between different scripts in the order i chose ?

Thank you very much, i hope i don't ennoy you with my questions and i hope you'll understand me too.

User avatar
backansi
Veteran
Posts: 224
Joined: Sun May 31, 2009 7:15 am
Location: Korea, Republic of
Contact:

Re: Two questions about several scripts and snow

#2 Post by backansi »

1. I think that code isn't that you want to show :?
so you want to use snow effect, right?
then try this

http://www.renpy.org/wiki/renpy/doc/coo ... now_effect


2. you should use jump and call statement
http://www.renpy.org/wiki/renpy/doc/tut ... _and_Jumps

or if you want using buttons ui is used.
http://www.renpy.org/wiki/renpy/doc/ref ... _Functions

Guest

Re: Two questions about several scripts and snow

#3 Post by Guest »

Thanks a lot :)

Sorry, it's difficult for me to search for this because i don't know what key words i must use (its often different than french)

Thanks again ^^

Post Reply

Who is online

Users browsing this forum: Majestic-12 [Bot]