Have a personal or library account? Click to login
Cocos2d-x by example (update) Cover

Cocos2d-x by example (update)

Unleash your inner creativity with the popular Cocos2d-x framework and learn how to build great cross-platform 2D games with this Cocos2dx tutorial

Paid access
|Sep 2025
Product purchase options

Key Features

    Book Description

    If you are a game enthusiast who would like to develop and publish your own game ideas onto different app stores, this is the book for you. Some knowledge of C++ or Java is helpful but not necessary.

    What you will learn

    • Add timesaving and funlooking animations to your projects
    • Make your games look cooler with particle effects
    • Draw lines, circles, and other primitives on the screen
    • Create place holder sprites to quickly test your game ideas
    • Load external data into your games
    • Create projects and deploy them to iOS and Android
    • Prepare your game for a variety of screen sizes and resolutions
    • Use the CocosIDE and the Lua bindings to develop a game

    Who this book is for

    If you are a game enthusiast who would like to develop and publish your own game ideas onto different app stores, this is the book for you. Some knowledge of C++ or Java is helpful but not necessary.

    Table of Contents

    1. Installation and 'Hello'
    2. You plus C++
    3. Your First Game: Air Hockey
    4. Fun with Sprites: Sky Defence
    5. On the Line: Rocket Through
    6. Quick and Easy Sprites: Victorian Rush Hour
    7. Adding the Looks: Victorian Rush Hour Part 2
    8. Getting Physical: Box2d
    9. The Sixth Game: Eskimo
    10. Scripting with Cocos2d-x
    11. Appendix
    PDF ISBN: 978-1-78528-107-5
    Publisher: Packt Publishing Limited
    Copyright owner: © 2015 Packt Publishing Limited
    Publication date: 2025
    Language: English
    Pages: 270