Showing an image in the main menu (SOLVED)

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
aki
Newbie
Posts: 15
Joined: Thu Sep 01, 2011 6:47 pm
Contact:

Showing an image in the main menu (SOLVED)

#1 Post by aki » Sat Sep 03, 2011 10:00 pm

Hi again.
As you can see, I'm really new here.
My question is:
I want to use an image in the main menu, when the game is launched. Where do I have to write the code, and what do I have to write? It is before I press the button start.
Thanks in advance :)
Last edited by aki on Sun Sep 04, 2011 6:59 am, edited 1 time in total.

User avatar
TakeOverWorld
Regular
Posts: 112
Joined: Fri May 27, 2011 11:00 am
Location: London, UK
Contact:

Re: Showing an image in the main menu

#2 Post by TakeOverWorld » Sun Sep 04, 2011 6:54 am

If you go to the options.rpy file, find this bit of code:

Code: Select all

        ## The background of the main menu. This can be a color
        ## beginning with '#', or an image filename. The latter
        ## should take up the full height and width of the screen.
        mm_root = "#695640",


It should be around line 71. Change the numbers after mm_root to whatever your file name is.

aki
Newbie
Posts: 15
Joined: Thu Sep 01, 2011 6:47 pm
Contact:

Re: Showing an image in the main menu

#3 Post by aki » Sun Sep 04, 2011 6:59 am

Ah, ok.
Thanks for your help :)

Post Reply

Who is online

Users browsing this forum: Bing [Bot], _ticlock_