Cocos2d x
2 min read

Cocos2d x

236 words

When developing games for mobile devices, we have multiple cross-platform alternatives:

Unity 3d, Corona, … even Titanium.

An interesting solution is to use Cocos2D, which with its Cocos2DX version, now allows us to generate our game for iOS.

Cocos2Small

Among the platforms it supports are, grouped by programming language:

<th>
  Platform
</th>

<th>
  C++
</th>

<th>
  Lua
</th>

<th>
  Javascript
</th>

<th>
  C#
</th>
<td>
  iOS
</td>

<td>
  o
</td>

<td>
  o
</td>

<td>
  w
</td>

<td>
</td>
<td>
  o
</td>

<td>
  o
</td>

<td>
  w
</td>

<td>
</td>
<td>
</td>

<td>
</td>

<td>
</td>

<td>
  o
</td>
<td>
  w
</td>

<td>
</td>

<td>
</td>

<td>
</td>
<td>
  i
</td>

<td>
</td>

<td>
</td>

<td>
</td>
<td>
  o
</td>

<td>
</td>

<td>
</td>

<td>
</td>
<td>
  i
</td>

<td>
</td>

<td>
</td>

<td>
</td>
<td>
  i
</td>

<td>
</td>

<td>
</td>

<td>
</td>
<td>
  win32
</td>

<td>
  o
</td>

<td>
  o
</td>

<td>
  w
</td>

<td>
</td>
<td>
  o
</td>

<td>
</td>

<td>
</td>

<td>
</td>
<td>
  o
</td>

<td>
</td>

<td>
</td>

<td>
</td>
<td>
  o
</td>

<td>
</td>

<td>
</td>

<td>
</td>
<td>
  HTML5 ready platforms
</td>

<td>
</td>

<td>
</td>

<td>
  o
</td>

<td>
</td>
Mobile platform
Android
WindowsPhone7
WindowsPhone8
Bada
BlackBerry QNX
MeeGo
Marmalade
Desktop
Linux
Win8 Metro
Mac OS X
Browser

“o” Operational

”i” Supported but not active (not updated)

“w” In progress

To develop on Mac OS X we have CocosBuilder.

screenshot2

 

 

Comments

Latest Posts

6 min

1229 words

Finally: Modern JavaScript in NGINX (and we can forget about LUA)

When I read the NGINX announcement about QuickJS support in njs, I couldn’t help but smile. Finally I can stop struggling with LUA.

As someone who has configured more NGINX servers than I can remember (from my time at Arrakis to now at Carto), I’ve always been annoyed by the limitation of having to use LUA for complex logic in NGINX. It’s not that LUA is bad, but… why learn another language when I already master JavaScript?

3 min

548 words

When working on large projects, it’s common to have test suites that can take several minutes to run. And when one of those tests fails early in the execution, it’s frustrating to wait for all the others to complete just to see the full results.

Jest includes a feature I’ve found very useful in development: the bail option, which allows stopping test execution after a certain number of failures. It’s one of those features that once you know and start using, you don’t understand how you lived without it.

4 min

740 words

In my experience with mobile development, I’ve seen how apps become increasingly complex and projects grow uncontrollably. I remember perfectly that feeling of having thousands of lines of code and not being sure what was really being used and what wasn’t.

That’s why I was so struck by the tool that Sentry (formerly from Emerge Tools) just released as open source: Reaper. An SDK that does something that sounds simple but is tremendously useful: find dead code in your mobile applications.

10 min

1931 words

Deno 2.4 has just been released, and I must admit it has pleasantly surprised me. Not only because of the number of new features, but because of one in particular that many of us thought would never return: deno bundle is back. And this time, it’s here to stay.

This release comes packed with improvements ranging from importing text files directly to stable observability with OpenTelemetry. Let’s explore what this release brings us.