I've tried two different approaches with imagebuttons.
in the first one I've created a "fixed position" imagebutton (both idle and hover), meaning that I've just created full screen .PNGs to avoid positioning them:
"idle" is a landmark;
"hover" is the landmark + the location name;
They perfectly work.
Then I've tried a different approach for the sake of avoiding to create those images for every single location and to gain more flexibility.
This time I've just created the landmark and the location name separately and then I've declared them like this:
Code: Select all
image shop_idle = "images/button_idle.png" image shop_hover = LiveComposite((0, 0),(0, 0), "images/button_hover.png", (-10, 50), "images/shop.png")
What can be the reason for this?
already checked the FocusMask True/None, it doesn't seem to affect it in anyway...