Strange hotspot behaviour

● ARCHIVED · READ-ONLY
Started by FoxySeta 9 posts View original ↗
  1. Unlike with image map's hotspots, it don't seem to find a way to keep hotspots in the scene even after you clicked on them. I'd like to change this.
    (Since I'm kinda in a hurry with my project, I'll probably end using image maps anyway, but the "Add Hotspot" scene command is more parameterized, so I would have preferred using that.)
    Thanks in advance!
    EDIT: Actually, I'm not sure at all this happens. I'm just having a hard time with debugging I guess.
    YET ANOTHER EDIT: so, the problem seem to be about using multiple rectangle hotspots. For some reason, hotspots cover the ones which are shown later AND below them. I know this sounds nonsense, so if a dev anwers I can send my project.

    It's for a demo that I wanted to release asap, so sorry if I'm being kinda noisy here:kaomad2:

    Scene
    Scene.PNG
    Logic Pong
    Logic Pong.PNG
    Initialization
    Initialization.PNG
    Play
    Play 1.PNG Play 2.PNG Play 3.PNG Play 4.PNG Play 5.PNG Play 6.PNG Play 7.PNGPlay 8.PNG
    Sorry if the code is not well kept, I have also various problems with passing parameters as well, so sometimes I just go with global variables (that's terrible I know).
  2. Hi FoxySeta,

    actually, hotspots should catch events by z-index. So a hotspot with a higher Z-Index overlaps a hotspot with a lower Z-Index and will take clicks first.

    Is that not the case for you?

    Also, the default z-index of a hotspot is not 0 even if it shows that. It is 700 by default even if the field shows 0. As long as the lock-icon in the field is locked, a value of 700 is used.
  3. I had thought of tampering with zOrder, yes, but the Add Hotspot scene command does not provide such a field.

    Also, my hotspots are not even overlapping, it's more like some are taking the place of others even though they are in different positions on the screen.
  4. Show images of how you are setting it up.
  5. I have other issues with hotspots, such as when I change what existing multiple hotspots do, they seem to "scramble" around when I click Done.
  6. Archeia said:
    Show images of how you are setting it up.
    Sure! Check the OP.
  7. BUMP: I know it's a pain to go through all of my mess but I'm still desperate:kaodes:
    (I really hope this bump is considered legit this time)
  8. Bump
  9. Bump