Starling library - When I try and change cursor to image…it doesn't work (and a sprite element dissapears from stage)

后端 未结 1 380
心在旅途
心在旅途 2021-01-27 15:58

I am using Starling to make a really, really, really easy game - I am just trying to add a stationary sprite to the stage...and make it so that when the mouse touches the sprite

相关标签:
1条回答
  • 2021-01-27 16:51

    I have been practicing with your code and it all seems fine, but ive been using a different image, so that must be the problem.

    Make sure the size of the image is below 32x32, thats the max size of an cursor image, otherwise the OS won't accept it.

    0 讨论(0)
提交回复
热议问题