Learning Cocos2d-JS Game Development(Paperback)

Emanuele Feronato

  • 出版商: Packt Publishing
  • 出版日期: 2015-01-16
  • 售價: $1,420
  • 貴賓價: 9.5$1,349
  • 語言: 英文
  • 頁數: 188
  • 裝訂: Paperback
  • ISBN: 1784390070
  • ISBN-13: 9781784390075
  • 相關分類: 遊戲引擎 Game-engine
  • 海外代購書籍(需單獨結帳)

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

相關主題

商品描述

Learn to create robust and engaging cross-platform HTML5 games using Cocos2d-JS

About This Book

  • Create HTML5 games running both on desktop and mobile devices, played with both mouse and touch controls
  • Add advanced features such as realistic physics, particle effects, scrolling, tweaking, sound effects, background music, and more to your games
  • Build exciting cross-platform games and build a memory game, an endless runner and a physics-driven game

Who This Book Is For

If you are new to game development or have just gotten your teeth into developing games but desire to learn more, then this book is for you. An understanding of the essentials of JavaScript is required.

What You Will Learn

  • Discover the basics behind each game genre, from endless runners to puzzles, and from physics games to match games
  • Target different resolutions, screen sizes, screen ratios, and deal with landscape and portrait screens
  • Place and move sprites on the screen, using scrolling and tweening for smooth movements
  • Enhance your game by adding sound effects and background music
  • Create physics-driven games with unmatched realism
  • Create and destroy bodies with a single touch while managing forces, collisions, and gravity
  • Improve your game's visual appeal by adding particles to generate explosions, fire trails, and other appealing effects
  • Manage resources and save memory by packing all your graphic assets in a single file

In Detail

Whether you are new to game development or an experienced developer, you will be surprised by how easy it is to create HTML5 cross-platform games with Cocos2d-JS. In this book, you will use JavaScript to create spectacular and exciting games of different genres.

Without any dreary theory, which often discourages technical book readers, each chapter will guide you through the creation of different games, each packed with new and exciting features.

You will begin by learning the basics of a cross-platform game. You'll also learn to animate, rotate, scroll, and tween sprites. You will learn to make your game more enticing by adding your own special touch using features such as music, sound effects, and physics. You'll also learn to protect, sitelock, export, and publish the games you have created. By the end of the book, you'll have created a complete cross-platform game right from scratch, featuring leader boards and third-party adverts, complete with the final polish every game should require.

商品描述(中文翻譯)

學習使用Cocos2d-JS創建強大且引人入勝的跨平台HTML5遊戲

關於本書
- 創建可在桌面和移動設備上運行的HTML5遊戲,並支援滑鼠和觸控控制
- 為遊戲添加高級功能,如逼真的物理效果、粒子效果、滾動、調整、音效、背景音樂等
- 構建令人興奮的跨平台遊戲,包括記憶遊戲、無盡奔跑遊戲和物理驅動遊戲

本書適合對遊戲開發新手或剛開始涉足遊戲開發但希望學習更多的讀者。需要對JavaScript的基本知識有一定的了解。

你將學到什麼
- 了解各種遊戲類型的基礎知識,從無盡奔跑遊戲到解謎遊戲,從物理遊戲到匹配遊戲
- 適應不同的解析度、螢幕尺寸、螢幕比例,處理橫向和縱向螢幕
- 在螢幕上放置和移動精靈,使用滾動和緩動實現平滑移動
- 通過添加音效和背景音樂來增強遊戲體驗
- 創建具有無與倫比逼真度的物理驅動遊戲
- 通過單點觸控創建和銷毀物體,同時管理力量、碰撞和重力
- 通過添加粒子效果生成爆炸、火焰軌跡和其他吸引人的效果,提升遊戲的視覺吸引力
- 通過將所有圖形資源打包到單個文件中,管理資源並節省內存

詳細內容
無論你是遊戲開發新手還是經驗豐富的開發者,你都會驚訝地發現使用Cocos2d-JS創建HTML5跨平台遊戲有多麼簡單。在本書中,你將使用JavaScript創建不同類型的壯觀而令人興奮的遊戲。

每一章都會引導你通過創建不同的遊戲來學習,每個遊戲都充滿了新奇和刺激的功能,不會有沉悶的理論,這通常會使技術書籍的讀者感到沮喪。

你將從學習跨平台遊戲的基礎知識開始。你還將學習如何為精靈添加動畫、旋轉、滾動和緩動效果。你將學習如何通過添加自己的特色,如音樂、音效和物理效果,使遊戲更具吸引力。你還將學習如何保護、鎖定、導出和發布你創建的遊戲。通過本書的學習,你將從頭開始創建一個完整的跨平台遊戲,包括排行榜和第三方廣告,並完成遊戲所需的最後修飾。