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

Bert Freudenberg (JIRA) tracker at squeakland.org
Sat Aug 28 14:12:10 EDT 2010


     [ http://tracker.squeakland.org/browse/SQ-331?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bert Freudenberg resolved SQ-331.
---------------------------------

    Resolution: Complete

Mark for testing

> 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 4.1
>
>         Attachments: KeystrokeScriptInstatiation.1.cs, KeystrokeScriptInstatiation.4.cs
>
>
> 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