Tags » Cocos2D-X

Vistual Studio: First steps

Goals

  1. Compile and run cocos2d-x tests on the emulator
  2. Set a breakpoint in Visual Studio.

Running cpp-test on the Emulator

1. Download cocos2d-x v3.0

2. 239 more words

Design Pattern in Cocos2d-x Part 2

Design Pattern – Observer

This article is the continuation of a series of tutorials about Design Patterns for video games. This time I will talk about the Observer Design Pattern. 464 more words

Cocos2d-x

Book for Cocos2d-x from A to Z

I noticed that there are few books for Cocos2d-x. The material is good, but the content is quite outdated. There are tutorials, blogs, wiki, and more countless material about the engine, but somehow this is scatter all over the network. 273 more words

Cocos2d-x

Design Patterns in Cocos2d-x Part 1

Background

Few days ago I published a proof of concept game called Tap a Plane. The game logic was quite simple, and most of the code was written ad-hoc. 1,137 more words

Cocos2d-x

Tap a Plane (Yet Another Flappy Bird)

Background

Flappy Bird is a game that needs no introduction. It still for me hard to believe that such a simple game was able to generate revenues of $50k per day. 118 more words

Cocos2d-x

Integrating Flurry for Android in Cocos2D-X

For this tutorial, we will use AnalyticX Flurry Wrapper developed by Di Wu. The plugin can be found here: http://www.cocos2d-x.org/hub/7

Here are the steps to integrate the plugin: 201 more words

Programming

Open URL in Android using Cocos2D-X

This tutorial will teach you to open a URL in your android game using JNI in cocos2D-x. I’ve uploaded a sample project here: https://www.dropbox.com/s/0yubfy93ruly2x1/OpenURLDemo.zip

In a nutshell, JNI (Java Native Interface) is a framework that allows Java code running on  JVM to be called by other libraries or native apps  using a different programming language like C++, C#, etc. 174 more words

Programming