how to use Imagemap question

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
Tsuyuri
Regular
Posts: 30
Joined: Thu Jan 03, 2013 1:57 pm
Contact:

how to use Imagemap question

#1 Post by Tsuyuri » Thu Jan 24, 2013 2:13 am

Hey everyone~ I hope to be able to use this topic mostly to get answers on terms of coding for something I been thinking about~ (since I do like to learn a bit more about coding of the engine~)

I read about those imagemap thingies earlier but it kind of confused me~ Basically the idea was that during a certain scene you get a event cg/picture showing the two protagonists of a story and a button beneath them (on the picture) instead of a regular menu to make your choice~

is such a thing possible, and if it is would anyone be so kind to help teach me how to master that? ^^


Update: edited the title of the topic~ seems using
config.keymap['game_menu'] = [ 'K_ESCAPE', 'joy_menu' ],
config.keymap['hide_windows'] = [ 'mouseup_2', 'h', 'joy_hide', 'mouseup_3' ],
did the job for hiding the text etc~ so only need to learn how to do those imagemap thingies~ *nod nod*

User avatar
SundownKid
Lemma-Class Veteran
Posts: 2299
Joined: Mon Feb 06, 2012 9:50 pm
Completed: Icebound, Selenon Rising Ep. 1-2
Projects: Selenon Rising Ep. 3-4
Organization: Fastermind Games
Deviantart: sundownkid
Location: NYC
Contact:

Re: how to use Imagemap question

#2 Post by SundownKid » Mon Feb 18, 2013 12:54 am

You can easily make that by putting the CG as the background of a screen, and then adding the two buttons that jump to different labels. Then call the screen and voila, decision box.

Post Reply

Who is online

Users browsing this forum: Bing [Bot], rayminator