Release of Single-C-File

Today I released a little, but helpful tool on github. It is called Single-C-File and basically merges whole C/C++ Projects into one .cxx file.

I think this is quit usefull when working with c/c++ libraries, merging them makes it very easy to add them to a project, but they still are full cross platform complatilbe and you still can change the code if you want.

Single-C-File on github:

https://github.com/dwd31415/single-c-file

Tutorial: How to use Google Play Services with Cocos2d-X for android

Consider viewing this post on my new blog:http://adrian-dawid.me/gulp/c++/2014/08/18/google-play-cocos2d-x-tutorial.html, I will post any updated information only there.

This is a short tutorial how to use Google Play Games Services with cocos2d-x. It describes how you add the library to your project. Google Play Games is a really handy tool for mobile game development, but there is almost no documentation how to use it with engines like Cocos2d-X, that are using the NDK and are designed to be cross platform compatible. I am using the JNI Bridge between C++ and Java here to use all the java functionality. There is also a c++ sdk, but it is also not easy to integrate into cocos2d-x too and has not the full feature-set of the java sdk.

Continue reading

AutoRetina v1.0 on github

Today I released AutoRetina on github.

The AutoRetina Tool is an Unity3D Script, that is useful for iOS Developers who want to support all of the newer iOS Devices. With AutoRetina Unity Developers can define which iOS Devices should run at retina resolution and which should not. The selection of these devices is made automatically by the Toolkit based on the Device Model, the GPU/CPU or the amount of graphics memory of the device. The developer just has to give the toolkit information about the devices, on which devices the app should run at retina resolution, or how many graphics memory the device should have to run the game at retina resolution, once this information is passed to the script it automatically changes the resolution of the devices to the right one.

 

Github link:

AutoRetina on github