Game development

The BlackBerry 10 Native SDK makes it easy for you to create high-performance games and port your existing games to BlackBerry 10. The Native SDK includes many features that make it a good choice for game development:

  • Guides and tutorials to help you get started
  • Compliance with POSIX and other common standards
  • Integration with game engines and middleware
  • Support for many open source libraries
  • Additional features to expand your game and make money

For the latest news, tips, and articles about BlackBerry 10 game development, check out the Inside BlackBerry Developer Blog.

First steps

If you're new to developing apps and games using the Native SDK, it can be challenging to know where to start. Documentation is available to help you get up and running quickly. You can learn how to install and set up the Native SDK, explore the features of the Momentics IDE for BlackBerry, and follow a tutorial to create your first app.

Before you can test and distribute your BlackBerry 10 apps, you need to register with BlackBerry and obtain code signing keys or a BlackBerry ID token. These elements let you sign your apps so that you can submit them to the BlackBerry World storefront for distribution. They also let you create debug tokens to test your unsigned apps on a device.

You might already have a game that you developed for a different platform, such as Android or iOS. You can port your game to BlackBerry 10 by using general porting techniques, and you can learn tips and tricks that apply to specific platforms.

Supported standards

BlackBerry 10 supports many common standards that make it easy for you to port and develop your games. These standards include:

Game engines and middleware

Depending on the type of game you're creating, you can use different development frameworks that provide the features that are most important to you. Several third-party frameworks let you build games and apps for BlackBerry 10.

Unity logo Unity

Unity lets you create high-quality 2-D and 3-D content and build projects for multiple platforms, including BlackBerry 10.

Developing using Unity Visit the Unity website

ShiVa3D logo ShiVa3D

ShiVa3D gives you the tools to create 3-D, real-time games for multiple platforms using a WYSIWYG editor.

Visit the ShiVa3D website

Marmalade logo Marmalade

Marmalade provides you with a rich and unified development toolset that targets multiple platforms.

Visit the Marmalade website

Open source libraries

BlackBerry 10 supports various open source libraries that include graphics and physics engines, collision detection, and audio processing. The list below highlights a few of the most popular open source libraries that you might want to consider for your games. For a complete list of libraries that BlackBerry 10 supports, see Library support.

Cocos2d-x

Cocos2d-x is a lightweight and powerful cross-platform game engine.

Visit the Cocos2d-x website

gameplay

Gameplay is a cross-platform, 3-D native gaming framework.

Visit the gameplay website

OGRE

OGRE is an easy-to-use graphics rendering engine.

Visit the OGRE website Check out OGRE on BlackBerry GitHub

Boost

Boost gives you a collection of peer-reviewed and portable C++ source libraries.

Visit the Boost website Check out Boost on BlackBerry GitHub

Box2D

Box2D gives you a rigid body, 2-D physics engine.

Visit the Box2D website Check out Box2D on BlackBerry GitHub

Bullet

The Bullet Physics Library gives you collision detection and rigid body dynamics in a single easy-to-use library.

Visit the Bullet website Check out Bullet on BlackBerry GitHub

Lua

Lua is an embeddable scripting language for high-performance game development.

Visit the Lua website Check out Lua on BlackBerry GitHub

V8

V8 is a JavaScript engine written in C++ and used in Google Chrome.

Visit the V8 website Check out V8 on BlackBerry GitHub

Ogg Vorbis

Ogg Vorbis is a popular audio encoding and streaming technology.

Visit the Ogg Vorbis website Check out Ogg Vorbis on BlackBerry GitHub

SDL

SDL is a multimedia library that provides low-level access to audio, 3-D hardware, 2-D video framebuffers, and peripheral hardware.

Visit the SDL website Check out SDL on BlackBerry GitHub

Additional features

The BlackBerry 10 Native SDK includes many features that you can use to enhance your games.

Social gaming using Scoreloop

The Scoreloop SDK allows you to add your game to the Games app that appears on the home screen of BlackBerry 10 devices. You can use Scoreloop to integrate social features, such as leaderboards, achievements, and challenges, into your game.

Visit the Scoreloop developer website Read the Scoreloop guide

Gamepad support

You can add support for gamepads as you develop your game. You can let users play your game using a MOGA Pro Controller, SteelSeries Free Mobile Wireless Controller, and other supported gamepads. If your game meets the requirements for gamepad support, your game can be featured in a "Gamepad-enabled" section in the BlackBerry World storefront.

Check out sample code on BlackBerry GitHub Read about gamepad support Try the gamepad tutorial

Making money from your game

In addition to letting users buy your game for a one-time price on BlackBerry World, you can add other ways to make money within your game. The Payment Service lets you sell digital goods (content, services, and so on) in your game, and the Advertising Service lets you display ads from multiple ad networks.

Learn how to make money from your app Read the Payment Service guide Read the Advertising Service guide

Last modified: 2014-06-24



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus