I'm new and just wanted to Ask a question?

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
Izsak
Newbie
Posts: 2
Joined: Thu Jul 23, 2015 8:43 am
Tumblr: jtothemackenzie
Contact:

I'm new and just wanted to Ask a question?

#1 Post by Izsak »

Hey there, I'm still very new to Ren'py and I hope this is in the right place. So i'm just copying the script from "The Question" so I can get a feel for the language and I was jsut wondering if someone could please explain what:

# The game starts here.
label start:
$ bl_game = False

what does $ bl_game = False do?

Thanks :D

SundownKid
Lemma-Class Veteran
Posts: 2299
Joined: Mon Feb 06, 2012 9:50 pm
Completed: Icebound, Selenon Rising Ep. 1-2
Projects: Selenon Rising Ep. 3-4
Organization: Fastermind Games
Deviantart: sundownkid
Location: NYC
Contact:

Re: I'm new and just wanted to Ask a question?

#2 Post by SundownKid »

That just defines a variable for later. When you choose a certain choice the variable changes to true to record that choice.

User avatar
mobychan
Veteran
Posts: 275
Joined: Fri Apr 24, 2015 6:31 am
Projects: The Chosen - Sakura Pink & Gentian Blue
Organization: Foresoft
Location: Germany
Contact:

Re: I'm new and just wanted to Ask a question?

#3 Post by mobychan »

It's just a variable with the value "False"
later on in the game there's a question about the game they'll make being a bl(Boys Love) game, it'll be set to "True" there, so the ending can have an additional line^^

Izsak
Newbie
Posts: 2
Joined: Thu Jul 23, 2015 8:43 am
Tumblr: jtothemackenzie
Contact:

Re: I'm new and just wanted to Ask a question?

#4 Post by Izsak »

ah kay, thanks people :)

User avatar
Ultra_HR
Regular
Posts: 39
Joined: Tue Dec 02, 2014 4:50 pm
Completed: Surkea, Arcadia, Cerulean
Projects: Missing Stars
Organization: Somnova Studios
IRC Nick: Ultra_HR
Contact:

Re: I'm new and just wanted to Ask a question?

#5 Post by Ultra_HR »

Izsak wrote:ah kay, thanks people :)
Just for future reference - an easy way to find out what variables do if you aren't sure is to just ctrl+F and search for the variable name. It'll crop up in the script wherever it's used!
I'm the writing lead for Somnova Studios and the Annaliese route writer for Missing Stars. You can play Act 1 now. I also co-wrote Arcadia and did programming for Cerulean.

Post Reply

Who is online

Users browsing this forum: Bing [Bot], Majestic-12 [Bot], MisterPinetree