index.php

BennuGD Android port advances (IOS too)

Joseba is doing some great advances on his Android port of BennuGD, last additions are the support for Android phone sensors (as you can see in the image attached), more devices support (I’ve tested it in a phone that wasn’t supported before and now it works :), and some bugfixes. Also, he’s planning to update the iOS port and include most of the updates available for Androidand is working in the OUYA port and its support on his Packager, which will allow you to easily export your games to different OS and consoles.

Recently he have updated his blog with the list of features supported in the next release depending on your Android version:

  • All versions of Android:
    • Standard BennuGD
    • mod_multi: Multitouch support, created by me. See an example here.
    • mod_chipmunk: Physics library based on the excellent Chipmunk library. Have a look here, too.
    • mod_curl: Web request support, created by me. based on cURL. You can use it to download stuff from the web on the go from your app. See an example here.
    • fsock: Low level networking library. Really powerful, but you must have some insight into how networks works in order to use it.
    • mod_sensor: Sensor access library, created by me. It allows you to access the readings from all the sensors in your devices (gyroscopes, accelerometers, barometers, proximity sensor, light sensor…). It looks like I’ll have to write some sample code…
    • Some level of gamepad support.
  • Android 3.1 and over:
    • Mouse support. You can have interfaces that act differently if you’re using a real mouse/trackpad than they do when used with fingers. You’ll also be able to tell from code when the cursor is moving but the user isn’t clicking.
  • Android 4.0 and over:
    • When the user presses the mouse/trackpad button, you’ll be able to tell if it’s a left/middle/right click (through mouse.left, mouse.right…)
  • Android 4.1 and over (this includes the OUYA!):
    • Your games will be able to fully utilize joysticks in Android, as long as Android recognizes them as such.
      In theory, you can set up an unlimited number of joysticks and the user can connect them through USB and/or bluetooth.