¡@

Home 

2014/10/15 ¤U¤È 10:14:44

iphone Programming Glossary: target.contentsize.height

How to draw a line inside the fish movement (OpenGLES in iPhone)?

http://stackoverflow.com/questions/10499077/how-to-draw-a-line-inside-the-fish-movement-opengles-in-iphone

initWithFile @ img2.png effect self.effect self.children addObject target Add fish image in NSMutable array int minY target.contentSize.height 2 int maxY 320 target.contentSize.height 2 int rangeY maxY minY int actualY arc4random rangeY minY if actualY 100 actualY.. self.children addObject target Add fish image in NSMutable array int minY target.contentSize.height 2 int maxY 320 target.contentSize.height 2 int rangeY maxY minY int actualY arc4random rangeY minY if actualY 100 actualY 215 target.position GLKVector2Make 480..

Random Sprite Destinations

http://stackoverflow.com/questions/3817637/random-sprite-destinations

spriteWithFile @ Frame2.png rect CGRectMake 0 0 60 120 CGSize winSize CCDirector sharedDirector winSize int minY target.contentSize.height 2 int maxY winSize.width 1.5 target.contentSize.height 2 int rangeY maxY minY int actualY arc4random rangeY minY target.position.. 120 CGSize winSize CCDirector sharedDirector winSize int minY target.contentSize.height 2 int maxY winSize.width 1.5 target.contentSize.height 2 int rangeY maxY minY int actualY arc4random rangeY minY target.position ccp actualY target.contentSize.height 5 target.contentSize.height.. 1.5 target.contentSize.height 2 int rangeY maxY minY int actualY arc4random rangeY minY target.position ccp actualY target.contentSize.height 5 target.contentSize.height 2 actualY self addChild target int minDuration 2.0 int maxDuration 4.0 int rangeDuration maxDuration..