mirror of
https://github.com/cyberarm/i-mic-fps.git
synced 2025-12-15 23:52:35 +00:00
Use fonts everywhere, misc. tweaks
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user