Harryk89 Posted May 22, 2018 Share Posted May 22, 2018 HI! I'm only learning PIXI, help is needed. How to implement a similar effect (erasing a picture), as an example https://grnch-net.github.io/. I have two pictures, on each other, I want to gradually erase the top picture with the cursor to see the bottom one. Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted May 22, 2018 Share Posted May 22, 2018 https://pixijs.io/examples/#/demos/mask-render-texture.js There are better ways to do the same thing, but in your case total area is small so this one will work too. Harryk89 1 Quote Link to comment Share on other sites More sharing options...
Harryk89 Posted May 22, 2018 Author Share Posted May 22, 2018 Thanks, did not notice at once this in the examples 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.