1
0
forked from noxious/client

Activated 4k on username text rendering

This commit is contained in:
Colin Kallemein 2025-01-02 20:33:54 +01:00
parent 40c87f0ee3
commit 201853a3ec

View File

@ -22,6 +22,7 @@ const createNicknameText = (text: Phaser.GameObjects.Text) => {
text.setFontSize(13) text.setFontSize(13)
text.setFontFamily('Arial') text.setFontFamily('Arial')
text.setOrigin(0.5, 9) text.setOrigin(0.5, 9)
text.setResolution(2)
// Fix text alignment on Windows and Android // Fix text alignment on Windows and Android
if (game.device.os.windows || game.device.os.android) { if (game.device.os.windows || game.device.os.android) {