November 2019
Intermediate to advanced
404 pages
12h 9m
English
A common implementation in most UIs is to activate a large, transparent interactable element that covers the entire screen, forcing the player to handle a popup before proceeding, while still allowing the player to see what's going on behind it (as a means of not ripping the player out of the game experience entirely). This is often done with a UIImage element, but unfortunately, this can break batching operations, and transparency can be a problem on mobile devices.
A hacky way around this problem is to use a UIText element with no Font or Text defined. This creates an element that doesn't need to generate any renderable information and only handles bounding box checks for interaction. ...
Read now
Unlock full access