移动游戏开发经验技术分享 -以 Looptek Game World 为例
Total Page:16
File Type:pdf, Size:1020Kb
移动游戏开发经验技术分享 -以 LoopTek Game World 为例 柯博文 柯博文个人简介: 新浪微博 @powenko 美国硅谷LoopTek公司首席技术官http://www.looptek.com 录克软体公司首席执行官http://tw.looptek.com 专注于谷歌Android和苹果iPhone手机登入软体开发,目前已经在谷歌的Android市场和iPhone 上开发销售近百款软件,并有多款曾经为十大软件,国内外数十field -大型演讲彲者,并出版 五本书籍,上百篇杂志,处理。 柯博文是美国矽谷LoopTek公司首席技术官,台北录克公司的首席执行官。从1993年起连续二 年拿下电玩设计阶段金磁片,更在1998年维普以电玩大富翁总动员拿下该年度益智类最佳游戏 大赏目前专注于谷歌Android和苹果iPhone手机登入软体发展,并为大型上市公司开发相关软 体,如台北国泰世华银行,台湾房屋等,目前已经在谷歌的Android市场和iPhone上开发销售 近百款款软体,并有多款曾经为十大软体,目前也担任中国工字钢信部电子视像行业协会的数 字平台推进中心顾问。 为何要开发游戏 智能型手机的市场现况 iOS的市场现况 iOS的市场现况 iOS的市场现况 开发游戏的几种技巧 iOS SDK- UIImageView NSArray * imageArray = [[NSArray alloc] initWithObjects:[UIImage imageNamed:@"1.png"], [UIImage imageNamed:@"2.png"], [UIImage imageNamed:@"3.png"], [UIImage imageNamed:@"4.png"], [UIImage imageNamed:@"5.png"], Nil]; UIImageView * ryuJump = [[UIImageView alloc] initWithFrame:CGRectMake(100, 125, 150, 130)]; ryuJump.animationImages = imageArray; ryuJump.animationDuration = 1.1; ryuJump.contentMode = UIViewContentModeBottomLeft; [self.view addSubview:ryuJump]; [ryuJump startAnimating]; 2D Lib, cocos2d-iPhone http://code.google.com/p/cocos2d-iphone/ 2D Objective-C Open Source 2D Lib, cocos2d-iPhone http://code.google.com/p/cocos2d-iphone/ Cocos2d-demo LoopTek 2D Game Fart Drop Swap bubble Objective-C OpenGL ES -(void)setupView:(GLView*)view { const GLfloat zNear = 0.01, zFar = 1000.0, fieldOfView = 45.0; GLfloat size; glEnable(GL_DEPTH_TEST); glMatrixMode(GL_PROJECTION); size = zNear * tanf(DEGREES_TO_RADIANS(fieldOfView) / 2.0); CGRect rect = view.bounds; glFrustumf(-size, size, -size / (rect.size.width / rect.size.height), size / (rect.size.width / rect.size.height), zNear, zFar); glViewport(0, 0, rect.size.width, rect.size.height); glMatrixMode(GL_MODELVIEW); glLoadIdentity(); glClearColor(0.0f, 0.0f, 0.0f, 1.0f); } 2D,3D, 移动游戏开发经验技术分享-以 LoopTek Game World 为例 demo:streetFighter 3D Lib Oolong Game Engine http://www.oolongengine.com/ Open source Objective-C 3D Lib CubicVR 3D Engine http://www.cubicvr.org/ Open Source C++ free 3D Lib- GarageGames http://www.garagegames.com/ Cross platform C like $$$ 3D Lib- GarageGames http://www.garagegames.com/ function MyTrigger::onEnter(%this, %object) { // Get the name of the object that entered the trigger %name = %object.getName(); echo(%name @ " entered this trigger"); } function MyTrigger::onLeave(%this, %object) { // Get the name of the object that left the trigger %name = %object.getName(); echo(%name @ " exited this trigger"); } 3D Lib, ShiVa 3D http://www.stonetrip.com/ Cross platform C++ $$$ 2D,3D, 移动游戏开发经验技术分享-以 LoopTek Game World 为例 Libs Irrlicht Engine: Cocos2D: UtopiaGL: Icarus Studios: Living Arcana: Yeti3D: Cube: 3D Lib Unity http://unity3d.com/ Cross platform C#, Javascript $$$ LoopTek Lucy's Maze looptek_ballgame.mov 3D, LoopTek Shooting World 新浪微博 @powenko LoopTek http://www.looptek.com .