Re: Palette question.
- Posted by Patrick Barnes <mrtrick at gmail.com> Nov 23, 2004
- 501 views
On Mon, 22 Nov 2004 20:43:01 -0500, Lucius Hilley <l3euphoria at bellsouth.net> wrote: > > Eubots: You built the arena wrong. > It should be arena[height][width] then you can simply > use display_image() or most anything like it. > arena = repeat(repeat(0,width), height) No, I didn't... I deliberately made it so that a point at coordinate {x,y} is referenced by arena[x][y]. > Element values are from 0-255 > 0 indexes palette[1] > 15 indexes palette[15] Don't you mean palette[16] ? > 255 indexes palette[256] > PS: DOS graphics stink, but if you must. > Then use either Hollow Horse Softwares Mode19.e > or mic's mode19. Don't worry, I'm not using DOS at all. I am however using 16 or 256 color bitmaps to store the maps. Easier than writing my own file format. -- MrTrick