nehex Posted October 30, 2022 Share Posted October 30, 2022 Hi, I have a question for this pixijs example: https://pixijs.io/examples/#/demos-advanced/scratchcard.js I want to get information about the amount of area I scratched. Is there a way to do so? Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted October 31, 2022 Share Posted October 31, 2022 use extract plugin. Do it only in the end of the frame, please read https://github.com/pixijs/pixijs/wiki/v5-Custom-Application-GameLoop if you dont understand what "frame" is. Dont do it often than 10FPS on slow mobile devices. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.