Back to results
Cover image for book Cocos2d-x cookbook

Cocos2d-x cookbook

By:Akihiro Matsuura
Publisher:Packt Publishing
Print ISBN:9781783284757
eText ISBN:9781783284764
Edition:1
Copyright:2015
Format:Reflowable

eBook Features

Instant Access

Purchase and read your book immediately

Read Offline

Access your eTextbook anytime and anywhere

Study Tools

Built-in study tools like highlights and more

Read Aloud

Listen and follow along as Bookshelf reads to you

Over 50 hands-on recipes to help you efficiently administer and maintain your games with Cocos2d-x

Key Features

    Book Description

    Cocos2d-x is a suite of open source, cross-platform game-development tools used by thousands of developers all over the world. Cocos2d-x is a game framework written in C++, with a thin platform-dependent layer. Completely written in C++, the core engine has the smallest footprint and the fastest speed of any other game engine, and is optimized to be run on all kinds of devices. You will begin with the initial setup and installation of Cocos2d before moving on to the fundamentals needed to create a new project. You will then explore and create the sprites, animations, and actions that you will include in the game. Next you will look at strings and create labels, including a label with True Type Font (TTF) font support. Later, you will learn about layer and scene creation and transition. Then you will create the GUI parts essential for a game, such as buttons and switches. After that, you will breathe life into the game with background music and sound effects using the all new Cocos2d-x audio engine. You will then discover how to manage resource files and implement processes that depend on the operating system. Finally, you will polish your game with physics such as gravity and elevation, learn about tools that will help you make games more robust and stable, and get to know best practices to improve the game you have developed.

    What you will learn

    • Install and set up Cocos2dx for your development environment
    • Build, test, and release game applications for iOS and Android
    • Develop your games for multiple platforms
    • Customize Cocos2dx for your games
    • Use a physical engine in your games
    • Save and load text, JSON, XML, or other formats
    • Explore the brand new features of Cocos2dx

    Who this book is for

    If you are a game developer and want to learn more about cross-platform game development in Cocos2d-x, then this book is for you. Knowledge of C++, Xcode, Eclipse, and how to use commands in the terminal are prerequisites for this book.

    • 2026 © SAU Tech Bookstore. All Rights Reserved.