Added chat bubbles
This commit is contained in:
@ -3,5 +3,5 @@ extends VBoxContainer
|
||||
|
||||
signal message_submitted(message: String)
|
||||
|
||||
func add_message(message: String):
|
||||
%Messages.append_text("%s\n" % message)
|
||||
func add_message(player: Player, message: String):
|
||||
%Messages.append_text("[color=#e0e0e0]%s:[/color] %s\n" % [player.name, message])
|
@ -12,4 +12,4 @@ texture_margin_left = 24.0
|
||||
texture_margin_top = 24.0
|
||||
texture_margin_right = 24.0
|
||||
texture_margin_bottom = 24.0
|
||||
modulate_color = Color(1, 1, 1, 0.752941)
|
||||
modulate_color = Color(1, 1, 1, 0.878431)
|
||||
|
Reference in New Issue
Block a user