how to set a main menu image

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
yesokaywhatever
Newbie
Posts: 1
Joined: Mon Apr 15, 2019 5:52 am
Contact:

how to set a main menu image

#1 Post by yesokaywhatever »

its called main_menu.jpg and i put it in images and its in the gui and all of that but it keeps coming up with
"while loading <'image' u'gui/main_menu.png>:
couldnt find 'gui/main_menu.png'. "

there's no mm_root anywhere which is what a bunch of people online said so what am i supposed to do? i tried replacing the default main_menu in gui and that does absolutely nothing so can someone help pls...
sorry if this makes no sense, there's just absolutely nothing online so ive decided to come here. no idea how to format on here, but yep.

User avatar
Johan
Regular
Posts: 76
Joined: Mon Jan 14, 2019 5:58 pm
Organization: DMEOW
itch: dmeow
Location: Perú
Discord: Johan#7444
Contact:

Re: how to set a main menu image

#2 Post by Johan »

That's because your main_menu.jpg it's not in the "gui" folder. It's on the "images" folder. You have to put it like this: gui/images/main_menu.jpg, or just images/main_menu.jpg
dmeow !
Check my silly blog!

◤ And I saw the stars ★ falling down... ◢
Check the game!! IT'S OUT!!!
.

User avatar
Imperf3kt
Lemma-Class Veteran
Posts: 3792
Joined: Mon Dec 14, 2015 5:05 am
itch: Imperf3kt
Location: Your monitor
Contact:

Re: how to set a main menu image

#3 Post by Imperf3kt »

I think the real issue is the file extension.
You say your file is main_menu.jpg, but renpy is looking for main_menu.png
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.

Current project: GGD Mentor

Twitter

Post Reply

Who is online

Users browsing this forum: bloodzy