Advertise Books Events Forum News Social Networking Support Us

sdkIQ for iPhone
($4.99)

Shape Up
($0.99)

Your First iPhone App
($1.99)

iVidCam Free
(free)

Kid Art
($0.99)

iPUBQUIZ
(£1.19)

ArtStudio
($3.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 04-22-2009, 01:15 AM   #3 (permalink)
Kalimba
Pro. Game Developer
iPhone Dev SDK Supporter
 
Join Date: Feb 2009
Location: żLa Islas Hermosas?
Posts: 1,429
Default

Quote:
Originally Posted by ftm View Post
Probably just using a single NIB with an image, and using touch events to capture x/y coordinates would be the simplest design. Each image would have rectangles associated with it that represent the differences. Each time a user touches the screen, the x/y location would be compared to the list of images.

Just out of curiosity... is there something that is going to make your photo hunt unique? Or is it just a learning experience for you?
I (not the OP) was thinking of doing one of these as a starter project just to get something onto the App Store, but eventually decided against it and started focusing on my "real" project. Anyways, the architecture you describe is essentially what I was thinking -- I think. Each "puzzle" would have a dataset consisting of an image (prebuilt with the different left and right side images) and a number of (x,y) positions. During game play, any touch position would be compared against all of the positions (adjusted for both the left and right panes). Any touch within a predefined radius of any of the positions would register as a correct guess, and that position would be marked as such, etc. etc. Pretty simple and straightforward implementation.
Kalimba is offline   Reply With Quote
 
Enter the iPhone App Challenge!  Win $500!
» Advertisements
» Stats
Members: 24,328
Threads: 39,127
Posts: 171,553
Top Poster: smasher (2,577)
Welcome to our newest member, jwutke
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 12:05 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.