Hi,
I am trying to add a mini card game in my RPG, but there is an issue about the reaction when mouse over image.
Here is the situation, a several of cards(backside, using same image) are being shown on the screen,
when the mouse hovers on one of the cards, a new image(a brighter backside, using same image) will replace the old one at the same coordinate,
I wrote a HTML script with similar function, in case my words make you confused, (And I dunno how to apply it in RM, sorry I just learnt scripting a couple weeks T_T)
In my script, I used array to store the coordinate of each image, but I wanna make it more flexible. So that every time the mouse hovers on the "backside" image, store the coordinates of this image as variable, and use this variable as the coordinates of the new image, then show the new image. And when the leave, remove this new image.
Is it possible to use event to do that?
Thank you for watching this post!
View attachment script with similar function.html