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 12-09-2009, 12:05 AM   #15 (permalink)
rahul7star
Registered Member
 
Join Date: Aug 2009
Posts: 126
rahul7star is on a distinguished road
Default

can we calculate the value form center of image rather then origin??
int dx = player.frame.origin.x - wood.frame.origin.x;
int dy = player.frame.origin.y - wood.frame.origin.y;
rahul7star is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 175,387
Threads: 94,003
Posts: 402,459
Top Poster: BrianSlick (7,978)
Welcome to our newest member, latoncefrank
Powered by vBadvanced CMPS v3.1.0

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