kittykatattack / ga

The world's tiniest, cutest and funnest game engine
453 stars 85 forks source link

Texture atlas - rotated sprites #56

Open ghost opened 7 years ago

ghost commented 7 years ago

Hey,

It looks like Ga does not account for rotated sprites in a texture atlas. I recreated the treasure hunter atlas myself using texture packer, and even though the JSON indicates that the explorer is rotated (the default) this does not seem to be handled by Ga and he appears on his side.

Awesome game engine by the way. So fun and easy to play around with stuff :)

kittykatattack commented 7 years ago

You're right - it doesn't! If anyone out there reading this would like to propose simple fix for this - please post here and we'll consider a pull request 😄