3
minute read

Monitor errors in Cocos2d-x games with Bugsnag

Zeba Naqvi

We are excited to announce that Bugsnag now officially supports error monitoring for applications built with the open source game development framework Cocos2d-x.

What is Cocos2d-x?

Cocos2d-x enables games to run on multiple platforms from a single code base. The framework provides rich functions such as graphics rendering, GUI, audio, network, physics, user input, etc., and is widely used in game development and interactive application construction.

Growing popularity

According to a Global Entertainment and Media Market 2019 report, video games are forecasted to grow at a compound annual growth rate of 14.95% from 2019 to 2030. Within video games, mobile gaming is the largest segment and represents 45% of the global games market.

Today, Cocos2d-x has almost 1.4 million registered developers, and is being used to create 25,000 games that are played by 1 billion people. According to AppBrains, Cocos2d-x is the second most popular games framework on Android after Unity. 

Bugsnag already supports Unity and our notifier is being used by prominent game developers including Zynga, FoxNext Games, and WB Games. If you are interested in learning more about Unity, we recently analyzed Unity gaming platform trends in this report

We’re excited about extending our support for gaming platforms to include Cocos2d-x so developers spend less time finding and fixing bugs and more time on building the best gaming experience for users.

Monitor errors in Cocos2d-x games with Bugsnag

Bugsnag’s new notifier library for Cocos2d-x supports apps written in C++ apps running on Android, iOS, and macOS. Bugsnag will automatically capture all errors in your Cocos2d-x application and surface the data and insights you need to understand application health, prioritize errors, and fix them with speed and precision:

Gain real-time visibility into application stability

Understand the stability of every release and how rapidly new releases are being adopted by users. You can compare release health to decide if they are healthy enough to promote to production or if they need to be pulled back. 

Setting your target stability and critical stability allows you to use the real-time stability scores to make data driven decisions about when to build features in your application vs. focus on bug fixing. 

Understand error trends

Use the interactive timeline analysis to understand stability issues over time. You can pinpoint error spikes, investigate specific incidents, determine if a release has introduced new bugs, and more.

Prioritize errors your team should focus on

Understand which errors are occurring more frequently and impacting the most users

View errors grouped by root cause and sorted by user impact so you can make data-driven decisions about which errors need to be addressed first.

Prioritize errors affecting key customer segments

You may want to prioritize fixing errors that are impacting your most valuable customers. You can easily choose which meta data to collect, such as a customer’s subscription level, and then segment errors that are affecting customers in the premier subscription level.

Fix errors with speed and precision

Reproducing and fixing errors is easier when you can understand exactly what caused the crash. See comprehensive diagnostic information for every error, including symbolicated stack traces, breadcrumbs, device and user information.

Additionally, integrations with tools your team already uses, like alerts in Slack and PagerDuty and 2-way issue tracker integration with JIRA, Pivotal, and more help streamline your debugging workflows so you can spend less time fixing bugs.

How to get started

If you don’t have a Bugsnag account, you can start a 14-day free trial here. Simply create a new Cocos2d-x project and follow the quick start guide in our documentation to start monitoring your application.

Bugsnag helps you prioritize and fix software bugs while improving your application stability
Request a demo