From: Ben Beltran Date: Tue, 29 May 2018 07:44:14 +0000 (-0500) Subject: Pixelate the text X-Git-Url: https://git.r.bdr.sh/rbdr/sumo/commitdiff_plain/b4a89078319901f662528268280e33201f2c0c17?ds=sidebyside;hp=3dcbd5753b75fd76cfeeb674166662eb8c21674c Pixelate the text --- 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);