Fix rendering artifacts related to tile exports

This commit is contained in:
Lucas S. Vieira 2024-07-15 18:48:30 -03:00
parent d888019af8
commit 136cd6d4dd
8 changed files with 12 additions and 6 deletions

File diff suppressed because one or more lines are too long

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.3 KiB

After

Width:  |  Height:  |  Size: 7.2 KiB

Before After
Before After

View file

@ -1,7 +1,17 @@
<tim_project>
<properties buffer_res="2" buffer_order="0"/>
<tim_group name="global">
<tim file="sonic.tim"/>
<tim file="sonic.tim" source="../pre/sprites/proj/tiles-treated.gif">
<import_parameters>
<target_bpp>4</target_bpp>
<dithering>0</dithering>
<quantize_mode>0</quantize_mode>
<set_color_stp>0</set_color_stp>
<set_black_stp>0</set_black_stp>
<transparency_mode>2</transparency_mode>
<color_key>0x6000000</color_key>
</import_parameters>
</tim>
</tim_group>
<tim_group name="Sprites"/>
</tim_project>

Binary file not shown.

Binary file not shown.

View file

@ -61,10 +61,6 @@ engine_init()
}
sonic_chara = load_chara("\\SPRITES\\SONIC.CHARA;1", &tim);
printf("Size: %d x %d\n", sonic_chara->width, sonic_chara->height);
printf("Frames: %d\nAnims: %d\n", sonic_chara->numframes, sonic_chara->numanims);
printf("TPage: (%d %d) Clut: (%d %d)\n", sonic_chara->prectx, sonic_chara->precty,
sonic_chara->crectx, sonic_chara->crecty);
}
void