Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

ryans79

macrumors regular
Original poster
Apr 12, 2009
226
0
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)


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)



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
 
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.
 
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.

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!
 
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
 
OpenGL capabilities or the Quartz drawing capabilities

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!
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.