Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Sept 30, 2015 7:49:03 GMT -5
I feel this should be an easy question. I've searched the forum and found nothing though. How do you choose which palette DRAWTILES uses? I have graphic assets that always end up having more than 15 colors. I'd like to, say, have half the graphics on-screen use palette 2 while the other uses tiles with palette 3. How is this done? There doesn't seem to be a parameter in the DRAWTILE(S) commands to specify which palette to use.
I think I found a lead in another topic from elusive:
Put +palette(1) after the memory location in your draw tiles command. Or load your palette on slot 0.
The DRAWTILES command seems to have several memory location related parameters. How does this work in practice?
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Sept 30, 2015 9:08:23 GMT -5
How do you choose which palette DRAWTILES uses? Like this ..
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Sept 30, 2015 9:19:51 GMT -5
Thank you very much Titan! That's exactly the explanation I needed.
|
|
|
Post by FragHeadFred on Oct 12, 2017 14:43:16 GMT -5
How would one choose which palette is used in this scenario? Thanks!
Reload menumap For Y = 0 To 27 For X = 0 To 39 ReadInt AuxInt DrawTile 128+AuxInt, X, Y Next Next
|
|
|
Post by FragHeadFred on Oct 12, 2017 14:53:28 GMT -5
Never mind figured it out. Like so Reload menumap For Y = 0 To 27 For X = 0 To 39 ReadInt AuxInt DrawTile 128+palette(1)+AuxInt, X, Y 'new ' DrawTile 128+AuxInt, X, Y 'old Next Next
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Oct 21, 2017 21:12:20 GMT -5
The only thing I could add is choose to use either PRINT commands or go all DRAWTILE to put text on the screen. The INK and PRINT eventually end up running against your DRAWTILE'ed text, text priority and palette. Chose one [ method ] my son!
|
|
|
Post by nemezes on Dec 3, 2017 8:55:49 GMT -5
I am really new into basiegaxorz, also this is my first post here to get some help/advice.
I am posting here, because there is some similarite to my doubt.
I am using a drawtile command to draw one image on the screen, but I wanna add some text over the image, the I use the
locate 10,10: ink 1: print "my text"
and when I use the ink command, the palette of the image gets the color of the ink command, and everything gets fuzzy.
Anyone knows what am I doing wrong?
|
|
8bit
Burger Head
Posts: 22
|
Post by 8bit on Dec 3, 2017 14:25:36 GMT -5
I am really new into basiegaxorz, also this is my first post here to get some help/advice. I am posting here, because there is some similarite to my doubt. I am using a drawtile command to draw one image on the screen, but I wanna add some text over the image, the I use the locate 10,10: ink 1: print "my text" and when I use the ink command, the palette of the image gets the color of the ink command, and everything gets fuzzy. Anyone knows what am I doing wrong? Need return default pal. while 1 ink 0'-default DRAWTILESINC 128,14,14,4,4
ink 1 locate 1,1: print "The space base"
ink 0'<-Return
wend
|
|
|
Post by nemezes on Dec 3, 2017 19:32:59 GMT -5
I am really new into basiegaxorz, also this is my first post here to get some help/advice. I am posting here, because there is some similarite to my doubt. I am using a drawtile command to draw one image on the screen, but I wanna add some text over the image, the I use the locate 10,10: ink 1: print "my text" and when I use the ink command, the palette of the image gets the color of the ink command, and everything gets fuzzy. Anyone knows what am I doing wrong? Need return default pal. really simple. thank you!
|
|