M MrPenguin9 macrumors member Original poster Aug 1, 2008 59 0 Feb 28, 2009 #1 Hi, I am trying to make a 2d game but I want to know, how do I do sprite animation(The animation of something exploding or someone walking.) Thanks
Hi, I am trying to make a 2d game but I want to know, how do I do sprite animation(The animation of something exploding or someone walking.) Thanks
S shusseina macrumors newbie Feb 23, 2009 14 0 Mar 1, 2009 #2 Being so new to iPhone development myself I can't answer your specific question, but have you checked out the sample code at Apple's iPhone Dev Center site? Steve
Being so new to iPhone development myself I can't answer your specific question, but have you checked out the sample code at Apple's iPhone Dev Center site? Steve
S sesnir macrumors 6502 Sep 21, 2008 373 411 Mar 1, 2009 #3 There are several ways to do it... and it partly depends on how you've designed the app so far... definitely check out Apple's docs though.
There are several ways to do it... and it partly depends on how you've designed the app so far... definitely check out Apple's docs though.
xsmasher macrumors regular Jul 18, 2008 140 0 Mar 1, 2009 #4 MrPenguin9 said: Hi, I am trying to make a 2d game but I want to know, how do I do sprite animation(The animation of something exploding or someone walking.) Thanks Click to expand... That kind of 2d animation is usually done by presenting a series of images in order - check out this sheet to see the kinds of images a game artist would provide: http://www.yoyogames.com/extras/resource/file/san1/244/244/princespriteswb3.gif You usually do *not* have separate sprites for arms, legs, head, etc, as you you would in 3d work. You can display those images in order using something like UIImageView.animationImages, like so: http://appsamuck.com/day2.html
MrPenguin9 said: Hi, I am trying to make a 2d game but I want to know, how do I do sprite animation(The animation of something exploding or someone walking.) Thanks Click to expand... That kind of 2d animation is usually done by presenting a series of images in order - check out this sheet to see the kinds of images a game artist would provide: http://www.yoyogames.com/extras/resource/file/san1/244/244/princespriteswb3.gif You usually do *not* have separate sprites for arms, legs, head, etc, as you you would in 3d work. You can display those images in order using something like UIImageView.animationImages, like so: http://appsamuck.com/day2.html