TuftEntertainment / hashtag-warrior

Open-source iOS game powered by cocos2d.
MIT License
8 stars 7 forks source link

Use a sprite sheet for our hero. #28

Closed verbitan closed 11 years ago

verbitan commented 11 years ago

For example, changing the image as he runs left and right to give the illusion of actual running. Similarly changing to a squished image when flattened by a projectile.

danielgwood commented 11 years ago

We don't actually need to have separate images for right and left, the recommended way to do this in Cocos2D is CCSprite flipx - takes the texture and flips the pixels. This does also work with texture atlases/spritesheets I believe.

On the detailed artwork I'd like to see an animated hero (flapping wings?) so we will still need a texture atlas.

danielgwood commented 11 years ago

Doing as part of refactoring (though it won't just be the hero in the sprite sheet/texture atlas, I'm going to put as many of the other sprites in as possible).

verbitan commented 11 years ago

Closing this issue as it's basically an duplicate of #41.