I saw your tutorial on imagemaps for the main menu of the game, and I thought it was great! I managed to create my imagemap relatively well, but the thing is, I'd like to incorporate it as a small mini-game in the middle of my VN, rather than at the title page.
My VN is a murder mysery game, and I'd like to have some point and click mini-games.
For example... making the player find an inconsistency in a photo. They would have to find the visual disrepancy in question and click on it with their mouse. I'd like to code it so that if you click anywhere else on the screen, you'd lose health (I have the healthbar working fine, I just can't seem to get this working). Once you click on the proper object, then the game would jump to another label.
(I'm going to attempt to show you what I have currently, but forgive me if I mess up inputting the code into this chat, I'm a little new with this!)
/code
label testfail:
hide screen health
$ maki_hp -= 1
show screen health(maki_hp)
play sound "wack.wav" noloop
show ground1 with vpunch
"{color=#0066ffff}(N-no, that can't be right... There's nothing there.){/color}"
jump trialtest
label testing:
mh "The test works."
code/
This is what I have so far.
Contrary to what the character says under the label "testing", it does not work. The game simply ignores the 'mini-game' I wanted to set up. It shows the images properly, but then jumps straight to "testfail" without allowing me to click on anything.
If you have any idea on how I can go about this, please let me know. I'd really appreciate it!