The Toothpaste & Bubblegum official blog. Articles about programming and other stuff we ran into. Feel free to comment (and correct us).
Blog
JNI Object management in cocos2d-x
29 Mar 2015 - by Ruud ArentsenHow to manage objects between C++ and Java using JNI (Java Native Interface) in cocos2d-x.
Read more »Cocos2d-x glClearColor
24 Apr 2016 - by Ruud ArentsenHow to set the openGL clear color for projects using cocos2d-x 3.8 or greater
Read more »Queued data for Bluetooth LE devices on Android
02 Oct 2016 - by Ruud ArentsenHow to send a lot of consecutive data to a Bluetooth Low Energy device on Android.
Read more »Laser tag guns and the police
08 Jul 2015 - by Ruud ArentsenPolice! Hands up! That's what happened to us during a test.
Read more »C++ virtual destructor
12 Apr 2015 - by Ruud ArentsenWhen dealing with inheritance in C++, make sure you add virtual destructors. This post describes the issue, which could prevent memory leaks.
Read more »Our 3D printed laser tag gun
03 Apr 2015 - by Ruud ArentsenSome photo's of a 3D printed gun for our next project
Read more »Arduino int size
28 Mar 2015 - by Ruud ArentsenWhen using integers in Arduino projects, you have got to be aware of the size, which is 16 bit. This post will explain the issue with some example code.
Read more »