i in process of making game avalanche ipod family. have random objects appearing @ top , dropping down set of lines go :
[uiview setanimationsdidstopselector:@selector(onanimationcomplete:finished:context:)]; [uiview setanimationdelegate:self]; [uiview commitanimations];
i have created uiimageview so:
uiimageview* debrisview= [[uiimageview alloc] initwithimage: debris];
i want put debrisview in array , iterate through see frame (or coordinates). want able compare coordinates player see if touch , not (therefore game over). how add multiple (more 500) "debrisview" array, compare frame within array moveable uiimageview.. named player see if coordinates of falling debris match or touching player? , far memory goes, how rid of "debrisview" in array when object touches bottom screen? please point me in right direction or explain me? new objective - c. appreciated. in advance!
-dustin
as far memory goes, shouldn't using uikit this. cocos2d better games, , can use box2d or chipmunk physics.
Comments
Post a Comment