Tag Archives: Game

Microsoft Introduces Surface – May be an iPad Killer.

By | June 21, 2012

when Microsoft unveiled the Surface tablet (actually a pair of them) Monday, the software company clearly had one ultimate goal: to make a tablet that’s better than the iPad. Unlike some hasty competitors, Microsoft took its time getting into the tablet game. Earlier this year, the company rolled out the Windows 8 operating system, software that is optimized… Read More »

How to use CCProgressTimer in Cocos2D to show progress?

By | April 7, 2012

The progress timer takes a sprite and, based on a percentage, displays only a part of it to visualize some kind of progress in your game. [java] CCProgressTimer* timer = [CCProgressTimer progressWithFile:@"progress.png"]; timer.type = kCCProgressTimerTypeRadialCCW; timer.percentage = 0; [self addChild:timer z:1 tag: my_tag]; // The update is needed for the progress timer. [self scheduleUpdate]; [/java] You can choose… Read More »

Creating Menu in Iphone Cocos2D or Box2D?

By | April 3, 2012

Use CCMenuItemSprite and CCMenu in iPhone to create menu. [java] -(void) setUpMenu { CCSprite *Home1 = [CCSprite spriteWithFile:@"Home1.png"]; CCSprite *Home2 = [CCSprite spriteWithFile:@"Home1.png"]; Home2.opacity = 100; CCSprite *Levels1 = [CCSprite spriteWithFile:@"levels2.png"]; CCSprite *Levels2 = [CCSprite spriteWithFile:@"levels2.png"]; Levels2.opacity = 100; CCSprite *Refresh1 = [CCSprite spriteWithFile:@"refresh.png"]; CCSprite *Refresh2 = [CCSprite spriteWithFile:@"refresh.png"]; Refresh2.opacity = 100; CCSprite *go_back1 = [CCSprite spriteWithFile:@"back2.png"]; CCSprite… Read More »

Creating Menu in Iphone Cocos2D or Box2D?

By | April 3, 2012

Use CCMenuItemSprite and CCMenu in iPhone to create menu. [java] -(void) setUpMenu { CCSprite *Home1 = [CCSprite spriteWithFile:@"Home1.png"]; CCSprite *Home2 = [CCSprite spriteWithFile:@"Home1.png"]; Home2.opacity = 100; CCSprite *Levels1 = [CCSprite spriteWithFile:@"levels2.png"]; CCSprite *Levels2 = [CCSprite spriteWithFile:@"levels2.png"]; Levels2.opacity = 100; CCSprite *Refresh1 = [CCSprite spriteWithFile:@"refresh.png"]; CCSprite *Refresh2 = [CCSprite spriteWithFile:@"refresh.png"]; Refresh2.opacity = 100; CCSprite *go_back1 = [CCSprite spriteWithFile:@"back2.png"]; CCSprite… Read More »

Creating Menu in Iphone Cocos2D or Box2D?

By | April 3, 2012

Use CCMenuItemSprite and CCMenu in iPhone to create menu. [java] -(void) setUpMenu { CCSprite *Home1 = [CCSprite spriteWithFile:@"Home1.png"]; CCSprite *Home2 = [CCSprite spriteWithFile:@"Home1.png"]; Home2.opacity = 100; CCSprite *Levels1 = [CCSprite spriteWithFile:@"levels2.png"]; CCSprite *Levels2 = [CCSprite spriteWithFile:@"levels2.png"]; Levels2.opacity = 100; CCSprite *Refresh1 = [CCSprite spriteWithFile:@"refresh.png"]; CCSprite *Refresh2 = [CCSprite spriteWithFile:@"refresh.png"]; Refresh2.opacity = 100; CCSprite *go_back1 = [CCSprite spriteWithFile:@"back2.png"]; CCSprite… Read More »

Creating Menu in Iphone Cocos2D or Box2D?

By | April 3, 2012

Use CCMenuItemSprite and CCMenu in iPhone to create menu. [java] -(void) setUpMenu { CCSprite *Home1 = [CCSprite spriteWithFile:@"Home1.png"]; CCSprite *Home2 = [CCSprite spriteWithFile:@"Home1.png"]; Home2.opacity = 100; CCSprite *Levels1 = [CCSprite spriteWithFile:@"levels2.png"]; CCSprite *Levels2 = [CCSprite spriteWithFile:@"levels2.png"]; Levels2.opacity = 100; CCSprite *Refresh1 = [CCSprite spriteWithFile:@"refresh.png"]; CCSprite *Refresh2 = [CCSprite spriteWithFile:@"refresh.png"]; Refresh2.opacity = 100; CCSprite *go_back1 = [CCSprite spriteWithFile:@"back2.png"]; CCSprite… Read More »