[Cuis-dev] Spacewar game broken

Juan Vuletich juan at cuis.st
Thu Jun 4 07:21:43 PDT 2026


Thanks folks for taking care of this!

Cheers,

On 2026-06-04 6:39 AM, Luciano Notarfrancesco via Cuis-dev wrote:
> Ok, but you dont need to send newKeyboardFocus: and 
> releaseKeyboardFocusIf:, I think it would be confusing for someone 
> using this example to learn about Morphic in Cuis. You dont need to do 
> anything special to handle keyboard events and keyboard focus, just 
> implement keyStroke:.
>
> On Thu, Jun 4, 2026 at 16:19 Hilaire Fernandes <hfern at free.fr> wrote:
>
>     This issue does not show up in the stock image, but after an error
>     (debugger) in the morph event loop.
>
>     I observed it again yesterday when running the game and an error
>     in mouse leave method because of the deprecated
>     releaseKeyboardFocus:; replaced by releaseKeyboardFocusIf:,
>     strange renamed btw.
>
>     I already fixed the game and update the book.
>
>     Thanks
>
>     -- 
>     http://mamot.fr/@drgeo
>
>
-- 
Juan Vuletich
www.cuis.st
github.com/jvuletich
researchgate.net/profile/Juan-Vuletich
independent.academia.edu/JuanVuletich
patents.justia.com/inventor/juan-manuel-vuletich
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20260604/f6ef65fd/attachment.htm>


More information about the Cuis-dev mailing list