Pure Data for libGDX

In the last months I dwelled a bit in the game development world, playing around with libGDX and Spine 2D.

I think that they are really good for 2D games (especially if you want to support Android and iOS) and that they perform very well in renderings and animations.

However I think that libGDX support for audio can be improved a bit.

Don’t get me wrong: libGDX has a good support for audio but I miss the days when I played around with Pure Data.

So I decided to write a small libGDX backend for libpd, the famous library that turns Pure Data into an embeddable audio synthesis library.

The repository is called pd-for-libgdx and you can find it in my github: https://github.com/manhluong/pd-for-libgdx.

It’s open source, Apache v 2.0.

Technically I just wrote a thin layer that let you call pd-for-andoid and pd-for-ios, through bindings of RoboVM‘s Bro, from your platform-specific libGDX projects.

The backend is still a work in progress (actually it supports only Android and iOS) but it already let you play sounds, like in the pianotest project:

This backend is designed to be used from source, cloning the repository and adding the projects and dependencies to your Eclipse workspace.

Also, keep in mind that I am still using the old way how libGDX handle the projects. That means no Gradle, for now.

Please read futher if you want to know how to use the backend and for some technical details about libGDX.

Continue reading

Peng! With flashlight support

One way to easily find your phone in the dark is to turn on the flashlight, if your device has one. So now Peng let you turn it on and off with a dedicated menu item.
Peng
Not all devices has the flashlight and the Pebble watchapp most take account of that. So the relative menu item displays three statuses: turned on, turned off and not available.
When not available, the user can still press SELECT to manually send a check to the phone, in case the flashlight is not detected for some reason.
Peng Flashlight
Continue reading

Peng! 0.2 + 0.0.2

First of all: thank you for using my little test watchapp!

As a quick and dirty hack I made in a few hours, I did not expect lots of adoption, but it seems from the Android Developer Console stats that there are few active installations out there!

🙂

If you have any feature request or comments, please write them below!

I have just made a quick update, both to the Pebble watchapp and to the Android app.
Continue reading

Peng!

Some times ago, I finally received my black Pebble and I immediately started to install some of the watchapps that existed at the time.

Pebble_Mario_WatchFace

With the release of the new PebbleKit with two-way communication, I decided to give the SDK a try, with a very simple WatchApp.

It is a “find my phone” WatchApp which trigs the Ringtone and the screen.

You know, for times like this:


Continue reading