Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 04-22-2009, 02:15 AM   #3 (permalink)
Kalimba
Pro. Game Developer
iPhone Dev SDK Supporter
 
Join Date: Feb 2009
Location: żLa Islas Hermosas?
Posts: 2,178
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
 

» Advertisements
» Stats
Members: 158,726
Threads: 89,184
Posts: 380,512
Top Poster: BrianSlick (7,126)
Welcome to our newest member, donbran2
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 01:04 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.