Row of Black Tiles (MetroVania 4.5.9)

baardbi

Well-known member
Have you ever had a problem with a row of black tiles showing up on the second screen after you warp into a scrolling level? This mostly seems to happen if you have a cutscene or some other screen that writes text before you warp.

game_000.png

This is because the screen doesn't have time to finish updating before starting the level.

To fix this you need to modify the file doDrawBox.asm. Go to Project Settings, select Handle Drawing Boxes and click the Edit button.

There are two places in the file where you will find this piece of code:

LDA updateScreenData
ORA #%0000100
STA updateScreenData

You need to add JSR doWaitFrame below that. So in both places where the updateScreenData code appears it should now look like this:

Code:
LDA updateScreenData
ORA #%0000100
STA updateScreenData

JSR doWaitFrame

That should be it. Hopefully your level will look normal now, without a row of black tiles.


game_001.png
 
game_020.png

We also encountered this problem with CC2, after starting a new level and after cut scenes.
Most of the time it's the second screen '' dead zone for enemies" of the level that gives us garbage.

We don't have black tiles but garbage tiles.

We tried your trick
script settings > subroutines > handle drawing boxes > the 2 pieces of code are at line 357 and 581.
We aded JSR doWaitFrame in both places but sadly no effect.

We could have another or different problem ? So not sure
 

baardbi

Well-known member
View attachment 8093

We also encountered this problem with CC2, after starting a new level and after cut scenes.
Most of the time it's the second screen '' dead zone for enemies" of the level that gives us garbage.

We don't have black tiles but garbage tiles.

We tried your trick
script settings > subroutines > handle drawing boxes > the 2 pieces of code are at line 357 and 581.
We aded JSR doWaitFrame in both places but sadly no effect.

We could have another or different problem ? So not sure
Yes. That is a different problem. I'm guessing you are using an 8x8 tile screeen before warping into the level. It's a little NESmaker bug that is very well known. I think most people make a "buffer screen" between the 8x8 tile screen and the normal 16x16 tile screen. So in other words warping to a black screen (or maybe a screen that only says LEVEL 1...) and then warping to the level screen.

 
Yes. That is a different problem. I'm guessing you are using an 8x8 tile screeen before warping into the level. It's a little NESmaker bug that is very well known. I think most people make a "buffer screen" between the 8x8 tile screen and the normal 16x16 tile screen. So in other words warping to a black screen (or maybe a screen that only says LEVEL 1...) and then warping to the level screen.

Well that actually worked , thanks. Never seen the black tiles to be honest.
 
Top Bottom