[solved] an image under the main menu?

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
Kia
Eileen-Class Veteran
Posts: 1040
Joined: Fri Aug 01, 2014 7:49 am
Deviantart: KiaAzad
Discord: Kia#6810
Contact:

[solved] an image under the main menu?

#1 Post by Kia »

while designing a GUI I removed the background for the yes/no screen to use the game as backdrop, it works fine withing the game
screenshot0004.png
but clicking the close button in the main menu naturally have the empty (checkers pattern)
screenshot0005.png
there are few ways to fix it but all of them involve lots of changes in the code, I'm wondering if there is an easy way to place an image under the main menu or perhaps replace the checkers pattern?
I already tried:

Code: Select all

label splashscreen:
    show image"ui/mm/bg.jpg"
    return
even though it was a long shot.
Last edited by Kia on Wed Feb 24, 2016 1:15 am, edited 1 time in total.

User avatar
xela
Lemma-Class Veteran
Posts: 2481
Joined: Sun Sep 18, 2011 10:13 am
Contact:

Re: an image under the main menu?

#2 Post by xela »

There was loads of discussion on this, starting from adding an image to yes/no screen itself when in exit mode or using Quit() as an exit action in config variables to show the confirmation screen in normal VN mode... use the search engine...
Like what we're doing? Support us at:
Image

User avatar
KuroOneHalf
Regular
Posts: 129
Joined: Fri Apr 25, 2014 6:18 pm
Completed: Cuttlebone
Projects: Somewhere In The Shade
Deviantart: KuroOneHalf
itch: kuroonehalf
Contact:

Re: an image under the main menu?

#3 Post by KuroOneHalf »

Yeah, I think the easiest way would be to do:

Code: Select all

init python:
    config.quit_action = Quit()
And it'll work the same as in-game. (I think.)

User avatar
Kia
Eileen-Class Veteran
Posts: 1040
Joined: Fri Aug 01, 2014 7:49 am
Deviantart: KiaAzad
Discord: Kia#6810
Contact:

Re: [solved] an image under the main menu?

#4 Post by Kia »

thanks xela, Kuroonehalf.
I always have searching for things like this, can't find the right words to search and after scrolling trough all pages of result I have to give up and ask ^_^

Post Reply

Who is online

Users browsing this forum: No registered users