[SOLVED] Clicking on transparent objects

This forum is currently in read-only mode.
From the Asset Store
94 Inside buildings views - Isometric view - PNG transparent - 2048x2048
  • Okay guys, I need some help. Fast.

    I'm building a tilemap editor and everything has been gravy so far.

    But randomly I noticed that I couldn't (in my half-finished editor) click on tiles that were already blank, despite the Sprite that I wanted to interact with still being there.

    Turns out from some spading with partially and totally transparent objects, I learned that (using the MouseKeyboard plugin) you can't click on a totally transparent object (or even an object with a current animation frame that is transparent, or even a small transparent corner of a sprite).

    This is extremely troubling, as it basically grinds everything to a halt.

    I could redraw the tile maps to have a mildly transparent rear layer that would allow clicking but that would screw up my plan of having multiple overlaid layers that can all be viewed at once, as the rear layers would get progressively harder to see behind layers of partial transparency.

    Any ideas?

  • Use bounding box collisions instead.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Magnifique.

    Thank you.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)