Looking for good examples of morph programming
lex at cc.gatech.edu
Mon May 19 12:58:56 UTC 2003
Ned Konz <ned at bike-nomad.com> wrote:
> On Friday 16 May 2003 10:22 am, Bovaird, Brian wrote:
> > I looked at the basic morph programming tutorials but these all
> > concentrate on scripting.
> > I am writing a game and need to put a gui on it. I need to do
> > "programatic" morph programming.
> > Are there any good tutorials for doing this?
> > I am currently looking at all the games (Tetris, Chess, etc.)
> > examples but it is confusing without explainations.
> Hi Brian,
> Be wary of overriding mouseDown: etc. unless you have very special
> needs; instead, use the
> self on: #mouseDown send: #someMessage to: self
Why do it this way? I tend to lean the opposite direction. Using
mouseDown: methods makes the code easier to browse.
More information about the Squeak-dev