Can we Set Clickable-on-Certain-Area at a Picture?

rechronicle

Mystvaldia
Veteran
Joined
Oct 30, 2013
Messages
137
Reaction score
109
First Language
Bahasa
Primarily Uses
RMMV
Hello,
I have encountered a kind of obstacle here. Basically, I want to make a picture that can be clicked and run event in the end.

I am using Yanfly Picture Common Event, although it can be done by 12 pictures with each attached by Common Event separately.
But I am curious if there is another way to do it with just one picture and then the player can click certain area to go to a different conclusion. (At my case, it is a gallery to show images.)


I also have tried using TDDP_MouseExSystem, although it can be done by events, I don't understand how to increase that mouse hitbox to be more than 48x48 px for each event, just like the picture above, the clickable area is somewhere around 102x102 px each.


Is there a plugin or some other way to do it?

Thank you
 
Last edited:

Rhino

~Inactive~
Veteran
Joined
Feb 28, 2017
Messages
482
Reaction score
789
First Language
English
Primarily Uses
RMMV
Astfgl once helped me with something similar. He wrote a small plugin to enable you to track mouse co-ordinates in a variable, and use a conditional branch for when there's a click within the right area. You can find all you need here. :kaoluv:

I don't know if it helps, but since you said you're making a picture gallery, you might be interested in this plugin. I'm pretty sure it's got mouse functionality.

P.s I think your image is broken. I just got a dropbox error when I tried to look.
 

rechronicle

Mystvaldia
Veteran
Joined
Oct 30, 2013
Messages
137
Reaction score
109
First Language
Bahasa
Primarily Uses
RMMV
Hey there,
fixed the dropbox link, my bad. xD

Gonna check that plugin out, it looks a bit complicated at first, at least for me lol. I will post it here if I can get it work.
Thank you @Rhino ! (And astfgl too, of course.) :kaojoy:
 

Astfgl66

Veteran
Veteran
Joined
Jan 5, 2016
Messages
722
Reaction score
578
First Language
French
Primarily Uses
Oh well, I came here ready to direct you to explanations I made a while ago, and it turns out Rhino beat me to it. :hswt:
Feel free to ask if there's something unclear.
 

rechronicle

Mystvaldia
Veteran
Joined
Oct 30, 2013
Messages
137
Reaction score
109
First Language
Bahasa
Primarily Uses
RMMV
Hello2,

I have followed the step-by-step from the other post and finally got it right.

This might help if someone else is searching about clicking-picture:
Go here

Thank you @Astfgl66 and @Rhino!
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,868
Messages
1,017,066
Members
137,576
Latest member
SadaSoda
Top