Over a million developers have joined DZone.

SnapCode adds Mouse and Keyboard sensing

·
SnapCode released an update this week with features to make animations interactive via mouse and keyboard sensing methods. The scene an actor classes now have access to simple methods for:
isMouseClicked()
isMousePressed()
isKeyClicked(name)
isKeyPressed(name)
Additionally, there are new methods in the actor class for pen graphics:
penDown()
penUp()
setPenColor(name)
setPenWidth(width)
Here is a video of the new features:

http://www.reportmill.com/snap/gallery/MouseKeyboard/

Topics:

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}