Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

SnapCode adds Mouse and Keyboard sensing

DZone's Guide to

SnapCode adds Mouse and Keyboard sensing

·
Free Resource
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:

Opinions expressed by DZone contributors are their own.

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

{{ parent.tldr }}

{{ parent.urlSource.name }}