[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Dora Colouring for the IIgs Beta 2



Hi all,

I have just uploaded beta 2 of "Dora the Explorer Colouring for the
IIgs" onto my web site:

http://apple2.sytes.net/Pascal_Programming/DoraColour/DoraColour.html

The fixes/enhancements made in this release are:

* fixed "no colour set on startup" bug
* hopefully fixed the lockup bug (its no longer locking up for me)
* added an alert dialog to verify that you wish to exit the game (stop
kids doing so by accident)
* added "Apple-S" key combo to toggle music on/off
* enhanced most of the images to better support flood fill

Although most of those updates seem trivial, I had my head stuck in
the Toolbox refs for ages trying to figure out how to use the
AlertWindow() call. Finally nailed it only to find that the dialog
obliterated anything behind it if you said "no, I don't want to quit".
I got around this by copying the entire SHR screen to an offscreen
port and then copying it back directly after the AlertWindow() call.
I'm not sure if this is the prescribed way of doing it or if there's
something wrong somewhere. I tried having the shadow screen turned on
and off with no differences. And yes, I do grab the grafport location
pointer using GetPortLoc() and use that for drawing purposes.

Anyway, please try it out and let me know what you think. Please
report bugs if you find any.  :-)

cheers,
Mike