[comp.sys.mac.programmer] Mac Graphics game

aland@chaos.cs.brandeis.edu (Alan D Danziger) (12/18/90)

I want to create a puzzle for the Mac, similar to the Puzzle DA, only
with different size pieces (5x4 matrix, some 1x1 some 2x1, 1x2, 2x2).

I am new to programming the Mac and to C, but I am proficient in Lisp
and Pascal, all of which I have for the mac.  Maybe I could even use
HyperTalk... 

I am not concerned with the 'quality' of the graphics, although I want
something which, will take up more than a quarter of the screen.  I could
use icons (in groups) if that would be easier...

I have the Macintosh Programming Primer, and a number of manuals and C
reference books...  K&R 2nd edition (ANSI), 'A Book on C', the MPP,
and some others.

If anyone has an idea how I could do this, please let me know.
Routines for drawing icons (and erasing them), dragging them with the
mouse, all this would be appreciated.  Even a book which would help
with this.

Thank you very much,
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Alan D. Danziger,           | 753 South St,Waltham MA 02154 | "What a drag,
aland@chaos.cs.brandeis.edu | MB 3130 / Brandeis University |   it is,
(617) 894-6859 or 647-3720  | PO Box 9110 Waltham MA 02254  |    getting old"
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

Lawson.English@p88.f15.n300.z1.fidonet.org (Lawson English) (12/22/90)

Alan D Danziger writes in a message to All

ADD> If anyone has an idea how I could do this, please let me know. 
ADD> Routines for drawing icons (and erasing them), dragging them 
ADD> with the mouse, all this would be appreciated. Even a book which 
ADD> would help with this.

I note that you didn't mention the Inside Macintosh series as part of your 
manuals.
It seems that you don't have the TechNotes stack either. Suggest that you get
IM vols. 1, 2 and 4 (at least vol 1) and the TN stack before you try any 
spiffy
stuff. As well, I am currently working on a project that needs to drag Icons
around, so here's  a hint: if you are using Think C, use the example from the
Macintosh Primer II as a starting point, and then proceed.

When I am back under MultiFinder, I will rummage around my source and pick out
 
something a little more concrete to post.

Lawson
 

 

--  
Uucp: ...{gatech,ames,rutgers}!ncar!asuvax!stjhmc!300!15.88!Lawson.English
Internet: Lawson.English@p88.f15.n300.z1.fidonet.org