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

View Single Post
Old 06-20-2010, 12:40 PM   #2 (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

Your timer is running fine, but your image only rotates once because you are *setting* the rotating to 0.5 radians each time instead of *adding* 0.5 radians each time. Try this.

Code:
//add 0.5 radians each time
playerImage.transform = CGAffineTransformRotate(playerImage.transform,0.5);
__________________

Free Games!
smasher is offline   Reply With Quote
 

» Advertisements
» Online Users: 409
19 members and 390 guests
Absentia, apatsufas, Apptronics RBC, brainspoon, Creativ, Davor, Domele, iMax 3060, jbro, JoeRCruso, JohnnyFlash, linkmx, matador1978, mistergreen2011, Newbie123, NSString, revg, RickSDK
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,551
Threads: 94,078
Posts: 402,726
Top Poster: BrianSlick (7,990)
Welcome to our newest member, hongto24
Powered by vBadvanced CMPS v3.1.0

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