Nazariglez / Gecko2D

Cross-platform Game Framework
https://nazariglez.github.io/Gecko2D
MIT License
50 stars 6 forks source link

Add support for trimmed and rotated altas #2

Open Nazariglez opened 7 years ago

Nazariglez commented 7 years ago

Fix and improve the render methods drawTexture, drawSubTexture and drawScaledSubTexture to use with atlas (from texture packer) rotated and trimmed.

This methods must do the same as drawImage, drawSubImage and drawScaledSubImage.

captura de pantalla 2017-11-25 a las 19 24 35