From: David Jenkins Newsgroups: comp.os.msdos.djgpp Subject: Re: help with an isometric tile based game Date: Thu, 9 Oct 1997 02:11:17 +0100 Organization: None Distribution: world Message-ID: <6jFMbtA18CP0Ew1l@jenkinsdavid.demon.co.uk> References: <61gveq$pb3$1 AT news DOT cybernex DOT net> NNTP-Posting-Host: jenkinsdavid.demon.co.uk MIME-Version: 1.0 Lines: 43 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk In article <61gveq$pb3$1 AT news DOT cybernex DOT net>, Ethan Giordano writes >-using allegro and >http://www.geocities.com/SiliconValley/Vista/6774/IsoIntro.html >as a model for the graphics, can someone help me convert this engine to >allegro? > >-how can you take several bitmaps and make a palette with all of the colors >in them so that all of your bitmaps draw correctly? i'm really confused on >this one. > What I do is this, say all your graphics are in the .pcx format. Write a small proggie working in a 16 bit display mode to load each of the .pcx files as you load them copy them into a big bitmap, when all the .pcx files have been loaded and copied to this big 16 bit bitmap save it to disk. Then I load it into a paint program and reduce the number of colours to 256, voila one palette that contains a good spread of all the colours needed. Then you've got to remap all your original .pcx files to use this palette. I used the above method because it worked best in my situation, might be different for you though. In which case check the Allegro site there's a palette merger program there, but I haven't used it. >-why is there a little border ( maybe 5 pixels ) all around the screen that >i can't draw to? > No idea, does the border appear in Windows or any other programs?? I've got buttons on my monitor to stretch the display to use the full monitors screen area. >thanks ahead of time, > >Ethan > > -- http://www.jenkinsdavid.demon.co.uk for C programmers. David Jenkins