Animated or hotspot quick menu? Is it possible? Help please!

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
Hellboy
Regular
Posts: 86
Joined: Mon Dec 24, 2012 9:37 pm
Location: Heredia. Costa Rica.
Contact:

Animated or hotspot quick menu? Is it possible? Help please!

#1 Post by Hellboy » Thu Jan 03, 2013 2:01 am

Hi!
This will probably sound unusual, but...
Is it possible to make an animated quick menu or make a hotspot for the quick menu?
The thing is, I’d like to replace the default quick menu with a single button. I’d like that button to do one of this things:

1- Make a “bright” and brighter” variants of it and use dissolve and repeat so it looks like it glows.

OR

2- Make the button a hotspot so when the mouse is over it, it glows, again, with a "bright" and "brighter" variants.

Of course, both options should call the game menu, but I don’t how to do it or if it’s even possible.
Someone could help me please?
Thanks!
Image
FREE and easy 3D customization, posing, and animation software with pre-made people and environments:
DAZ Studio Pro 4.9

User avatar
mirelle
Regular
Posts: 87
Joined: Thu Nov 29, 2012 11:28 am
Projects: The Story of X
Organization: Vocamania
Location: Indonesia
Contact:

Re: Animated or hotspot quick menu? Is it possible? Help ple

#2 Post by mirelle » Thu Jan 03, 2013 6:18 am

You can define hotspots as animations, since basically ren'py takes any displayables, not just images, for a hotspot.
[[The X Story]]
Discover the hidden truth within-- but be reminded that more often than not, curiosity kills the cat.
lurking here as a representative of the team~

User avatar
Hellboy
Regular
Posts: 86
Joined: Mon Dec 24, 2012 9:37 pm
Location: Heredia. Costa Rica.
Contact:

Re: Animated or hotspot quick menu? Is it possible? Help ple

#3 Post by Hellboy » Fri Jan 04, 2013 6:36 pm

mirelle wrote:You can define hotspots as animations, since basically ren'py takes any displayables, not just images, for a hotspot.
Well, that's great to know! I'd like something like that. :D
Would it be too much ask for an example of how to change the default quick menu with something like this, please? I have no idea. :|
Image
FREE and easy 3D customization, posing, and animation software with pre-made people and environments:
DAZ Studio Pro 4.9

User avatar
Hellboy
Regular
Posts: 86
Joined: Mon Dec 24, 2012 9:37 pm
Location: Heredia. Costa Rica.
Contact:

Re: Animated or hotspot quick menu? Is it possible? Help ple

#4 Post by Hellboy » Sat Jan 05, 2013 1:23 am

Well, I finally was able to do the second option thanks to FatUnicornGames thread here: http://lemmasoft.renai.us/forums/viewto ... =8&t=15769&
I didn't knew about "image maps". No wonder I wasn't finding any info.

Here is the code for the quick menu of the screens.rpy just in case:

Code: Select all

##############################################################################
# Quick Menu
#
# A screen that's included by the default say screen, and adds quick access to
# several useful functions.
screen quick_menu:

    # Add an in-game quick menu.
    hbox:
        style_group "quick"
   
        xalign 1.0
        yalign 1.0
        imagemap:
                ground "textbox1.png"
                hover "textbox2.png"
                hotspot (700, 25, 780, 105) action ShowMenu('save')   


I'll check later how to animate it. :mrgreen:
Image
FREE and easy 3D customization, posing, and animation software with pre-made people and environments:
DAZ Studio Pro 4.9

Post Reply

Who is online

Users browsing this forum: No registered users