September 9
I recently made a very simple sprite sheet animation class for a friend’s app. It was intended to go into a UIView so i didn’t want to get the over-head of Cocos2d(If you want proper animations and sprite sheets go download that now and stop reading this!!). So this is a really really simple Sprite animation implementation of mine. There are 2 actually. One the JHSprite class just loops with a NSTimer through different images. Its a very simple implementation but works well for very very lightweight animations. The second class JHSpriteSheet actually crops a sprite sheet image(info read from [...]
Posted by Jeff . Filed under Objective-C, Tutorials |
May 8
I had to help a friend recently with some custom text in an app. He wanted to display some cool text effects and couldn’t really achieve it using CALayers. So i suggested using an OpenGL view as a subview in his scene. Here is the project for this tutorial here OpenGLCustomFont Firstly the custom font is from 71squared implementation of the AngelCodeFont (thanks Mike!), it is a great implementation but has some issues with kernings which i haven’t posted fixes to in this tutorial. We create font image sheets from .TTF files(thats the normal font format) using the Hiero Font [...]
Posted by Jeff . Filed under Sample Code |