Help making this program please

Discussion in 'iOS Programming' started by ryans79, Jun 9, 2009.

  1. ryans79 macrumors regular

    Joined:
    Apr 12, 2009
    #1
    Hello!

    I am still learning how to program for the iphone via the book :developing for the iphone and i am in chapter 8.

    In the meantime i have had an idea for a little fun program with my small niece in mind, basically its three transparent images (click the below graphic to see it big)
    [​IMG]

    and once my niece taps the screen that should appear just at the side of her finger, if she taps again then the second graphic should appear x number of pixels to the first graphic and on the third tap the last graphic should appear x number of pixels to the second
    (see graph 2 below... click for big picture)

    [​IMG]

    since i am using transparent .pngs i think it will look pretty nice and should be a nice surprise for her as i will be using her 3 favorite images plus not too hard for me to make...

    would appreciate if it someone could tell me the steps you would go though to create this, i have a very hazy idea and would appreciate some guidance.

    Thanks in advance!
    Ryan
     
  2. dejo Moderator

    dejo

    Staff Member

    Joined:
    Sep 2, 2004
    Location:
    The Centennial State
    #2
    I'd suggest you finish reading the book (and make sure you have a decent understanding of what's been discussed), and then come back and revisit this app. (I believe there are upcoming chapters that can give you some initial guidance). You can then ask more specific questions about how to achieve it at that point.
     
  3. ryans79 thread starter macrumors regular

    Joined:
    Apr 12, 2009
    #3
    That makes sense, but with me its like learning the guitar... when you start you have to learn the basic chords a few notes etc... but i always was impatient to start with a few songs, kind of get to the "meat" a little faster:rolleyes:

    Thanks for your reply though!
     
  4. justfred macrumors newbie

    Joined:
    May 8, 2009
    #4
    I can't see your images, but you might look into the UIImageView class and its functions.

    http://developer.apple.com/iphone/l...ce/UIImageView_Class/Reference/Reference.html

    There are more than one way to skin this cat, however. Your book will touch on a few options.

    Edit: I can see your images. You may require a more advanced system, such as the OpenGL capabilities or the Quartz drawing capabilities. Some creative use of UIImageView may still get the job done.

    http://developer.apple.com/iphone/l.../drawingwithquartz2d/dq_layers/dq_layers.html
     
  5. ryans79 thread starter macrumors regular

    Joined:
    Apr 12, 2009
    #5
    Thanks for replying, no idea what the above is... so i think will keep this idea as a later practice project for myself and continue reading the book as advised earlier.

    Guess i just have to stuff my impatience and carry on :(

    Cheers!
     

Share This Page