feat: Implement core game scene with UI, managers, and a default mesh library.
This commit is contained in:
@@ -160,6 +160,8 @@ func add_message_to_bar(player_name: String, message: String, type: int = Messag
|
||||
# Create message label with rich styling
|
||||
var label = Label.new()
|
||||
label.horizontal_alignment = HORIZONTAL_ALIGNMENT_CENTER
|
||||
label.autowrap_mode = TextServer.AUTOWRAP_WORD_SMART
|
||||
#label.custom_minimum_size = Vector2(400, 0) # Width constraint for wrapping
|
||||
label.add_theme_font_size_override("font_size", 16)
|
||||
label.modulate.a = 0.0 # Start invisible for fade-in
|
||||
|
||||
|
||||
Reference in New Issue
Block a user