HUD Area & Text Box color problems

Post Reply
thedodecahydra
Posts: 21
Joined: Thu Feb 14, 2019 6:03 pm

HUD Area & Text Box color problems

Post by thedodecahydra » Wed Mar 25, 2020 3:56 pm

-
Last edited by thedodecahydra on Thu Apr 02, 2020 4:39 pm, edited 2 times in total.
User avatar
dale_coop
Posts: 5752
Joined: Fri Feb 16, 2018 7:05 am
Location: France

Re: HUD Area & Text Box color problems

Post by dale_coop » Thu Mar 26, 2020 2:41 pm

First, your Text Box, when you have this kind of issue... it's because its size is not correct.
try to make it larger (or smaller), it would work better:

Image

Now, for the strange colors in your HUD. It's because the game engine loads 2 screens at the time: the current screen and the screen next to it... and the attributes of the HUD areas are mixed.
So, a easy workaround:
On your 1st screen, paint the HUD area with the "R" key (hold the "R" key of your keyboard to paint the area with the Sub4 palette)
AND, on the screen next to it (at its Right), ALSO, paint the HUD area with the "R" key (sub4 palette) :

Image

It should fix your issues.
-----
I know... my english is not perfect
All I need: A Damn Fine Cup of Coffee
My games: PRESS START GAME / UNDERGROUND ADVENTURE / UNDERGROUND ADVENTURE (Arcade version - Byte-Off-2019)
My son's game: KUBO 3
User avatar
CutterCross
Posts: 569
Joined: Sat Apr 28, 2018 9:42 pm
Contact:

Re: HUD Area & Text Box color problems

Post by CutterCross » Thu Mar 26, 2020 4:38 pm

Attributes for the textboxes are 32x32 pixel metatiles rather than 16x16 metatiles. If you re-size your textbox like Dale says to a 32x32 pixel basis (2x2 normal 16x16 pixel metatiles) that should fix any color bleeding.
thedodecahydra
Posts: 21
Joined: Thu Feb 14, 2019 6:03 pm

Re: HUD Area & Text Box color problems

Post by thedodecahydra » Thu Mar 26, 2020 11:39 pm

-
Last edited by thedodecahydra on Thu Apr 02, 2020 4:39 pm, edited 1 time in total.
User avatar
dale_coop
Posts: 5752
Joined: Fri Feb 16, 2018 7:05 am
Location: France

Re: HUD Area & Text Box color problems

Post by dale_coop » Fri Mar 27, 2020 3:10 pm

Glad you fixed your issues :)
Yeah, sorry when I am not clear (english is not my language)...
Yes, I was meaning the screen that is to the Right of your current screen (where you have the hud issue)... you have to do it, EVEN, if the right screen is an empty (unused) screen ;)
-----
I know... my english is not perfect
All I need: A Damn Fine Cup of Coffee
My games: PRESS START GAME / UNDERGROUND ADVENTURE / UNDERGROUND ADVENTURE (Arcade version - Byte-Off-2019)
My son's game: KUBO 3
thedodecahydra
Posts: 21
Joined: Thu Feb 14, 2019 6:03 pm

Re: HUD Area & Text Box color problems

Post by thedodecahydra » Fri Mar 27, 2020 6:58 pm

-
Last edited by thedodecahydra on Thu Apr 02, 2020 4:39 pm, edited 1 time in total.
User avatar
dale_coop
Posts: 5752
Joined: Fri Feb 16, 2018 7:05 am
Location: France

Re: HUD Area & Text Box color problems

Post by dale_coop » Fri Mar 27, 2020 7:56 pm

Assembly tutorials, great! It's not easy... >_<
Can't wait to follow what you will create with NESmaker <3
-----
I know... my english is not perfect
All I need: A Damn Fine Cup of Coffee
My games: PRESS START GAME / UNDERGROUND ADVENTURE / UNDERGROUND ADVENTURE (Arcade version - Byte-Off-2019)
My son's game: KUBO 3
User avatar
Dirk
Posts: 592
Joined: Fri Mar 09, 2018 5:30 am

Re: HUD Area & Text Box color problems

Post by Dirk » Fri Mar 27, 2020 8:49 pm

What tutorial are you going through?
-----
Disclaimer: English is not my first language, so mistakes are bound to happen.
thedodecahydra
Posts: 21
Joined: Thu Feb 14, 2019 6:03 pm

Re: HUD Area & Text Box color problems

Post by thedodecahydra » Sat Mar 28, 2020 12:18 am

-
Last edited by thedodecahydra on Thu Apr 02, 2020 4:39 pm, edited 1 time in total.
User avatar
Dirk
Posts: 592
Joined: Fri Mar 09, 2018 5:30 am

Re: HUD Area & Text Box color problems

Post by Dirk » Wed Apr 01, 2020 5:56 pm

Thank you!
Yes, the nerdy nights tutorials. I forgot about them, I should have a look again :-)
thedodecahydra wrote:
Sat Mar 28, 2020 12:18 am
I would like to be able to contribute to the scriptbase here, but for now I'm just trying to get a wedding present made for my best friend.
That's such a nice idea :-)
-----
Disclaimer: English is not my first language, so mistakes are bound to happen.
Post Reply