Diese Seite ist noch nicht übersetzt. Sie wird in ihrer Originalsprache angezeigt.
Actions
Input actions: give what the player does a name ("jump", "left", "pause") and bind keys, mouse buttons and controller buttons or sticks to it with Actions. The game asks for the action instead of each key and button, so keyboard and controller work alike, and players can choose their own keys in an options menu (Actions.rebind(String)). Implement ActionListener on the stage or a sprite to be told when an action starts and ends.
In the -all jar and Studio; with Maven add the artifact scratch-actions.