Search code examples
objective-ciosuiviewrubymotion

RubyMotion & SpriteSheet


I have a sprite sheet, and would like to use it using UIImage in Rubymotion.

Anybody can provide a sample code on how to display an image from the spritesheet?


Solution

  • There's a recent Rubymotion gem for that called 'motion-sprites', see http://jjuliano.github.com/motion-sprites/