[etoys-notify] [JIRA] Commented: (SQ-331) Better keyboard support for games

Karl Ramberg (JIRA) tracker at squeakland.org
Tue Feb 2 12:02:57 EST 2010

    [ http://tracker.squeakland.org/browse/SQ-331?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=39104#action_39104 ] 

Karl Ramberg commented on SQ-331:

What about having the script status be a specific key ?
Then you could trigger scrips without dealing with a ticking test script looking for different keys and maybe we could get better response time as well

> Better keyboard support for games
> ---------------------------------
>                 Key: SQ-331
>                 URL: http://tracker.squeakland.org/browse/SQ-331
>             Project: squeakland
>          Issue Type: Feature
>          Components: etoys
>            Reporter: Bert Freudenberg
>            Priority: Optional
>             Fix For: etoys 5 and showcase
> To help making interactive games I propose to add a tile to the World's viewer to check if a specific key is currently pressed or not. This would allow for far more accurate game controls than the current "last key stroke" tile, also it allows to press multiple keys at once (e.g., to move diagonally by pressing both up and right, while hammering on the space key).
> Implementation-wise this would need a set of currently held down keys. To not lose very short key presses we need to make sure that a keydown/keyup pair received in the same world cycle still is registered for this one cycle.
> The implementation is a bit complicated by the fact that key up/down codes differ significantly by platform and possibly by keyboard layout.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: http://tracker.squeakland.org/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the etoys-notify mailing list