最新章節
- Index
- Useful resources
- Blank screen error
- Provision profile error
- No Java runtime error
- Porting a project to Android
品牌:中圖公司
上架時間:2021-07-16 09:29:51
出版社:Packt Publishing
本書數字版權由中圖公司提供,并由其授權上海閱文信息技術有限公司制作發行
- Index 更新時間:2021-07-16 09:44:14
- Useful resources
- Blank screen error
- Provision profile error
- No Java runtime error
- Porting a project to Android
- Running the SpriteBuilder project on a device
- Enabling USB debugging on a device
- Installing the Android Xcode plugin
- Introduction
- Chapter 11. Porting to Android
- SpriteBuilder basics
- Implementing Cocos2d Swift
- Implementing the Swift syntax
- Introduction
- Chapter 10. Swift/SpriteBuilder Basics
- PhysicsEditor
- TexturePacker
- Particle system
- Glyph Designer
- Introduction
- Chapter 9. Game Tools
- Adding 2D lighting
- Adding the particle effect
- Adding the motion streak effect
- Adding the glass effect
- CCEffects
- Introduction
- Chapter 8. Effects
- Using NSUserDefaults
- Saving the PLIST file data
- Loading the PLIST file data
- Loading the JSON file data
- Saving to the XML file data
- Loading the XML file data
- Introduction
- Chapter 7. Data Storage and Retrieval
- A* pathfinding
- Chasing enemy behavior
- Projectile shooting enemy
- Patrol enemy behavior
- Introduction
- Chapter 6. AI and A* Pathfinding
- Adding a pause and resume button
- Adding a volume slider
- Adding a mute button
- Adding audio effects
- Adding background music
- Introduction
- Chapter 5. Audio
- Adding a game loop and scoring
- Adding motor joints
- Adding revolute joints
- Collision detection
- Applying force with the accelerometer
- Applying impulse with the touch control
- Changing body properties
- Creating complex shapes
- Creating composite bodies
- Adding sprite texture to physics objects
- Looking at different body types
- Adding physics objects
- Adding physics to a game scene
- Introduction
- Chapter 4. Physics
- Adding a directional pad
- Adding an accelerometer
- Customizing touches in the sprite class
- Moving objects with touchMoved
- Creating objects with touchBegan
- Including touches
- Adding panning
- Adding rotation objects
- Adding pinch/zoom controls
- Adding LongPress
- Implementing tap
- Understanding swipe
- Introduction
- Chapter 3. Gestures Touches and the Accelerometer
- Scrolling a Level Selection Scene
- Adding a Level Selection Scene
- Adding transition effects
- Transitioning between scenes
- Adding a Gameplay Scene
- Adding buttons with CCMenu
- Adding text using CCLabel
- Adding a MainMenu Scene
- Introduction
- Chapter 2. Scenes and Menus
- Adding the parallax effect
- Drawing glPrimitives
- Adding actions to sprites
- Animating sprites
- Creating a custom sprite class
- Creating a sprite using RenderTexture
- Adding sprites to scenes
- Getting access to MainScene
- The 2D coordinate system
- Downloading and installing Cocos2d
- Introduction
- Chapter 1. Sprites and Animations
- Customer support
- Reader feedback
- Conventions
- Sections
- Who this book is for
- What you need for this book
- What this book covers
- Preface
- eBooks discount offers and more
- www.PacktPub.com
- About the Reviewers
- Acknowledgments
- About the Author
- Credits
- 版權頁
- 封面
- 封面
- 版權頁
- 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