Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

alov

macrumors newbie
Original poster
Oct 7, 2009
1
0
ok so i am writing a game and i am trying to have a back groundmove and the player stays in the middle of the screen. I have the Background in a UIImageView (made in IB) and the player in a second on. This is causing lagg and such even though i have the player walking code in a thread (all it does it change the image) and the background movement code as the main. My question is

1. Does UIImage view move the view or the picture when i say somthing like
Code:
imageplayer.center = CGPointMake(imageplayer.center.x, imageplayer.center.y+3);
2. Is there a better method i could use to do this with massive images around the 1mb size
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.