Lemma Soft Forums

Supporting creators of visual novels and story-based games since 2003.


Visit our new games list, blog aggregator, IRC, and wiki.
Activation problem? Email [email protected]
It is currently Sun May 19, 2013 1:20 am

All times are UTC - 5 hours [ DST ]


Forum rules


Ask questions about one topic per thread, and use a descriptive subject. "NotImplemented error in script.rpy" is a good subject, "Tom's problems" is not. Remember to include all of traceback.txt or error.txt when reporting a problem, as well as the relevant lines of script. Use the [code] tag to format scripts.



Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Menu/map screen combo?
PostPosted: Thu Mar 29, 2012 12:44 pm 
Miko-Class Veteran
User avatar

Joined: Mon Feb 06, 2012 9:50 pm
Posts: 713
Location: NYC
Projects: Icebound
Organization: Fastermind Games
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):

Image

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?


Top
 Profile Send private message  
 
PostPosted: Thu Mar 29, 2012 1:00 pm 
Veteran
User avatar

Joined: Tue Aug 12, 2008 12:02 pm
Posts: 356
Location: The treacherous Brazilian Rainforest
Projects: Valentine Square (writer) Spiral Destiny (programmer)
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.


Top
 Profile Send private message  
 
PostPosted: Thu Mar 29, 2012 1:16 pm 
Miko-Class Veteran
User avatar

Joined: Mon Feb 06, 2012 9:50 pm
Posts: 713
Location: NYC
Projects: Icebound
Organization: Fastermind Games
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.


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Protected by Anti-Spam ACP
Powered by phpBB® Forum Software © phpBB Group