Weird tile glitch

Atarath

Member
dale_coop said:
For the missing/empty tiles... hum... the fix on the first page should have fixed it. I guess in your case, a similar bug in another part of the code.

So I made a change to the doneWithCuedTiles: label of LoadTileUpdate.asm. I commented out
Code:
;LDA #$01
;STA UpdateAtt

This fixed both the occasional missing tile in my hud, as well as the missing tile glitch when a block is broken after speaking with an npc. I don't know why this worked, or how it could affect other parts of the code, but I haven't run into any errors yet.
 

Atarath

Member
I'm getting a specific tile glitch every so often that I cannot pinpoint. It happens only on screen transition occasionally, on any screen, and doesn't affect the game. Any idea where I might try to locate the problem? It always manifests in an identical way, and includes only hud assets.

M7QPhie.png
 

Razzie.P

Member
Elarath, if you figure out how to solve that, please share. :) I've been struggling with the exact same but (far as I can tell) in my game.
 

Atarath

Member
Razzie.P said:
Elarath, if you figure out how to solve that, please share. :) I've been struggling with the exact same but (far as I can tell) in my game.

Do you have a screen shot of your glitch?
 

Atarath

Member
Razzie, I no longer have this glitch it seems. Here is what you can try.

I had removed some large portions of the hud code because my game wasn't using it now that I have a sprite hud, but the error persisted. I tried tinkering with the remaining code, but that also did not work. I had some hud assets that were assigned to random hud elements. I changed it so that I now only have two hud assets that are assigned to the first two hud elements. After that, I haven't seen the glitch reappear. I do not know why.
 
Top Bottom