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

Bert Freudenberg (JIRA) tracker at squeakland.org
Tue Feb 2 16:06:57 EST 2010


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

Bert Freudenberg commented on SQ-331:
-------------------------------------

I think for some tasks a ticking script would work better and be simpler to use, for some the triggering you describe. Wouldn't hurt to have both IMHO.

> 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