Path: utzoo!attcan!utgpu!news-server.csri.toronto.edu!mailrus!uunet!dino!news.iastate.edu!du248-16.cc.iastate.edu!niko From: niko@du248-16.cc.iastate.edu (Schuessler Nikolaus E) Newsgroups: comp.sys.mac.programmer Subject: Re: MPW MacApp view question Message-ID: <1990Sep23.202913.4096@news.iastate.edu> Date: 23 Sep 90 20:29:13 GMT References: <90266.145525TAB113@psuvm.psu.edu> Sender: usenet@news.iastate.edu (USENET News Poster) Reply-To: niko@iastate.edu (Schuessler Nikolaus E) Organization: Iowa State University Lines: 26 In article <90266.145525TAB113@psuvm.psu.edu> TAB113@psuvm.psu.edu writes: > > I'm writing a game in which the game board is comprised to hexogonal tiles. >Each tile will be an object, TTIle, which is a subclass of TPicture. My >problem is in putting these tiles together. Because the tiles are 6 sided, >flat sides on bottom and top, there are 4 triangles of white "dead space". >Thus, when one tile is layed down and to the right of the first tile, the >second tile's "dead space" covers the first tile! > > Does anyone have any ideas on how to place these irregular shaped PICT's >down without them interfering with each other. Thanks. > >Michael Bitonti >Penn State University I haven't figured out the TCL stuff yet, but I think I can partly answer your question. You want to change the drawing mode to something like XOR (exclusive or) or just plain OR. I think the quickdraw default is COPY or something that clobbers whatever's underneath. With XOR, you just need to draw it again (either piece) and it will 'erase' itsself leaving the other intact. -- ------------------------------------------------------------------------------ Niko Schuessler "On a two semester mission to engineer where niko@iastate.edu no-one has engineered before.... :-) " ------------------------------------------------------------------------------