Problem with imagemap

Questions, skill improvement, and respectful critique involving game writing.
Post Reply
Message
Author
Gianserpe
Newbie
Posts: 9
Joined: Mon May 27, 2019 4:20 pm
Contact:

Problem with imagemap

#1 Post by Gianserpe » Sat Jun 01, 2019 7:58 pm

Hi everyone, I'm finding it difficult to figure out how to set the code in a mini-game I'm creating. The minigame is, in a room, take as many objects as possible in the max time; I am finding however many problems to set the code. Theoretically the operation is very simple, on a backdrop are loaded different images in png that, once clicked, disappear. The problem is that I can't understand if it is possible to do this with the imagemaps command, that is to load images in png on the ground of imagemaps so that when they are clicked they disappear. I hope you can help me, even just by giving me some advice. Thank you :)

User avatar
Alex
Lemma-Class Veteran
Posts: 2317
Joined: Fri Dec 11, 2009 5:25 pm
Contact:

Re: Problem with imagemap

#2 Post by Alex » Sun Jun 02, 2019 5:50 am

It's better to use a number of imagebuttons - you could make a condition to show/hide them separately.
https://www.renpy.org/doc/html/screens.html

Also, check this - viewtopic.php?p=478861#p478861
(and that might be of some help - viewtopic.php?f=51&t=18047&p=235921#p235918)

Gianserpe
Newbie
Posts: 9
Joined: Mon May 27, 2019 4:20 pm
Contact:

Re: Problem with imagemap

#3 Post by Gianserpe » Sun Jun 02, 2019 6:47 am

Thank you very much, it was just what I wanted to do, thanks :)

Post Reply

Who is online

Users browsing this forum: No registered users