目錄(117章)
倒序
- 封面
- 版權頁
- Credits
- About the Author
- Acknowledgments
- About the Reviewers
- www.PacktPub.com
- eBooks discount offers and more
- Preface
- What this book covers
- What you need for this book
- Who this book is for
- Sections
- Conventions
- Reader feedback
- Customer support
- Chapter 1. Sprites and Animations
- Introduction
- Downloading and installing Cocos2d
- The 2D coordinate system
- Getting access to MainScene
- Adding sprites to scenes
- Creating a sprite using RenderTexture
- Creating a custom sprite class
- Animating sprites
- Adding actions to sprites
- Drawing glPrimitives
- Adding the parallax effect
- Chapter 2. Scenes and Menus
- Introduction
- Adding a MainMenu Scene
- Adding text using CCLabel
- Adding buttons with CCMenu
- Adding a Gameplay Scene
- Transitioning between scenes
- Adding transition effects
- Adding a Level Selection Scene
- Scrolling a Level Selection Scene
- Chapter 3. Gestures Touches and the Accelerometer
- Introduction
- Understanding swipe
- Implementing tap
- Adding LongPress
- Adding pinch/zoom controls
- Adding rotation objects
- Adding panning
- Including touches
- Creating objects with touchBegan
- Moving objects with touchMoved
- Customizing touches in the sprite class
- Adding an accelerometer
- Adding a directional pad
- Chapter 4. Physics
- Introduction
- Adding physics to a game scene
- Adding physics objects
- Looking at different body types
- Adding sprite texture to physics objects
- Creating composite bodies
- Creating complex shapes
- Changing body properties
- Applying impulse with the touch control
- Applying force with the accelerometer
- Collision detection
- Adding revolute joints
- Adding motor joints
- Adding a game loop and scoring
- Chapter 5. Audio
- Introduction
- Adding background music
- Adding audio effects
- Adding a mute button
- Adding a volume slider
- Adding a pause and resume button
- Chapter 6. AI and A* Pathfinding
- Introduction
- Patrol enemy behavior
- Projectile shooting enemy
- Chasing enemy behavior
- A* pathfinding
- Chapter 7. Data Storage and Retrieval
- Introduction
- Loading the XML file data
- Saving to the XML file data
- Loading the JSON file data
- Loading the PLIST file data
- Saving the PLIST file data
- Using NSUserDefaults
- Chapter 8. Effects
- Introduction
- CCEffects
- Adding the glass effect
- Adding the motion streak effect
- Adding the particle effect
- Adding 2D lighting
- Chapter 9. Game Tools
- Introduction
- Glyph Designer
- Particle system
- TexturePacker
- PhysicsEditor
- Chapter 10. Swift/SpriteBuilder Basics
- Introduction
- Implementing the Swift syntax
- Implementing Cocos2d Swift
- SpriteBuilder basics
- Chapter 11. Porting to Android
- Introduction
- Installing the Android Xcode plugin
- Enabling USB debugging on a device
- Running the SpriteBuilder project on a device
- Porting a project to Android
- No Java runtime error
- Provision profile error
- Blank screen error
- Useful resources
- Index 更新時間:2021-07-16 09:44:14
推薦閱讀
- C++案例趣學
- 大學計算機基礎(第三版)
- ASP.NET 3.5程序設計與項目實踐
- 劍指Java:核心原理與應用實踐
- C語言開發基礎教程(Dev-C++)(第2版)
- Java面向對象程序設計
- Python機器學習:預測分析核心算法
- Programming with CodeIgniterMVC
- GitHub入門與實踐
- Deep Learning with R Cookbook
- 大學計算機基礎實驗指導
- Qt 4開發實踐
- Xamarin Cross-Platform Development Cookbook
- UML基礎與Rose建模實用教程(第三版)
- Elasticsearch搜索引擎構建入門與實戰
- Mastering Python
- Mastering Machine Learning with scikit-learn
- LibGDX Game Development By Example
- PHP程序設計高級教程
- 現代JavaScript編程:經典范例與實踐技巧
- 鯤鵬架構入門與實戰
- Android從入門到精通(微視頻精編版)
- 樹莓派Python編程指南
- Mastering Grunt
- Zabbix Cookbook
- Scratch尋寶之旅
- Jenkins Essentials(Second Edition)
- 數據結構編程實驗(第3版)
- Redis設計與實現
- AMD FPGA設計優化寶典:面向Vivado/VHDL