lohaline.blogg.se

Texturepacker exclude image
Texturepacker exclude image




texturepacker exclude image

tps file.ĭownload the newest TexturePacker - here you'll find a new option on the left: Content Protection. I assume that you already have TexturePacker running to create sprite sheets. So instead of stealing your assets, it's likely that they go and find some easier prey. But this will take knowledge, time and effort - and it is something that not every 6-year-old school boy or girl can perform. The decoder and key are stored in your app - otherwise it would not be possible to use the assets in your game at all. In theory it would be possible for somebody to extract the key from the app and write some decoder. The decryption uses nearly no time at all since only parts of the spritesheet are encrypted.Īll of this works! Encrypting your assets is a piece of cake - it comes at nearly no effort - and does not have any impact on your game. The runtime requires 4kB while decrypting the spritesheets.

#TEXTUREPACKER EXCLUDE IMAGE CODE#

Your app will still be able to decrypt the data, but somebody else is going to have a hard time getting it done.ĭesigning the encryption, I had the following goals in mind:Įnter the encryption key in TexturePacker and copy 2 files into your Cocos2D folder, add 4 lines of code - that's all. It's called ContentProtection and simply encrypts the images. I've added a new feature to TexturePacker which helps you to prevent all this from happening.

texturepacker exclude image

Just type sprite sheet  in Google and see what comes up.Īnd in the end - what would you do? Sue somebody in a foreign country? Forget about that. But does that protect your precious images? Warning! Using these assets is not allowed without the permission of the copyright owner.






Texturepacker exclude image