filter:hue-rotate for all the player colours

Game development with Board Game Arena Studio
Post Reply
User avatar
Idsky
Posts: 132
Joined: 16 April 2020, 16:49

filter:hue-rotate for all the player colours

Post by Idsky »

How backward-compatible do games need to be?

filter:hue-rotate CSS can allow a game to support lots of player colours with only 1 set of pieces in the img resources, saving the download file size.

This has about 96% support across all browsers and works on all software since 2013. https://caniuse.com/#feat=css-filters

So, is it fine to use on BGA?
Post Reply

Return to “Developers”