Select Page

Sprite flip animation with Cocos2D 3.1

After removing CCActionOrbitCamera from the Cocos2D framework our flip animation within on of our games did no longer work. We used it to simply flip cards with a nice visual effect. After searching for another approach for a while, we thankfully found something easy...

Porting Cocos2D game to OSX using SpriteBuilder

So you finished and polished your game for iOS by using Cocos2D and SpriteBuilder? Wouldn’t it be nice to publish your game on the Mac AppStore too? These tools and frameworks make it really simple to accomplish this project successfully. However, there are some...

Pause scene with cocos2d an SpriteBuilder

Often games need something like a pause scene to pause the current game and to provide further options like quitting or restarting the current game. So as you may think this isn’t a big deal, right? Well the simples approach may be the following: 1) Create the...

Immediate log messages of resque workers

The following description and code example was tested with the following gem spec: rails (3.2.11) resque (1.24.1) resque-scheduler (2.0.1) Since the default Resque.logger does not immediately flush all log messages to the log file, we want to use our own logger...

Kinect on MacOS X with Homebrew

This is with XCode 4.6.2 on Mac OS X 10.8 If you use our favorite package manager getting up and running with libfreenect  is almost straightforward :). 1) Be sure homebrew is installed see http://mxcl.github.io/homebrew/ 2) Go to cd /usr/local/Library/Formula 3) Get...

Show NSWindow below your NSStatusItem

Often, showing a simple menu in your status bar application is not sufficient enough. This short tutorial explains how you can show your own window right below of your status item. Inspired was this blog post by the following question on StackOverflow. For the basic...