I really need help asap, because I'll be making a game to be used as a presentation for a project in school... and I keep having this error
I'm sorry, but errors were detected in your script. Please correct the
errors listed below, and try again.
On line 32 of C:\Documents and Settings\Jaja\My Documents\GAME MAKER\BLACK HAWK CASE/game/script.rpy: expected statement.
style.mm_root_window.background = Image("BLACK HAWKmmw.jpg")
^
Ren'Py Version: Ren'Py 6.12.0e
how can I fix this? I just want to put an image in the game menu window
HELP IS VERY MUCH APPRECIATED THANKS
PUTTING AN IMAGE BACKGROUND AS A MAIN MENU WINDOW(pls help!)
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.
- jory014
- Regular
- Posts: 80
- Joined: Fri Mar 18, 2011 6:13 am
- Projects: Confidant From Darkness (VN), Stand By Me (NaNoRenO 2013)
- Organization: CHILL Brigade
- Location: Manila, Philippines
- Contact:
PUTTING AN IMAGE BACKGROUND AS A MAIN MENU WINDOW(pls help!)
"We're Cute and Cool, while Chilling- CHILL Brigade-"
W.I.P:
-A Confidant From Darkness
http://lemmasoft.renai.us/forums/viewto ... t=11427url
-~Stand By Me~
http://lemmasoft.renai.us/forums/viewto ... 50&t=19784
Team Site:
-CHILL Brigade]
http://chillbrigade14.wix.com/chill-brigade
W.I.P:
-A Confidant From Darkness
http://lemmasoft.renai.us/forums/viewto ... t=11427url
-~Stand By Me~
http://lemmasoft.renai.us/forums/viewto ... 50&t=19784
Team Site:
-CHILL Brigade]
http://chillbrigade14.wix.com/chill-brigade
Re: PUTTING AN IMAGE BACKGROUND AS A MAIN MENU WINDOW(pls he
My guess would be that you are missing $ on the beginning of the line:
Better way to change the background would be probably just to change the mm_root="#..." line in options.rpy file.
Code: Select all
$ style.mm_root_window.background = Image("BLACK HAWKmmw.jpg")
- Aleema
- Lemma-Class Veteran
- Posts: 2677
- Joined: Fri May 23, 2008 2:11 pm
- Organization: happyB
- Tumblr: happybackwards
- Contact:
Re: PUTTING AN IMAGE BACKGROUND AS A MAIN MENU WINDOW(pls he
Find this code in your options.rpy:
Replace with:
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 = "#dcebff",
Code: Select all
mm_root = "BLACK HAWKmmw.jpg",
- jory014
- Regular
- Posts: 80
- Joined: Fri Mar 18, 2011 6:13 am
- Projects: Confidant From Darkness (VN), Stand By Me (NaNoRenO 2013)
- Organization: CHILL Brigade
- Location: Manila, Philippines
- Contact:
Re: PUTTING AN IMAGE BACKGROUND AS A MAIN MENU WINDOW(pls he
Thanks for the help! I could have replied sooner for my thanks though! Twas doing it a rush back then...(lol I used a game to present as my project lols)
"We're Cute and Cool, while Chilling- CHILL Brigade-"
W.I.P:
-A Confidant From Darkness
http://lemmasoft.renai.us/forums/viewto ... t=11427url
-~Stand By Me~
http://lemmasoft.renai.us/forums/viewto ... 50&t=19784
Team Site:
-CHILL Brigade]
http://chillbrigade14.wix.com/chill-brigade
W.I.P:
-A Confidant From Darkness
http://lemmasoft.renai.us/forums/viewto ... t=11427url
-~Stand By Me~
http://lemmasoft.renai.us/forums/viewto ... 50&t=19784
Team Site:
-CHILL Brigade]
http://chillbrigade14.wix.com/chill-brigade
Who is online
Users browsing this forum: piinkpuddiin