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.
-
ohmyquaffle
- Newbie
- Posts: 1
- Joined: Sat Jul 23, 2016 4:30 pm
-
Contact:
#1
Post
by ohmyquaffle » Sat Jul 23, 2016 4:34 pm
Hello!
So recently I started coding (for the first time) a virtual novel, im trying to insert my image and I got it into the game but it does not take up the full screen, I don't know if this is just because the image is too small or if it is just a coding error.
Here is my code
image aaftm = "anime academy"
Thank you for your help!!!
-
chocoberrie
- Veteran
- Posts: 254
- Joined: Wed Jun 19, 2013 10:34 pm
- Projects: Marshmallow Days
-
Contact:
#2
Post
by chocoberrie » Sat Jul 23, 2016 5:30 pm
The first thing I see is, you're missing the file extension in the name! Is it a .jpg or a .png file?
If it's a .jpg file:
If it's a .png file:
If it's is a background image (I'm assuming it is), you show it in the game like this:
Background images use the
scene statement, whereas character sprites and other images use the
show statement. I hope this helps!

-
xavimat
- Eileen-Class Veteran
- Posts: 1458
- Joined: Sat Feb 25, 2012 8:45 pm
- Completed: Yeshua, Jesus Life, Cops&Robbers
- Projects: Fear&Love, unknown
- Organization: Pilgrim Creations
- Github: xavi-mat
- itch: pilgrimcreations
- Location: Spain
-
Contact:
#3
Post
by xavimat » Sun Jul 24, 2016 10:03 am
Check the size in pixels of your image and the size in pixels of your game (config.screen_width and config.screen_height, at the beginning of the options.rpy file)