Learning Cocos2D: A Hands-On Guide to Building iOS Games with Cocos2D, Box2D, and Chipmunk (Paperback)

Rod Strougo, Ray Wenderlich

買這商品的人也買了...

商品描述

Build the Next Great iOS Game with Cocos2D!

 

Cocos2D is the powerhouse framework behind some of the most popular games in the App Store. If you’ve played Tiny Wings, Angry Birds, Mega Jump, Trainyard, or even Super Turbo Action Pig, then you’ve played a game that uses Cocos2D or Box2D physics. The beauty of Cocos2D is its simplicity. It’s easy to become overwhelmed when you start developing an iOS game, especially if you look at things like OpenGL ES, OpenAL, and other lower level APIs. Writing a game for the iPhone and iPad does not have to be that difficult, and Cocos2D makes game development fun and easy.

 

Learning Cocos2D walks you through the process of building Space Viking (which is free on the App Store), a 2D scrolling game that leverages Cocos2D, Box2D, and Chipmunk. As you build Space Viking, you’ll learn everything you need to know about Cocos2D so you can create the next killer iOS game.

 

Download the free version of Space Viking from the App Store today! Help Ole find his way home while learning how to build the game.

 

As you build Space Viking, you’ll learn how to

 

  • Install and configure Cocos2D so it works with Xcode 4
  • Build a complete 2D action adventure game with Cocos2D
  • Add animations and movement to your games
  • Build your game’s main menu screen for accessing levels
  • Use Cocos2D’s Scheduler to make sure the right events happen at the right times
  • Use tile maps to build scrolling game levels from reusable images
  • Add audio and sound effects with CocosDenshion—Cocos2D’s sound engine
  • Add gravity, realistic collisions, and even ragdoll effects with Box2D and Chipmunk physics engines
  • Add amazing effects to your games with particle systems
  • Leverage Game Center in your game for achievements and leader boards
  • Squeeze the most performance from your games along with tips and tricks

商品描述(中文翻譯)

使用Cocos2D建立下一個偉大的iOS遊戲!

Cocos2D是App Store中一些最受歡迎的遊戲背後的強大框架。如果你玩過《Tiny Wings》、《Angry Birds》、《Mega Jump》、《Trainyard》甚至是《Super Turbo Action Pig》,那麼你玩的遊戲就是使用了Cocos2D或Box2D物理引擎。Cocos2D的美妙之處在於它的簡單性。當你開始開發iOS遊戲時,很容易感到不知所措,特別是當你接觸到OpenGL ES、OpenAL和其他低階API時。但是,開發iPhone和iPad遊戲並不需要那麼困難,而Cocos2D使遊戲開發變得有趣且輕鬆。

《學習Cocos2D》將引導你進行建立《Space Viking》(在App Store上免費提供)的過程,這是一款2D捲軸遊戲,利用了Cocos2D、Box2D和Chipmunk。在建立《Space Viking》的過程中,你將學習關於Cocos2D的一切,以便能夠創建下一款熱門的iOS遊戲。

立即從App Store下載免費版本的《Space Viking》!在幫助Ole找到回家的路的同時,學習如何建立這款遊戲。

在建立《Space Viking》的過程中,你將學習如何:

- 安裝和配置Cocos2D,使其與Xcode 4配合使用
- 使用Cocos2D建立完整的2D動作冒險遊戲
- 為遊戲添加動畫和移動效果
- 建立遊戲的主菜單屏幕以訪問關卡
- 使用Cocos2D的Scheduler確保事件在正確的時間發生
- 使用圖塊地圖從可重複使用的圖像構建捲軸遊戲關卡
- 使用CocosDenshion(Cocos2D的音效引擎)添加音頻和音效
- 使用Box2D和Chipmunk物理引擎添加重力、真實碰撞甚至布娃娃效果
- 使用粒子系統為遊戲添加驚人的效果
- 在遊戲中利用Game Center實現成就和排行榜
- 通過技巧和提示獲得遊戲的最佳性能