The Dink Network

Some display problems

GNU FreeDink

June 19th, 09:16 AM
slayer.gif
Exzcimus
Peasant Male Philippines
We'll find you soon, live fresh meat... 
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, 05:41 PM
peasantmb.gif
yeoldetoast
Peasant Australia steam
discord.gg/Ukugfbh 
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, 10:37 AM
slayer.gif
Exzcimus
Peasant Male Philippines
We'll find you soon, live fresh meat... 
The text displaying problem happens on true color mode, and my version is 109.6.
June 28th, 12:16 PM
spike.gif
SlipDink
Peasant Male United States bloop
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.