Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

iPhone Programming-Sprite Animation

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
19,486
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Nov 18, 2008

How to animate a game character using UIImageView.

Category:

Gaming

Tags:

License:

Standard YouTube License

  • likes, 3 dislikes

Link to this comment:

Share to:

Uploader Comments (bugzilla2001)

  • great Tutorial ! I would like to know how to do this exept for the Iphone. ( MacPro/Macbook ) I see a lot of Tutorials regarding Animation on the Iphone but not on the regular machines. Any Idea ?

  • @8bitIsland If you mean that you want to do the same thing for the Mac desktop environment, the code is really the same as far as I know. Just create a new XCode project and choose a standard Mac application as the template

  • I had the impression that you where not using OpenGL...

  • Correct. I am using UIKit only.

  • very little people are writing tutorials about stuff like this so it's great you made one. (maybe they don't want competition)

    I just had a question, have you finished making your game and tested it on a device? I tried making a game loading sprites with UIimage view without using OPENGL and it would barely run on the device. Is your animation done by using a timer thread?

  • I'm not nearly finished with my game yet, but it does run fine so far on the device. Open GL will always be faster and probably the only practical choice for an arcade style game.

    My animation does use a timer.

see all

All Comments (29)

Sign In or Sign Up now to post a comment!
  • Great tutorial, but I can't see anything!!!!

  • @bugzilla2001 I am having trouble with my fire button in my game. I want to create a new image every time the button is pressed, which I have done. The problem is getting it to disappear at a given distance. How did you set up your fire button sprite code in your app? Any help would be appreciated. Thanks.

  • I am having trouble with my fire button in my game. I want to create a new image every time the button is pressed, which I have done. The problem is getting it to disappear at a given distance. How did you set up your fire button sprite code in your app? Any help would be appreciated. Thanks.

  • very helpful! thanks

  • never got onto the second part :/ how to make the animation change or 'breathe fire' mid animation. arg, it's driving me nuts.

    i want to interrupt and animation with another animation, but only when the initial animation is playing. can Anyone point in me in the right direction ;/

  • I cannot believe all you bozos on here whining... This is low quality cannot read the code.

    It's a tutorial! It's meant to GUIDE you so you can go write your own. Not copy his! He's been kind enough to spend the time to explain, record this vid and upload it.

    If you had HALF an understanding of how to actually program in the first place, you'd be able to follow what he's doing without having to copy his exact code, compile it and then show your friends... "Look what I made.. aren't I cool!"

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more