Search code examples
react-native2d-games

React Native Sprite Sheets


Is it possible to do sprite sheet based animation with React Native? It appears that you have to load individual images, rather than a sprite sheet.


Solution

  • Not quite a single sprite sheet, but react-native-sprite bridges UIImageView to support animating a sequence of images natively.

    It might be possible to bring SpriteKit to react-native. In that case, you can compile a single sprite sheet using texture atlas.