Animation Contest
Volume Number: 1
Issue Number: 5
Column Tag: Mousehole
By David E. Smith
Last month we presented a complete application shell program in assembly that
supported desk accessories, cut and past and “about” dialog boxes. But the application
itself was rather boring, simply drawing nested boxes in the window. This month, we
concentrate on the application itself. To eliminate confusion, we will use the simple
shell program from the December issue of MacTutor that simply opens a window. This
allows us to concentrate on the application, which is to animate a paddle and ball. Once
we understand animation, we can combine our paddle and ball program with the shell
program published last month to create a complete Mac game application. But first, the
problem of animation.
The Mousehole recently held a programming contest sponsored by MacTutor on
the problem of moving a paddle with the mouse. “Brett” offered an interesting
solution: “Have the user blink a lot and pretend!” Another interesting solution offered