After I make the modifications as in Section 3 page 97, I cannot see the arrows while I move on the grid. When I come to the page before I have the described behavior, i.e. I have to click on the white area and the arrow is redrawn. But in none of the steps on page 97 I can obtain an arrow as described. I can see one randomly if I make the world menu pop up over the morph, but that's all. I have reviewed the code and I'm sure its exactly as in the tutorial. Can it be something related to my configuration, i.e. last Squeak version on Windows XP home? Is there any way to force the redraw?
Thanks in advance for any suggestion.
Regards Camong
Hi,
don't know about the tutorial, it worked when I did it but I'm sure it's been modified since CC> Is there any way to force the redraw?
World Menu, restore display
Cheers,
Herbert
Hello,
CC> Ops, yes I forgot to mention...I meant to force the redraw of the CC> morph by code (this is the first attempt in Smalltalk and Morph for CC> me).
usually a Morph redraws when it gets a #changed message or one of its derivatives (changed: )
There are ways to force a redraw if the computer is too busy to redraw any Morph (not the case in the tutorial unless you have a *very* slow computer).
Cheers,
Herbert
usually a Morph redraws when it gets a #changed message or one of its derivatives (changed: )
This worked. I've added a "self changed" at the end of "mouseMoveWhileButtonUp:" of LaserGame object. Thanks for the suggestion Regards Camong
beginners@lists.squeakfoundation.org