New Blog on adrian-dawid.me

I am happy to announce my new blog on adrian-dawid.me, from now on I will post anything new there, however this blog will no be closed for now and I will continue answer to comments posted here. I have however migrated the most important posts from this blog to my new blog and in case I will update any information in them, I will only do that on the new blog.

Use Gulp.js for automatic c++ builds

View this post on my new blog:http://adrian-dawid.me/gulp/c++/2015/12/11/gulp-for-cpp-builds.html, I will post any updated information only there.

Gulp.js is a javascript task runner and is therefore mostly used in web/javascript development, but actually it can be used to automate all sorts of tasks and can be used for projects built in any language. In this tutorial I will explain how to use Gulp.js to get your project to automatically recompile whenever you make a change to a file.

Continue reading

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

Test GameCenter on iOS 8 Devices

Apple has eventually released iOS 8 this week, but when I installed iOS 8 to my device my apps suddenly lost their Game Center connection. I guess you will have the same problem when you update. The thing is that apps that are published by other developers keep working, so I looked out for an iOS 8 specific bug in GameSharing, but there is none (At least none that explains that app behavior). The problem is that you have to enable a “Developer Mode” for Game Center on iOS 8. Doing that is not very complicated, you just have to turn on one slider, its located in Settings->Game Center->Developer->Sandbox. Once you activated Sandbox your apps should be able to communicate with Game Center again.

Tutorial: Use GameCenter with cococs2d-x

A few weeks earlier I have published a tutorial how to use Google Play Games Services with cocos2d-x, I have uploaded an implementation of that code to github: https://github.com/dwd31415/GameSharing , that code is called GameSharing(https://adriandawid.wordpress.com/game-sharing/) and I also added an implementation of this tutorial to it. If you want to use GameSharing you may follow this tutorial and instead of creating your own wrappers add the GameSharing code file to your project.


In this tutorial I will explain how to use Apples Game Center with your Cocos2d-X game. You can do that actually very easily, for Objective-C++ is C++ compatible.

Continue reading

GameSharing v1.0 with Game Center support

Today I released version 1.0 of GameSharing on github. It now supports GameCenter on iOS and Google Play Games on android, and all with the same API.

These features are available:

  • Submit scores to leaderboards
  • Show leaderboards
  • Unlock achievements
  • Show achievements
  • Display Game Center/Google Play Games UI

If you have any questions or problems with GameSharing, feel free to contact me.

Tutorial: How to use cocos2d-x on non-debian linux distros

Cocos2d-x is a very handy framework for 2d and 2.5d game developement. It supports multiple platforms and linux is one of them. But the installation on linux is difficult, if you don’t use a debian based distro.

The std. cocos2d-x linux install script only runs on linux operation systems, with support for the apt-get install command, therefore I have written a little shell script, that installs all dependencies of cocos2d-x and sets up all needed environment variables for cocos2d-x on distros with the yum package manager.

Continue reading

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

Magic Island Bowling on the App Store

on_the_appstore

Magic Island Bowling is available on the App Store for iPhones and iPads by now. After the Android Release earlier this year I now have released Magic Island Bowling on the Apple App Store too. Magic Island Bowling is my first app: A 3D Physics Puzzle for more information check out the Webpage on this blog:

https://adriandawid.wordpress.com/magic-island-bowling/

 

App Store Download link:

https://itunes.apple.com/us/app/magic-island-bowling/id893581767?