X-Git-Url: https://git.r.bdr.sh/rbdr/sumo/blobdiff_plain/3dcbd5753b75fd76cfeeb674166662eb8c21674c..b4a89078319901f662528268280e33201f2c0c17:/lib/systems/render_winner.js?ds=sidebyside diff --git a/lib/systems/render_winner.js b/lib/systems/render_winner.js index 53f3602..73f948b 100644 --- a/lib/systems/render_winner.js +++ b/lib/systems/render_winner.js @@ -97,11 +97,13 @@ export default class RenderWinnerSystem extends System { const message = `${winner} has won`; internals.winnerText = new Text(message, { fontFamily: 'Arial', - fontSize: 96, + fontSize: 96 * 8, fontWeight: 'bold', fill: 0xffffff, align: 'center' }); + internals.winnerText.scale.x = 0.125; + internals.winnerText.scale.y = 0.125; internals.winnerText.position.x = Config.horizontalResolution / 2; internals.winnerText.position.y = Config.verticalResolution / 2; internals.winnerText.anchor.set(0.5);