简体   繁体   中英

Apportable SKTextureAtlas atlasNamed Failure

I'm working on converting my SpriteKit made, Objective-C app into an Android app through Apportable. On 'apportable load', I'm running into issues with SKTextureAtlas.

[SKTextureAtlas atlasNamed:ATLAS_NAME_CONSTANT] gives back nil when running on Android, which it doesn't do when running on iPhone.

Are there any particular work-arounds to get a texture atlas to work nicely with Apportable, or am I going to be stuck using regular images?

Thanks in advance!

Unfortunately, our SpriteKit is a hacked-together-over-a-weekend implementation. If it's currently working for regular images, I'd recommend keeping it that way. Internally, we're considering how we can better support SpriteKit in the future--look for notes in future SDK releases.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM