Skip to content

added transparency support#8

Open
sulaemansantoso wants to merge 1 commit intotizzle:masterfrom
sulaemansantoso:tUpdate
Open

added transparency support#8
sulaemansantoso wants to merge 1 commit intotizzle:masterfrom
sulaemansantoso:tUpdate

Conversation

@sulaemansantoso
Copy link

@sulaemansantoso sulaemansantoso commented May 7, 2021

Adds a transparency support for png texture with transparency,
alphaTest is a parameter you can adjust.

Example of multiple sprite with transparency
image

}
},
alpha : {
default : 0.4
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks! just out of curiosity why default to 0.4?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

my project works on that value lol :D oh yea i haven't minified the js yet tho

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants