Submitted by joe on Tue, 07/30/2013 - 00:55
I have been working on a mobile game with M&M Entertainment again, and our new game calls for a particle-based animation on top of the gameboard. I went to work in OpenGL ES building an Objective-C module for the mostly-complete Titanium app. Setting up the GLKit view, textures and geometries, communicating which textures are needed and when, and then cleaning up the objects after they are used turns out to be a pretty complex set of tasks. That stuff produces great results, but was eating more time that I would have preferred.
Submitted by joe on Sat, 06/29/2013 - 00:27
Submitted by joe on Tue, 05/03/2011 - 12:08
The Android SDK comes with a SampleSyncAdapter project for implementing a synced connection to a cloud-type service. The class NetworkUtilities takes care of making the actual HTTP requests, and generally has to be tailored to work with a particular cloud service (apart from the sample server app included with the SDK).
Here is a base class that handles the session-based authentication for Drupal’s JSON Server module. Extend this class to implement the calls for a particular service model via Drupal / JSON Server.
Submitted by joe on Thu, 09/30/2010 - 01:00
Sometimes it's nice to forget about 3rd party components, big clunky libraries, the Facebook API, etc. and just simulate a simple physical system from first principles. Here's "mass on a string":
Submitted by joe on Wed, 06/30/2010 - 13:17
Submitted by joe on Thu, 12/24/2009 - 11:31
Submitted by joe on Thu, 09/17/2009 - 18:24
All the Box2D documentation says to use the automatic gear joint and not to mess with simulating gears this way ...so it had to be done! A little trigonometry and fidgeting with sizes produced this simple planetary set: