PiccoInput is a small library written in Scala that handles events from the Piccolo2D scene graph and allows you to poll for pressed keys from your main loop. So instead of implementing an interface which handles input events, you just register PiccoInput's KeyHandler with Piccolo and just ask the KeyHandler every frame if the key you're interested in is pressed.
Nothing special, but convenient if you're developing games with Piccolo2D and Scala.
The download: PiccoInput-0.1.zip
The code: http://repo.or.cz/w/piccoinput.git
This is open source software under the Apache license 2.0. If you're just using this library, this license will restrict you in no way.
Documentation is available (and quite extensive), but currently only in the form of source code comments. Maybe the day will come when I'll figure out how to use scaladoc, but that day is not today.
Post new comment