I want to create a separate menu that functions similarly to a typical game menu, e.g. having text customizable in the game's code, but when you hover over a choice, it changes the location of a pointer on the screen (e.g. to point at a map location).
Here is an example of what I'm talking about (click to enlarge):
This would change the pointer location when you roll over the button but before you click on it.
Also, is it possible to add a small thumbnail image inline with the menu text?
Menu/map screen combo?
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.
-
- Lemma-Class Veteran
- Posts: 2299
- Joined: Mon Feb 06, 2012 9:50 pm
- Completed: Icebound, Selenon Rising Ep. 1-2
- Projects: Selenon Rising Ep. 3-4
- Organization: Fastermind Games
- Deviantart: sundownkid
- Location: NYC
- Contact:
-
- Veteran
- Posts: 356
- Joined: Tue Aug 12, 2008 12:02 pm
- Projects: Valentine Square (writer) Spiral Destiny (programmer)
- Location: The treacherous Brazilian Rainforest
- Contact:
Re: Menu/map screen combo?
You can specify an action to fire when the user hovers the cursor over a button to show your icon, and another action to hide the icon on unhover: http://www.renpy.org/doc/html/screens.html#button
Keep your script in your Dropbox folder.
It allows you to share files with your team, keeps backups of previous versions, and is ridiculously easy to use.
It allows you to share files with your team, keeps backups of previous versions, and is ridiculously easy to use.
-
- Lemma-Class Veteran
- Posts: 2299
- Joined: Mon Feb 06, 2012 9:50 pm
- Completed: Icebound, Selenon Rising Ep. 1-2
- Projects: Selenon Rising Ep. 3-4
- Organization: Fastermind Games
- Deviantart: sundownkid
- Location: NYC
- Contact:
Re: Menu/map screen combo?
EDIT: Never mind, I figured out that you can do it by calling a vbox screen with the choices. Thanks, and I'll test it out.
Who is online
Users browsing this forum: No registered users