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:

The best of DZone straight to your inbox.

SEE AN EXAMPLE
Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.
Subscribe

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

{{ parent.tldr }}

{{ parent.urlSource.name }}