In part 2 of the series the card textures are made to work on mobile GPUs.

Article by Richard Davey. Posted on 28th Mar 2017.   @phaser_


In part 2 of the series Emanuele explores cutting the card texture down to size, so it'll work on mobile GPUs: "If you like the HTML5 deck of cards management and tried to run it on your mobile device, probably you weren’t able to display cards properly.

This is not a bug in the code, it’s just the original 4342×1760 image with all cards is too big for your mobile device to handle.

While searching around the web you can see a 2048×2048 is safe enough for mobile devices, I decided to use 1024×1024 textures to avoid any kind of problem."

Read More