-
Notifications
You must be signed in to change notification settings - Fork 7.1k
Closed
Description
When detecting mouse clicks on a TileSprite
like this:
var ground = game.add.tileSprite(0, 0, 600, 600, "ground");
ground.inputEnabled = true;
ground.events.onInputUp.add(mouseUp, this);
mouse clicks are registered only on part of the screen, which is usally close to the resoluion of the image used as tile. For instance on a 256x256 tile-sprite, clicks are detected only in the area from (0, 0) to approximately (256, 256), even though both the world bounds and game resolution are larger.
Metadata
Metadata
Assignees
Labels
No labels