Search found 3 matches

by Okoboji
Sat Jan 19, 2019 9:16 pm
Forum: Megadrive/Genesis
Topic: SGDK RESCOMP and the quest for two pallets on a single background layer
Replies: 3
Views: 6365

Re: SGDK RESCOMP and the quest for two pallets on a single background layer

Oh that's amazing I didn't know that the MAP system did that. I guess the problem is I haven't found any example code demonstrating the Map system so I'm just ignorant to how it works. If there is a demo lying around I could figure it out. I'll try knocking around with it and if I figure it out I'll...
by Okoboji
Sat Jan 19, 2019 8:32 pm
Forum: Megadrive/Genesis
Topic: SGDK RESCOMP and the quest for two pallets on a single background layer
Replies: 3
Views: 6365

SGDK RESCOMP and the quest for two pallets on a single background layer

So this is going to need some explaining. I want to put two pallets on a single background layer. I know this can be done because I've already done some tests to prove it. The question is how to make this efficient. So consider this code for updating a Foreground row to the buffer: void redrawForegr...
by Okoboji
Sat Jan 19, 2019 12:32 am
Forum: Megadrive/Genesis
Topic: SGDK VDP_setTileMapXY / sample/sprite
Replies: 3
Views: 7131

Re: SGDK VDP_setTileMapXY / sample/sprite

Is it possible to assign color pallets to individual tiles in the Map functions? For example I've noticed that you have VDP_setmap(..) with only a single defined base tile value. What I want to do is have 2 pallets on a background plan_b. where each tile can switch back and forth between PAL 0 and P...