首页> 外文期刊>MacTech magazine >Game Development for iPad, iPhone and iPod Touch: Using the cocos2d and Chipmunk Frameworks Tools for building 20 games
【24h】

Game Development for iPad, iPhone and iPod Touch: Using the cocos2d and Chipmunk Frameworks Tools for building 20 games

机译:iPad,iPhone和iPod Touch的游戏开发:使用cocos2d和Chipmunk框架工具构建20个游戏

获取原文
获取原文并翻译 | 示例
       

摘要

Last time, we looked at the cocos2d for iPhone graphics framework, and the Chipmunk Physics Engine. If you followed the instructions from Part 1, you have already installed both libraries and played around with the examples. If not, please check out Part 1, because we're going to hit the ground running.rnIn this article, we will build a simple pachinko game. When the user taps the screen, a ball will fall from the top, and bounce off a number of pins. If it goes into the target, a bell will ring. Otherwise, the ball simply exits off the bottom of the screen. We will try to keep this simple, and focused on the graphics and physics engines. There's no score. No ability to affect the ball once it is launched, and only very simple sound effects. Still, by the time we're done you should have a good handle on how to use cocos2d and Chipmunk in your own projects. So, without further introduction, let's jump right into the code.
机译:上次,我们研究了用于iPhone图形框架的cocos2d和Chipmunk Physics Engine。如果您按照第1部分中的说明进行操作,那么您已经安装了这两个库并使用了示例。如果没有,请查看第1部分,因为我们将要开始运作。在本文中,我们将构建一个简单的弹球游戏。当用户点击屏幕时,一个球将从顶部掉落,并弹开许多别针。如果它进入目标,则会响铃。否则,球只会从屏幕底部离开。我们将尝试保持简单,并专注于图形和物理引擎。没有分数。一旦发射球,就不会影响球,只能产生非常简单的声音效果。不过,到完成时,您应该已经掌握了如何在自己的项目中使用cocos2d和Chipmunk的知识。因此,无需进一步介绍,让我们直接进入代码。

著录项

  • 来源
    《MacTech magazine》 |2010年第3期|p.60-626466-72|共11页
  • 作者

    Rich Warren;

  • 作者单位
  • 收录信息
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类
  • 关键词

  • 入库时间 2022-08-18 01:47:48

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号