Page 1 of 1

tile-glitch

Posted: Tue Aug 30, 2016 9:42 pm
by alko
tile "jija" 16x16 px.

Image

Code: Select all


static Map *mapj;
static  u16 ind11;

ind11 = TILE_USERINDEX;
VDP_loadTileSet(jija.tileset, ind11, TRUE);
mapj = unpackMap(jija.map, NULL);
u16 i;
for(i=0; i<16; i++)
VDP_setMap(VDP_PLAN_A, mapj, TILE_ATTR_FULL(PAL3, FALSE, FALSE, FALSE, ind11), i*2, 0);
result:

Image

VDP-RAM

Image

Re: tile-glitch

Posted: Wed Aug 31, 2016 8:15 am
by Stef
Can you just try to disable compression in the resource definition ? if that make a difference then i guess you meet a bug with compression part.
Are you using the last SGDK by the way ?

Re: tile-glitch

Posted: Wed Aug 31, 2016 10:12 am
by alko
Stef wrote: Are you using the last SGDK by the way ?
nope.
This is previous version

Re: tile-glitch

Posted: Wed Aug 31, 2016 1:41 pm
by Stef
I suggest you to switch to last version if possible as it always contains bugfixes... and it's definitely possible you meet here a bug from the previous version :-/

Re: tile-glitch

Posted: Wed Aug 31, 2016 2:52 pm
by alko
without compression displayed correctly

Re: tile-glitch

Posted: Wed Aug 31, 2016 7:21 pm
by alko
Image

Re: tile-glitch

Posted: Wed Aug 31, 2016 8:13 pm
by Stef
Nice effect :)
If the bug gone will removing the compression then i believe it should be fixed in the last SGDK version by the way :)