For the current project I'm working on, I chose to use the excellent JmDNS library to facilitate Android device service discovery on the local Wifi network. Just be sure to use version 3.4.0 or greater since it fixes some issues with using JDK methods that don't exist on Android (e.g. certain IOException...
The Whizzo Blog
I recently forced myself to start using Maven rather than Ant for my current Java builds. This was more to see what all the fuss was about rather than hitting any sort of obstacles that Ant was creating. What I’ve found (as well as many others) is that it’s great for getting a simple project up and running quickly but creates challenges when you need to...
In the course of porting Mayan Madness to Android, I investigated a few different 2D engines. Although I've learned a fair amount of OpenGL over the course of the past year, I'm by no means an expert and I assumed a good engine would make the porting task relatively straightforward....
Preserving alpha when creating a UIImage from OpenGL ES
Posted by Dan,
in
Programming
18 May 2010
·
106 views
There's a lot of example code floating around out there demonstrating how to create a UIKit UIImage object from an OpenGL ES view. Most of the examples I've seen fail to take into consideration the alpha information coming from OpenGL.
I won't get into every nuance here for code clarity purposes, but the typical code looks something like...
I won't get into every nuance here for code clarity purposes, but the typical code looks something like...
We’re working on an iPhone game using the excellent cocos2d library. The game has a heat-seeking missile that attempts to collide with a game object. The initial implementation was one that just tracks the object and adjusts its velocity vector to intercept it. Unfortunately, this approach allowed the missile to “turn on a dime” which looked...



