Skip to content
This website uses cookies. By continuing to browse this site you are agreeing to our use of cookies. Find out more on our cookie page. ×
  • BlackBerry Developer
  • Useful links
  • Blog
  • YouTube
  • Forum
  • Signing
  • Login
  • Register

Would you like to tell us how we are doing?

You bet No thanks
Native SDK for BlackBerry 10
Release Notes for SDK
  • Downloads
  • Sample apps
  • Documentation
  • Reference
Oops, it seems like you're using an old browser that we do not fully support. If you're able to, please upgrade your browser here. ×
This website uses cookies. By continuing to browse this site you are agreeing to our use of cookies. Find out more on our cookie page. ×
Native SDK for BB10
  • Downloads
  • Sample apps
  • Documentation
  • Reference
  • Release Notes for SDK
A header image for the Cocos2D-X article.

Featured library: Cocos2D-X

Published: September 4th, 2013

View in GitHub

Learn about Cocos2D-X, a supported open source library

One of the benefits of developing apps for BlackBerry 10 is the wide range of open source libraries that we support. If you've already written an app or a game to run on another platform using one of these libraries, you can port your game to run on BlackBerry 10 with very little effort. This week, we look at some of the features of the Cocos2D-X library.

Cocos2D-X is a popular game development framework, and it's fully supported for use with BlackBerry 10. Cocos2D-X is a cross-platform port of the original Cocos2D library and is written in C++. It provides a robust game engine and a set of classes that can help you build cross-platform games. There are a lot of features of Cocos2D-X that make it an appealing choice for game development, including:

Image showing the Cocos2D-X logo.
  • Flow control: Manage different scenes in your app
  • Sprites: Use sprites for game objects
  • Actions: Apply actions directly to sprites, such as move, rotate, scale, and so on
  • Particle systems: Create effects such as explosions, fireworks, smoke, and more
  • Collisions: Support collision detection in your game
  • Menus: Build menus directly in the framework
  • Text rendering: Write text strings and render them directly in your game

If you're looking for a flexible open source library to start developing games, Cocos2D-X might be the answer. If you've already created a game using Cocos2D-X, expand your audience by porting your game to BlackBerry 10. Check out the Cocos2D-X library on BlackBerry GitHub to get started. If you're looking for some tips, read our Cocos2D-X blog post on the Inside BlackBerry Developer Blog. Finally, if you want to learn about the other open source libraries that we support, take a look at the full list.

Featured sample: XandOsFeatured API: Identity Service

Archive

  • Native documentation revisited
  • 3.0 Gold plug-in for Visual Studio
  • Featured sample: Belt
  • 10.3.1 Gold is here!
  • That's so Classic!
  • Static asset selection
  • Get on the grid
  • Design units in 10.3
  • Momentics IDE 2.1 Gold is here!
  • Networking 101
  • Plug-in for Visual Studio is Gold!
  • Lights, sounds, previews!
  • New on the Dev Blog - January 2014
  • Updates to start off the New Year
  • Money, money, money!
  • We want your feedback!
  • New plug-in for Microsoft Visual Studio
  • Dev Blog - Blast from the past
  • Featured API: String pattern registry
  • New on the Dev Blog - October 2013
  • Momentics IDE 2.0 is here!
  • Featured library: Unified Data Source
  • Training for Native Developers
  • What's new on the Developer Blog
  • Do you read the release notes?
  • Featured sample: XandOs
  • Featured library: Cocos2D-X
  • Featured API: Identity Service
  • Updates in 10.2 Gold
  • Analyze your apps using profiling
  • Featured sample: Pull My Beard

Technologies

  • Native
  • HTML5
  • AIR
  • Android
  • PlayBook
  • BlackBerry OS

Programs

  • Partner Program
  • Academic programs
  • Developer groups
  • BlackBerry 10 Dev Alpha
  • Built for BlackBerry
  • BlackBerry Builder

Support

  • Code Signing Help
  • YouTube Channel
  • Developer forums
  • Knowledge Base

BlackBerry World

  • Sign your app
  • Submitting your app

Follow us on:

  • Facebook
  • YouTube
  • Twitter
  • BlackBerry Blogs
  • BBM Channels
BBM Channels

BBM Channels

Developer Relations is on BBM Channels! Join the conversation by signing up for the beta program and scanning the barcode to the right.

Register for BBM Channels beta ›
  • Legal & Trademarks
Copyright © 2018 BlackBerry Limited, unless otherwise noted.
  1. 1. Download the tools

    Before you start developing, you'll need to visit the Downloads tab. Here you'll find downloads for the BlackBerry 10 Native SDK, BlackBerry 10 Device Simulator, and some other useful tools.

  2. 2. Try the sample apps

    Now featuring a filter control, the Sample apps tab allows you to search for samples by name or by feature.

    Select either the Core or Cascades radio buttons to display the samples relevant to you.

  3. 3. Educate yourself

    The Documentation tab contains tons of examples, tutorials, and best practices to guide you along the path towards building an awesome app.

    You can access all the documentation that you need in the left-hand navigation.

  4. 4. Start developing

    The Reference tab is where you'll find essential details about how to use our APIs.

    You can use the left-hand navigation to choose how you would like to browse the reference: by module, by topic, or alphabetically. If you have an idea of what you are looking for, start typing it in the Filter box.