Game Development Community

Creating a new animation?

by Michael Cozzolino · in iTorque 2D · 02/15/2010 (3:31 am) · 3 replies

Just got T2D for iPhone. I have been trying to get some of a little project I was doing on TGB to iPhone. Am I missing something? I have my static sprites added but when I try to add animated sprites I get the menu but no sprites to choose from to create the animation. I don't remember reading anything in the docs about having to do anything special.

About the author

Indie Developer in the Albany NY area. iOS, PC, Mac OSX development. http://itunes.apple.com/us/artist/michael-cozzolino/id367780489


#1
02/15/2010 (6:24 am)
Well, an animation comes from a cell based image in this case, For example :

Making the image map first :
img64.imageshack.us/img64/6346/screenshot62.jpg
Making the animation :
img8.imageshack.us/img8/9278/screenshot64w.jpg
Then, making the animated sprite show up :
img195.imageshack.us/img195/8085/screenshot63so.jpg
This is part of the TGB docs, and is not iPhone specific. Be sure to do the tutorial at least, if you want to get further ;)
#2
02/15/2010 (2:06 pm)
Ah, thanks. I went back to my TGB project and realized that the animated sprites I had were linked images which it looks like we don't do anymore. At least not in iTGB
#3
02/16/2010 (1:47 am)
Yes, you want sprite sheets, especially on the iPhone.