green HUD font

barsik
New member
 
Posts: 7
Joined: Sun Sep 20, 2015 18:40
GitHub: bvs23bkv33
In-game: barsik

green HUD font

by barsik » Thu Sep 24, 2015 20:34

i want to have option for changing ingame font colour to green/dark green, like in cars
in cars, when you are driving during night, speedometer and other indicatiors are never painted white because it will blind you
same in minetest: HUD looks very bright and repulsive when playing during in-game night (especially when combined with IRL night)
 

User avatar
kaadmy
Member
 
Posts: 627
Joined: Thu Aug 27, 2015 23:07
GitHub: kaadmy
IRC: KaadmY
In-game: KaadmY kaadmy NeD

Re: green HUD font

by kaadmy » Thu Sep 24, 2015 21:28

Which text? The only text on the HUD is the hotbar for the itemstack sizes.
Never paint white stripes on roads near Zebra crossings.
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

Re: green HUD font

by rubenwardy » Thu Sep 24, 2015 22:18

use the number attribute in a HUD def to change the color.

http://rubenwardy.com/minetest_modding_ ... .html#text
 

barsik
New member
 
Posts: 7
Joined: Sun Sep 20, 2015 18:40
GitHub: bvs23bkv33
In-game: barsik

Re: green HUD font

by barsik » Thu Sep 24, 2015 23:11

kaadmy wrote:Which text?

chat, for example
 

Dragonop
Member
 
Posts: 1178
Joined: Tue Oct 23, 2012 12:59
GitHub: Dragonop
IRC: Dragonop
In-game: Dragonop

Re: green HUD font

by Dragonop » Fri Sep 25, 2015 00:06

+1 I think that in later builds there should be an option to change chat font colour, hard to see it if you are on a snow biome.
 

User avatar
Krock
Member
 
Posts: 3598
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker

Re: green HUD font

by Krock » Fri Sep 25, 2015 07:19

Dragonop wrote:+1 I think that in later builds there should be an option to change chat font colour, hard to see it if you are on a snow biome.

Shadowed text may help to see it better.
Newest Win32 builds - Find a mod - All my mods
ALL YOUR DONATION ARE BELONG TO PARAMAT (Please support him and Minetest)
New DuckDuckGo !bang: !mtmod <keyword here>
 

User avatar
Ferk
Member
 
Posts: 330
Joined: Tue Aug 18, 2015 17:18
GitHub: Ferk

Re: green HUD font

by Ferk » Fri Sep 25, 2015 12:36

Krock wrote:Shadowed text may help to see it better.

I made a pull request for a shadowed crosshair, but it was rejected because it was "too 3D". I'd guess implementing shadowed text would give similar complains.

EDIT: wait.. there are already dim shadows in current font :S
{ ☠ Dungeontest ☠ , ᗧ••myarcade•• }
 

User avatar
kaadmy
Member
 
Posts: 627
Joined: Thu Aug 27, 2015 23:07
GitHub: kaadmy
IRC: KaadmY
In-game: KaadmY kaadmy NeD

Re: green HUD font

by kaadmy » Fri Sep 25, 2015 18:00

Ferk wrote:[...]EDIT: wait.. there are already dim shadows in current font :S

I checked, there's a setting in the minetest.conf for the text shadow, but it seems to only apply in formspecs and in the main menu, but not in the in-game HUD.
Never paint white stripes on roads near Zebra crossings.
 

User avatar
Calinou
Member
 
Posts: 3124
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou

Re: green HUD font

by Calinou » Fri Sep 25, 2015 19:15

kaadmy wrote:
Ferk wrote:[...]EDIT: wait.. there are already dim shadows in current font :S

I checked, there's a setting in the minetest.conf for the text shadow, but it seems to only apply in formspecs and in the main menu, but not in the in-game HUD.


It applies to all Freetype fonts, which includes the HUD and player names.
 

User avatar
kaadmy
Member
 
Posts: 627
Joined: Thu Aug 27, 2015 23:07
GitHub: kaadmy
IRC: KaadmY
In-game: KaadmY kaadmy NeD

Re: green HUD font

by kaadmy » Fri Sep 25, 2015 20:38

Calinou wrote:
kaadmy wrote:
Ferk wrote:[...]EDIT: wait.. there are already dim shadows in current font :S

I checked, there's a setting in the minetest.conf for the text shadow, but it seems to only apply in formspecs and in the main menu, but not in the in-game HUD.


It applies to all Freetype fonts, which includes the HUD and player names.

Ah, you're right, it does show up in the HUD text, just very light. Adding the setting
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
font_shadow_alpha = 255

makes it much more visible, but looks uglier.
Never paint white stripes on roads near Zebra crossings.
 

barsik
New member
 
Posts: 7
Joined: Sun Sep 20, 2015 18:40
GitHub: bvs23bkv33
In-game: barsik

Re: green HUD font

by barsik » Fri Sep 25, 2015 21:58

it is visible ok, just very bright
 


Return to Minetest Features

Who is online

Users browsing this forum: No registered users and 5 guests

cron