HUD not redrawing after textbox & palette issues?

Having trouble compiling code? Getting an unexpected error? Player not appearing on screen? Seeking answers on how to do a particular thing? This is the forum you're looking for, to ask other NESmaker users for assistance.
Post Reply
User avatar
Karakara | Karetro
Posts: 62
Joined: Sun Sep 16, 2018 12:34 am

HUD not redrawing after textbox & palette issues?

Post by Karakara | Karetro » Sun Sep 30, 2018 7:19 pm

So I was implementing a test for textboxes, and this happened... :P
https://youtu.be/8-wV1lcFHd0
Additionally, there seems to be an issue with the palette of the last line that it reverts, for some reason its using the palette from my titlescreen... => Its actually what i set the 4th palette for this level to be
https://youtu.be/2iOmb9PVWFk
User avatar
chronosv2
Posts: 218
Joined: Wed Aug 08, 2018 9:30 pm
Location: KY, USA
Contact:

Re: HUD not redrawing after textbox & palette issues?

Post by chronosv2 » Sun Sep 30, 2018 9:33 pm

For the first problem, the HUD doesn't automatically redraw when text goes away. That could be added in the code but at this point 4.1.0 is so close that it might not be needed. Even if it is though, shouldn't be too hard to force an update to the HUD.
As for the second problem, you're running into an attribute table issue -- the NES operates in 8x8 tiles, but on 16x16 blocks using the same palette... but 32x32 blocks for how the palette settings are stored. If you break the text box in the middle of an attribute group you get weird coloration.
Either make the text box one line taller or shorter.
ASM/C# Coder -- Computer + Coffee = Code
ASM Tutorial Series
User avatar
Karakara | Karetro
Posts: 62
Joined: Sun Sep 16, 2018 12:34 am

Re: HUD not redrawing after textbox & palette issues?

Post by Karakara | Karetro » Sun Sep 30, 2018 11:19 pm

ah ok, thanks.
User avatar
dale_coop
Posts: 1612
Joined: Fri Feb 16, 2018 7:05 am
Location: France

Re: HUD not redrawing after textbox & palette issues?

Post by dale_coop » Mon Oct 01, 2018 6:25 am

Yeah there an issue when you set your textbox area on your HUD area. When the textbox disappears, the HUD is not redrawn.
I hope it will be fixed in a next update.
-----
Sorry about my poor english
All I need: A Damn Fine Cup of Coffee
My games: PRESS START GAME / UNDERGROUND ADVENTURE
Post Reply