I have a world larger than the screen and am trying to add a custom cursor. However, the cursor seems to move relative to the world, so I tried using fixedToCamera = true, but then it didn't move at all. Here's the relevant code:
// create event
customcursor = game.add.sprite(game.input.mousePointer.x, game.input.mousePointer.y, 'cursor');
customcursor.fixedToCamera = true;
// update event
customcursor.x = game.input.mousePointer.x;
customcursor.y = game.input.mousePointer.y;
If anyone knows what's wrong with this, please tell me!