Hovered images and text on ordinary dialogue choices?

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
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.
Post Reply
Message
Author
User avatar
Chocopyro
Regular
Posts: 115
Joined: Fri Feb 21, 2014 11:38 pm
Projects: Keepsake: Orison of the falling leaves
Organization: Patchwork Novels
Location: A cornfield in 'merica.
Contact:

Hovered images and text on ordinary dialogue choices?

#1 Post by Chocopyro » Wed Sep 23, 2015 5:34 pm

Okay, its probably a stupid question here, but the development and various tutorials on dialogue options just aren't cutting it, as they merely explain how choice trees work, and not how to add functions to the dialogue or image buttons themselves. But what I want to do is fairly simple, so I'm pretty sure I'm going to make myself look like an idiot by asking. So here might as well just put on my dunce cap and ask.

How exactly do I get it so that dialogue choices in the game script bring up an image when the cursor hovers on them? I mean not with every choice. Only select ones at certain pivotal points in the game. (Meaning outside of the Screens menu if possible)
Image

philat
Eileen-Class Veteran
Posts: 1853
Joined: Wed Dec 04, 2013 12:33 pm
Contact:

Re: Hovered images and text on ordinary dialogue choices?

#2 Post by philat » Wed Sep 23, 2015 7:07 pm

What do you mean bring up an image? In what way? You have to be more specific. Do you need a tooltip - a new image that pops up? Do you want the hover to change a background image? Do you want an image inside the choice button?

User avatar
Chocopyro
Regular
Posts: 115
Joined: Fri Feb 21, 2014 11:38 pm
Projects: Keepsake: Orison of the falling leaves
Organization: Patchwork Novels
Location: A cornfield in 'merica.
Contact:

Re: Hovered images and text on ordinary dialogue choices?

#3 Post by Chocopyro » Wed Sep 23, 2015 7:48 pm

Yes, the tool tip is more what I had in mind, though the background image seems like it could also be useful to learn, concerning my purposes. As for the image inside the choice button, I already have that figured out... Months ago. :?
Image

Post Reply

Who is online

Users browsing this forum: Google [Bot], _ticlock_