Path: chuka.playstation.co.uk!news From: Philip Gooch Newsgroups: scee.yaroze.programming.2d_graphics Subject: Anyone for Director? Date: Fri, 17 Jul 1998 16:07:24 +0100 Organization: PlayStation Net Yaroze (SCEE) Lines: 40 Message-ID: <35AF68AC.A356803A@easynet.co.uk> NNTP-Posting-Host: 193.131.140.246 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.05 [en] (Win95; I) Do any Yaroze members use Macromedia Director? I'm working on a Director-based utility for assembling tile-based Yaroze games and wondered if anyone would be interested in using it. Basically it would allow you to do all your screen layouts visually in Director and would export the layout data as an array. The array format I use looks like this: u_short mapData = {GRASSY+H7+V5, ROCKY+H2+V1,......} where the first 3 bits are the in-tpage vertical offset of the tile, the next three are the in-tpage horizontal offset of the tile, and the next 5 are the tpage ID number, i.e. 0000000000000000 | | | | | | | | / \ \ / \ \ tpage vertical offset tpageID \ tpage horiz offset and GRASSY, ROCKY are constants representing particular texture pages, and H0--7, V0--7 are constants for horiz and vertical offsets from 0 to 7 (which you would multiply by 32, say, to get your texture page offset in pixels, depending on the size of your tile) Would save a lot of typing! It would have to make some assumptions about the way you've put together your TIM files (i.e. that you've placed your tiles into TIMs in the same order as they appear in Director's Cast window), but it should still prove useful Phil