I want to put an image on the title screen (the one with the menu on it when you first launch the game), but I'm not sure how to do it with python. Does anyone know the code for it? D: Sorry if it's a dumb question.
Can I also ask how the do the code for the menu, buttons, and text boxes? (or if you can direct me to the tutorial for that? I don't know why I'm having trouble finding it) Many thanks ><
how to script title screen image?
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.
Re: how to script title screen image?
It's not hard to set the main menu background image. Just find next lines in "options.rpy"and change the last line to
Be shure, that file "my_image_filename.png" is in "game" folder and named exactly the same as you'll type it (I mean "My_file.png" is not the same as "my_File.png", also check the file extension "my_file.png" is not the same as "my_file.jpg").
About other stuff you can read http://www.renpy.org/wiki/renpy/doc/ref ... nce_Manual, and http://www.renpy.org/wiki/renpy/FAQ, and http://www.renpy.org/wiki/renpy/doc/tutorials/Tutorials.
It would be better if you'll post more specific questions about menus, buttons, etc. - I belive, someone will answer them.
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 = "#D0B4BA",
Code: Select all
mm_root = "my_image_filename.png",
About other stuff you can read http://www.renpy.org/wiki/renpy/doc/ref ... nce_Manual, and http://www.renpy.org/wiki/renpy/FAQ, and http://www.renpy.org/wiki/renpy/doc/tutorials/Tutorials.
It would be better if you'll post more specific questions about menus, buttons, etc. - I belive, someone will answer them.
Re: how to script title screen image?
A really excellent tutorial on how to completely customize your main, options and save/load screens is this one:
http://lemmasoft.renai.us/forums/viewto ... =51&t=9812
If you haven't coded before, it's a little overwhelming to look at. I have minimal experience, and about 99% of my code right now has been trial and error (and all I'm working on is the main screen ).
http://lemmasoft.renai.us/forums/viewto ... =51&t=9812
If you haven't coded before, it's a little overwhelming to look at. I have minimal experience, and about 99% of my code right now has been trial and error (and all I'm working on is the main screen ).
- firecat
- Miko-Class Veteran
- Posts: 540
- Joined: Sat Oct 25, 2014 6:20 pm
- Completed: The Unknowns Saga series
- Projects: The Unknown Saga series
- Tumblr: bigattck
- Deviantart: bigattck
- Skype: bigattck firecat
- Soundcloud: bigattck-firecat
- Contact:
Re: how to script title screen image?
however, now there is a better way to find the hotspot.
http://lemmasoft.renai.us/forums/viewto ... py+hotspot
http://lemmasoft.renai.us/forums/viewto ... py+hotspot
- trooper6
- Lemma-Class Veteran
- Posts: 3712
- Joined: Sat Jul 09, 2011 10:33 pm
- Projects: A Close Shave
- Location: Medford, MA
- Contact:
Re: how to script title screen image?
Soliloquy, don't follow the wiki, it is outdated. Stick with the new documentation.
Also, go to the cookbook thread and look up more current tutorials, such as:
http://lemmasoft.renai.us/forums/viewto ... f=8&t=9812
http://lemmasoft.renai.us/forums/viewto ... 51&t=14237
http://lemmasoft.renai.us/forums/viewto ... 51&t=24454
http://lemmasoft.renai.us/forums/viewto ... 51&t=20720
Also, go to the cookbook thread and look up more current tutorials, such as:
http://lemmasoft.renai.us/forums/viewto ... f=8&t=9812
http://lemmasoft.renai.us/forums/viewto ... 51&t=14237
http://lemmasoft.renai.us/forums/viewto ... 51&t=24454
http://lemmasoft.renai.us/forums/viewto ... 51&t=20720
A Close Shave:
*Last Thing Done (Aug 17): Finished coding emotions and camera for 4/10 main labels.
*Currently Doing: Coding of emotions and camera for the labels--On 5/10
*First Next thing to do: Code in all CG and special animation stuff
*Next Next thing to do: Set up film animation
*Other Thing to Do: Do SFX and Score (maybe think about eye blinks?) Check out My Clock Cookbook Recipe: http://lemmasoft.renai.us/forums/viewto ... 51&t=21978
*Last Thing Done (Aug 17): Finished coding emotions and camera for 4/10 main labels.
*Currently Doing: Coding of emotions and camera for the labels--On 5/10
*First Next thing to do: Code in all CG and special animation stuff
*Next Next thing to do: Set up film animation
*Other Thing to Do: Do SFX and Score (maybe think about eye blinks?) Check out My Clock Cookbook Recipe: http://lemmasoft.renai.us/forums/viewto ... 51&t=21978
Re: how to script title screen image?
Thanks, trooper and firecat. I'll have to take a gander at those in the morning. ^^
Who is online
Users browsing this forum: Bing [Bot], Majestic-12 [Bot]