The Dink Network

Some display problems

GNU FreeDink

June 19th 2020, 09:16 AM
slayer.gif
Exzcimus
Peasant He/Him Philippines
Change is constant, but Constants do not change. 
Problem 1

When viewing text during fade_down();, the text, no matter it's color, will turn white, but the letters look like they were nothing left but white pixel dots. It becomes unreadable. This worked properly in V1.08, but not on freedink.

Problem 2

When any of Dink's stats go beyond 999, it doesn't display a thousandth place value digit to the farther left. This works on V1.08, and again, not on freedink.

Edit:

In the text displaying problem, when viewing text with say_xy(); during fade_down();, it becomes white pixel dots.

June 23rd 2020, 05:41 PM
peasantmb.gif
yeoldetoast
Peasant They/Them Australia
LOOK UPON MY DEFORMED FACE! 
Is this all on the newest Freedink? I have a feeling that builds made before the SDL2 rewrite won't exhibit the first and third.
June 28th 2020, 10:37 AM
slayer.gif
Exzcimus
Peasant He/Him Philippines
Change is constant, but Constants do not change. 
The text displaying problem happens on true color mode, and my version is 109.6.
June 28th 2020, 12:16 PM
spike.gif
SlipDink
Peasant He/Him United States bloop rumble
2nd generation. No easy way to be free. 
@ Exzcimus:
Problem 1

When viewing text during fade_down();, the text, no matter it's color, will turn white, but the letters look like they were nothing left but white pixel dots. It becomes unreadable. This worked properly in V1.08, but not on freedink.

Fortunately, (if you are making your own dmod) working around this problem is not difficult. To avoid this problem, just avoid expecting players to be able to read any text you put on the screen when the screen is about to be faded down or has already been faded down.

When I want text on a black screen, I often make a screen with all black tiles, fade down, switch to the all black screen, then fade up and show the text I want people to read. If you'd like a code sample of this technique, I'll be happy to insert one into this thread.