Hover for In-Game Menus?

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
irpugboss
Newbie
Posts: 1
Joined: Fri Jan 11, 2019 12:05 am
Contact:

Hover for In-Game Menus?

#1 Post by irpugboss »

I couldn't find anything and I suspect that is because it is not possible but just to confirm the suspicion, is it possible to add a hover function to normal menu's in game?

Code: Select all

menu:
	"option 1":
        	hover "showimage1.jpg"
            	"You are seeing image 1"
            	jump start
	"option 2":
        	hover "showimage2.jpg"
            	"You are seeing image 2"
            	jump start
If not what should I be looking at to have a menu that can display images in the background when hovering as well as performing actions like storing variables or other things like that? Imagebuttons perhaps?

PS:

This is my first post, hello! I finally built up the courage (frustration) to join the forums and start asking for help lol. As a lurker, everyone here that contributes is pretty amazing, so thank you!

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

Re: Hover for In-Game Menus?

#2 Post by philat »

You would have to modify the choice screen pretty extensively -- possibly not something to take on as a novice. Straight up custom screens with imagebuttons would probably be better.

Post Reply

Who is online

Users browsing this forum: No registered users