imagemap popout big image at hover, possible?

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
SLim_Games
Newbie
Posts: 22
Joined: Tue Mar 20, 2018 11:37 am
itch: slim-games
Contact:

imagemap popout big image at hover, possible?

#1 Post by SLim_Games » Thu Apr 26, 2018 6:16 am

Hi,

I was wondering if it is possible to make an imagemap show a big image when you hover over it while it's in a vbox.

Code: Select all

vbox:
	spacing 5
	imagemap style "chat_left":
	ground "test.png"
	hover "testH.png"
	hotspot(0, 0, 171, 200):
		action Show("testBig")
Right now I just show another screen when you click on the image, but can you make it that it shows the big picture when you hover over it. so it's outside the vbox?
Play my game (nsfw) for free at: https://www.patreon.com/SLim_Games

DannX
Regular
Posts: 62
Joined: Mon Mar 12, 2018 11:15 am
Contact:

Re: imagemap popout big image at hover, possible?

#2 Post by DannX » Thu Apr 26, 2018 8:44 am

You can try giving it a hovered button property, that runs the action when you hover on the imagemap.

Code: Select all

vbox:
     spacing 5
     imagemap style "chat_left":
         ground "test.png"
	 hover "testH.png"
	 hotspot(0, 0, 171, 200):
             hovered Show("testBig")
	     unhovered Hide("testBig")

Post Reply

Who is online

Users browsing this forum: apexchimps, Dinocanid