Point and click with hotsposts, what is wrong?

● ARCHIVED · READ-ONLY
Started by Starvy 3 posts View original ↗
  1. Hi guys!
    So I'm writing my visual novel and testing the "game engine" in a test, simple project.
    In my mind that's easy, but something is wrong cause the engine doesn't work as expected.

    This test is simple.
    We have 2 rooms, linked each other by a clickable door.
    Through a topbar ui, I can open the house map and select the room from there, too.
    In the topbar I can also see the current location name and the amount of money I collected.

    Here the screenshots of room 1, room 2 and map (graphics):

    room1.png room2.png housemap.png
    and this is how I built the whole thing:

    In the Intro Scene, I set 2 variables: Current Location and Money.

    intro.png
    Then we reach the scene for Room 1.
    The room is an image map and the topbar ui (see image) is called as common event (image map with texts, similar to the message box of VNM).
    So, to reach room 2, we can click on the door OR use the map and click on room 2...but something goes wrong and everything soon starts to behave like a big mess.
    Looks like hotspots continue to interfere also with the other scenes.


    Room1:
    comm-room1.png

    Room 2:
    commmroom2.png

    House Map:

    comm-map.png

    Common Event "Show UI":

    show-ui.png

    Common Event Hide UI:

    hide-ui.png

    Project files:

    https://mega.nz/#!PPRSzabD!_cJpSb8yyUJu-xiyCu7Cq2cs-_qo3pmPcAc0cPc4kYw
  2. Hi Starvy,

    I will take a closer look at this tomorrow. It doesn't look wrong at first look.

    So, to reach room 2, we can click on the door OR use the map and click on room 2...but something goes wrong and everything soon starts to behave like a big mess.
    Looks like hotspots continue to interfere also with the other scenes.

    At first I thought you forgot to erase the image-maps but I can see from your screenshots that you are doing it properly. However, the Continue flag is set for all your Erase Imagemap commands and directly after the Change Scene command follows. Did you try to set the Continue flag to Wait instead?
  3. Hi Kentou and thank you for your help, I really don't know how to move on.
    I just tried to set the flags to "wait" but this doesn't fix the problems.

    I wonder if it is ok to call an image map (through a "call common event") over an image map (in scene).
    PS. I need to set the common event as "in line" cause otherwise the lower image map (in scene) is not triggerable.