Development of a library of tools for the creation of games

FYI: Lemur already has this. Works for any JME spatial in 2D or 3D.

Here was a demo from way back:

Documentation on the Lemur module that handles this:

Or start here:

…and then adding a listener to any spatial is one line of code (plus the listener implementation)