Posts Tagged cpp

Posted on Programming

Modifying NME

So as you know, I recently released an Android game. (It now has like 10 downloads, just saying.. #prettyproudofthat)

Javi got a chance to play it, and kindly offered to make some background music. Ten short minutes later, I had an MP3.

The music began by fading in, after which it could be looped as long as playback started at 5336ms on each subsequent play. Looking at the API documentation for nme.media.Sound, and nme.media.SoundChannel, this seemed fine. Turns out, that was not the case. But Javi had made this music for me, so what choice did I have but to make it work?

In case I decide to make further changes to NME, this is how to do it:
(more…)