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.
Mooneon
Regular
Posts: 78 Joined: Sat Jul 04, 2015 4:05 pm
Contact:
#1
Post
by Mooneon » Thu May 19, 2016 12:56 am
Where do I put this code for my side image which is covering the text of my game?:
Is it on screens.rpy, options.rpy or script.rpy? and also where exactly in it?
PetPeeve
Regular
Posts: 70 Joined: Tue Nov 06, 2012 10:40 am
Tumblr: agamemakingblogforcoolkids
Contact:
#2
Post
by PetPeeve » Thu May 19, 2016 1:47 am
It doesn't matter where you put it. Although, I write it
My coding knowledge verges on vague, but it might make a difference.
I tend to put it in options, just because that's where other coding of that ilk lives.
Mooneon
Regular
Posts: 78 Joined: Sat Jul 04, 2015 4:05 pm
Contact:
#3
Post
by Mooneon » Thu May 19, 2016 2:31 am
Okay.. But what about the side image?
Code: Select all
define v = Character("Valeriane", image="val")
How do I input it?
PetPeeve
Regular
Posts: 70 Joined: Tue Nov 06, 2012 10:40 am
Tumblr: agamemakingblogforcoolkids
Contact:
#4
Post
by PetPeeve » Thu May 19, 2016 5:23 am
By input it, do you mean how do you tell it what 'val' is?
If so you need to define your side images like so
This should be in the script file before the start of your story.
You can read more about side images here:
https://www.renpy.org/doc/html/side_image.html
Users browsing this forum: Google [Bot]