|
Post by FragHeadFred on Feb 21, 2006 0:56:03 GMT -5
I am trying to get a image to display with 30 colors. I can get 16 color images to display without problem. If you could please help me, I would greatly appreciate it.
Source cls loadtiles tiledata,677,128 pallettes pallettedata,0,0,32 SETGFXPLANE scroll_a drawtiles mapdata1,128,0,0,40,28 'Not sure if this is correct? SETGFXPLANE scroll_b drawtiles mapdata2,128,0,0,40,28 'Not sure if this is correct?
mapdata1: Is in BEX format pasted from imagenesis
mapdata2: Is in BEX format pasted from imagenesis
pallettedata: DATAINT $0644,$0AA8,$0EEE,$0CAA,$0CCA,$0644,$0886,$0000 ' Pallette #0 DATAINT $0866,$0442,$0CAC,$0240,$0ACC,$0422,$0868,$0424 DATAINT $0000,$0684,$0224,$0668,$0AAC,$0ACA,$0882,$0CA6 ' Pallette #1 DATAINT $06AA,$0264,$0862,$0CC6,$0AC6,$0008,$044C,$0000
tiledata: Is in BEX format pasted from imagenesis
Source
If you would like to see the full source,please let me know. Thanks in advance for the help.
|
|
|
Post by Tulio Adriano on Feb 22, 2006 14:45:21 GMT -5
I would love to help, but it is hard to understand what is the problem without the data you're trying to display.
If you prefer, contact me using a private message.
Cya!
|
|
|
Post by FragHeadFred on Feb 22, 2006 19:06:22 GMT -5
|
|
oompa loompa
I AM THE GOVERNATOR
"Git 'Er Dun!"
Posts: 1,301
|
Post by oompa loompa on Feb 25, 2006 12:36:07 GMT -5
i'll have to get back to this post later
|
|
|
Post by FragHeadFred on Mar 16, 2006 20:49:04 GMT -5
Even if you/anyone could give me a example (source) of 31 colors being used in BEX would help. Thanks again!
|
|
|
Post by jlf65 on Mar 17, 2006 23:47:14 GMT -5
One thing you could try real quick is switch which layer you use. Remember that one layer appears above the other and if the transparent color isn't right, you won't see below it. It sounds like you have the transparent color of the higher priority layer set wrong to me.
|
|