Tag Archives: iPhone Game Development

cocos2d v1.0.0-rc2 released for iPhone iPad iOS Developer

cocos2d for iPhone v1.0.0-rc2 is available for download: cocos2d-iphone-1.0.0-rc2.tar.gz Highlights: Xcode 4 templates improvements Support for Particle Designer 1.3.70 Full Changelog: CHANGELOG Release Notes: Release_Notes API Reference: API Reference

Leave a comment Continue Reading →

[iOS News Update] iOS 4.3 beta 3 is Available Now

[iOS News Update] iOS 4.3 beta 3 is Available Now [iOS News Update] iOS 4.3 beta 3 is Available Now iOS 4.3 beta 3 and iOS 4.3 SDK beta 3 are now available from the iOS Dev Center. Only install iOS 4.3 beta on devices dedicated to testing apps built with iOS SDK 4.3 beta. [...]

Leave a comment Continue Reading →

[iOS News Update] iOS 4.3 beta is Available Now

[iOS News Update] iOS 4.3 beta is Available Now iPhone iPad iOS development services Xcode and iOS SDK 4.3 beta This is a pre-release version of the iOS SDK, as part of the complete Xcode developer toolset for Mac, iPhone, iPod touch, and iPad. Please review the Release Notes, and Readme before installing. AirPlay Stream video from your [...]

Leave a comment Continue Reading →

[Cocos2d] Cocos2D and UIScrollView iPhone Game Development

CocosOverlayViewController.h [code=""""""""""] #import @interface CocosOverlayViewController : UIViewController { } @end [/code] CocosOverlayViewController.m [code=""""""""""] #import "CocosOverlayViewController.h" #import "CocosOverlayScrollView.h" @implementation CocosOverlayViewController // Implement loadView to create a view hierarchy programmatically, without using a nib. - (void)loadView { CocosOverlayScrollView *scrollView = [[CocosOverlayScrollView alloc] initWithFrame:[UIScreen mainScreen].applicationFrame]; // NOTE - I have hardcoded the size to 1024x1024 as that is [...]

Leave a comment Continue Reading →

cocos2d v0.99.5 released. Mac, Retina Display and PVR textures

Mac support cocos2d now supports Mac as a target platform! Porting your cocos2d (iOS) game to Mac is really easy. If your game only uses cocos2d then the only thing that you have to modify is event handling code. eg: Replace accelerometer/touches code with keyboard/mouse code. All the cocos2d for iOS functionality is present on [...]

Leave a comment Continue Reading →

[Cocos2d] Find object by Tag

[code=""] -(id) init { if ((self = [super init])) { CCLabel* label = [CCLabel labelWithString:@"Hello World" fontName:@"Marker Felt" fontSize:64]; CGSize size = [[CCDirector sharedDirector] winSize]; label.position = CGPointMake(size.width / 2, size.height / 2); [self addChild: label]; label.tag = 13; self.isTouchEnabled = YES; } return self; } -(void) ccTouchesBegan:(NSSet*)touches withEvent:(UIEvent*)event; { CCLabel* label = (CCLabel*)[self getChildByTag:13]; [...]

Leave a comment Continue Reading →