coter Posted October 20, 2015 Share Posted October 20, 2015 How to do the following -1) to frame an image with a translucent gradient.2) read the pixel values from the image, which turned out to be the first step.How such to make? Please write a brief step by step guide.And another important point - the picture and the gradients must not fall into the display list.I managed to make all the individual parts. But can't collect, so as to obtain the pixel color you need to keep the context of the canvas.But can't collect, so as to obtain the pixel color you need to keep the context of the canvas.In the sprite.texture.baseTexture.source returns one of the inverted gradient, kartinki on canvas no. Quote Link to comment Share on other sites More sharing options...
coter Posted October 20, 2015 Author Share Posted October 20, 2015 I did. Need completely do the mask on the canvas. 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.