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

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

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

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

Thread: Random Rocks
View Single Post
Old 03-06-2010, 02:06 PM   #65 (permalink)
smasher
Registered Member
iPhone Dev SDK Supporter
 
smasher's Avatar
 
Join Date: Jul 2008
Location: San Mateo, CA (San Fran)
Posts: 3,858
smasher will become famous soon enough
Default

Quote:
Originally Posted by Exaviorn View Post
Would you know how to put an individual score on a "rock" so it takes e.g:5 taps on one 'rock" to remove the rock view?

Thanks
At that point you can no longer have an array of UIViews - you should probably make your own "Rock" class that inherits from NSObject and has a pointer to a UIImageView, along with a counter for the score or hit points or velocity or angle or whatever else you need.
__________________

Free Games!
smasher is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 175,535
Threads: 94,052
Posts: 402,640
Top Poster: BrianSlick (7,979)
Welcome to our newest member, Chayolei001
Powered by vBadvanced CMPS v3.1.0

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