EaselJS: Alpha Mask Filter

EaselJS: Alpha Mask Filter

EaselJS: AlphaMaskFilter reveal

'Yan wasa

0

Ƙima

4.5★

Nau’o’i

Variety

Game da

This example demonstrates revealing an image using another image as the mask. The mask is created by drawing a shape, and then caching the shape to make an image with an alpha channel. It is then applied to the image as an mask using the AlphaMaskFilter filter. Another copy of the image is added below with a BlurFilter and ColorMatrixFilter to make the effect cooler.

Mai ƙirƙira

CreateJS

Ɗakin wasa

Rukuni

Variety

Nau’i

Ƙaramin wasa

An fitar

Kwanan nan

'Yan wasa

0

Daga mai ƙirƙira

Ƙari daga CreateJS

Nau’i ɗaya

Ƙarin wasannin Variety

Mafi shahara

Wataƙila kuma kana son waɗannan

Wasanni masu tasowa da sauran 'yan wasa ke so yanzu.