Use fonts everywhere, misc. tweaks

This commit is contained in:
2020-07-18 21:33:33 -05:00
parent ce90284001
commit 4ee97cca4b
11 changed files with 55 additions and 37 deletions

View File

@@ -3,9 +3,18 @@ class IMICFPS
class SquadWidget < HUD::Widget
def setup
@size = 288 # RADAR size
@color = Gosu::Color.new(0x8800aa00)
@color = Gosu::Color.new(0xff00aa00)
@text = Text.new("MATE\nTinyTanker\nOther Player Dude\nHuman 0xdeadbeef", size: 18, mode: :add, font: MONOSPACE_FONT, color: @color)
@text = Text.new(
"MATE\nTinyTanker\nOther Player Dude\nHuman 0xdeadbeef",
size: 18,
mode: :add,
font: SANS_SERIF_FONT,
color: @color,
shadow: true,
shadow_color: 0x88000000,
shadow_size: 0.75
)
end
def draw