[Newbies] Morphic event-handling confusion

2007-03-14 Thread Max OrHai
I'm trying to use Morphic, in Squeak 3.9, to make a very simple "physics model" I call a HockeyPuck. The idea is that it's a CircleMorph subclass that one should be able to pick up with the Hand and "throw", and have it bounce off the World edge (and then, hopefully, other such Pucks). I've got the

Re: [Newbies] Storing a negative SmallInterger in a ByteArray

2007-03-14 Thread Lukas Renggli
Lukas, you probably need to do the same thing because you can't move the robot backwards. Hehe, yes. I actually never tried that code with an actual robot, that's probably why it is broken ;-) Cheers, Lukas -- Lukas Renggli http://www.lukas-renggli.ch __

Re: [Newbies] Storing a negative SmallInterger in a ByteArray

2007-03-14 Thread Mispunt
Thanks Bert it workt with the Two's complement. It is possible to do: -50 + 256 to get the correct number. Lukas, you probably need to do the same thing because you can't move the robot backwards. Mispunt. On 3/5/07, Bert Freudenberg <[EMAIL PROTECTED]> wrote: On Mar 5, 2007, at 11:01 , Mispun