Screeps3D
Screeps3D copied to clipboard
Mobile: Mouse roll-over behaviors
There are a few places where the game relies on mouse roll-over which is unavailable on a touch interface. For example, camera panning and multi select would occur even when over the console, because the logic takes a look at EventSystem.current.IsPointerOverGameObject()
. There needs to be another way to intercept UI clicks/touches.
Another example is the option descriptions that change when the mouse rolls over each icon.
One behavior that might not be possible to recreate on mobile is object highlighting for selection purposes. This is unfortunate because touch on mobile is even less precise than a mouse.