Page 1 of 1

Java-based rescomp not picking up flipped tiles?

Posted: Sun Apr 28, 2019 7:46 am
by hotrodx
I just recently tried switching to the Java-based rescomp. The new resulting IMAGE I am using now had garbage tiles (where it didn't have before on standalone rescomp). Upon inspecting the VRAM, I noticed that the flipped tiles were no longer optimized, resulting in spilling over the allotted Plane VRAM.

My res file reads:

Code: Select all

IMAGE level01_tilemap "tilemaps/level01.png" 0 1 0
Did I miss anything? Any help or suggestions are appreciated.

Re: Java-based rescomp not picking up flipped tiles?

Posted: Mon Apr 29, 2019 9:01 am
by Stef
Your image definition :

Code: Select all

IMAGE level01_tilemap "tilemaps/level01.png" 0 1 0
looks correct but i cannot reproduce the problem with 'sprite' example which is using flipped tiles too (at least i believe it has some) for BG.
Is it possible to post a minimum reproducible example image so i can test in same condition ? Thanks :)

Re: Java-based rescomp not picking up flipped tiles?

Posted: Mon Apr 29, 2019 9:24 am
by hotrodx
Here is the image. Works on old rescomp.

Re: Java-based rescomp not picking up flipped tiles?

Posted: Mon Apr 29, 2019 9:48 am
by Stef
Oh sorry i found the stupid typo just looking at the sources, indeed H/V flipped tiles weren't properly detected.
Thanks for the image. i already pushed the fix on github repository :)

Re: Java-based rescomp not picking up flipped tiles?

Posted: Mon Apr 29, 2019 10:19 am
by hotrodx
Thanks!

EDIT: Confirmed working

Re: Java-based rescomp not picking up flipped tiles?

Posted: Mon Apr 29, 2019 1:17 pm
by Stef
Thanks for your report :D