tile-glitch

SGDK only sub forum

Moderator: Stef

Post Reply
alko
Very interested
Posts: 172
Joined: Thu Aug 07, 2014 9:31 am
Location: Russian Federation

tile-glitch

Post by alko » Tue Aug 30, 2016 9:42 pm

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
Image

Stef
Very interested
Posts: 3131
Joined: Thu Nov 30, 2006 9:46 pm
Location: France - Sevres
Contact:

Re: tile-glitch

Post by Stef » Wed Aug 31, 2016 8:15 am

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 ?

alko
Very interested
Posts: 172
Joined: Thu Aug 07, 2014 9:31 am
Location: Russian Federation

Re: tile-glitch

Post by alko » Wed Aug 31, 2016 10:12 am

Stef wrote: Are you using the last SGDK by the way ?
nope.
This is previous version
Image

Stef
Very interested
Posts: 3131
Joined: Thu Nov 30, 2006 9:46 pm
Location: France - Sevres
Contact:

Re: tile-glitch

Post by Stef » Wed Aug 31, 2016 1:41 pm

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 :-/

alko
Very interested
Posts: 172
Joined: Thu Aug 07, 2014 9:31 am
Location: Russian Federation

Re: tile-glitch

Post by alko » Wed Aug 31, 2016 2:52 pm

without compression displayed correctly
Image

alko
Very interested
Posts: 172
Joined: Thu Aug 07, 2014 9:31 am
Location: Russian Federation

Re: tile-glitch

Post by alko » Wed Aug 31, 2016 7:21 pm

Image
Image

Stef
Very interested
Posts: 3131
Joined: Thu Nov 30, 2006 9:46 pm
Location: France - Sevres
Contact:

Re: tile-glitch

Post by Stef » Wed Aug 31, 2016 8:13 pm

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 :)

Post Reply