So i try to search on this forum and find lots of topic but no one help so please tell me how supid I´m and how i fix this problem.
I add mainmenu picture:
## 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 = "menu.jpg",
## The background of the game 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.
gm_root = "#dcebff",
and game run ok.
But when i want to change gm menu:
## 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 = "menu.jpg",
## The background of the game 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.
gm_root = "menu2.jpg",
that error appears:
I'm sorry, but an uncaught exception occurred.
While processing the background property of style gm_root:
File "renpy/common/00start.rpy", line 70, in _init_language
renpy.change_language(language)
Exception: Color string must be 3, 4, 6, or 8 hex digits long.
so what should i change to make it work?
THANKS
Mainmenu bug
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.
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.
- SuperbowserX
- Veteran
- Posts: 270
- Joined: Sat Jan 07, 2017 3:09 pm
- Contact:
Re: Mainmenu bug
Were you using an outdated tutorial? You don't need to change anything in the script, just change certain files as instructed here:
https://www.renpy.org/doc/html/gui.html ... und-images
Undo the changes to the file.
By the way, on this form, when you copy paste code, enclose it in a code tag. Before that copy-paste code starts, open it with the word code surrounded by square brackets, and then close it with the phrase "/code" enclosed in square brackets (without the quotes).
https://www.renpy.org/doc/html/gui.html ... und-images
Undo the changes to the file.
By the way, on this form, when you copy paste code, enclose it in a code tag. Before that copy-paste code starts, open it with the word code surrounded by square brackets, and then close it with the phrase "/code" enclosed in square brackets (without the quotes).
Re: Mainmenu bug
I hate to tell this but unfortunatelly that didn´t work... any other ideas?
Re: Mainmenu bug
Are you sure you didn't make any additional modification elsewhere?
Perhaps you can attach your files here so that other can check the errors for you.
Perhaps you can attach your files here so that other can check the errors for you.
My avatar is courtesy of Mellanthe
Who is online
Users browsing this forum: Bing [Bot]