Search the Community
Showing results for tags 'googlefonts'.
-
Let me preface this by saying that I have read every single post about this topic, and I simply cannot understand what I'm doing wrong. I am using the latest phaser ce build, phaser 2.7.3. My target browser is desktop Chrome (I don't care much for any other browser, mobile platform, etc) Explanation of my issue: I have a text, at position (0,0) [Therefore, no possibility of it no being a whole number, etc]. It is not scaling properly. => Minimal fiddle testcase showing my problem: http://jsfiddle.net/1g3cj8md/ => Expected outcome if game is not scaled: http://jsfiddle.net/encznmqq/1/ Is this a bug? Am I missing anything? I have tried a couple of things, which are commented out in the fiddle, but it boils down to a bunch of random ideas that I had. I have no idea how to scale text that is supposed to be pixelated. I hope someone can help, and that this can help someone. Relevant examples that I have seen (and yes, I have read the docs): https://phaser.io/examples/v2/display/render-crisp https://belenalbeza.com/retro-crisp-pixel-art-in-phaser/ https://phaser.io/examples/v2/text/google-webfonts (notice that that link is from 2014) and ovbiously, https://phaser.io/docs/2.6.2/Phaser.ScaleManager.html. So please, can anyone help me?
- 4 replies
-
- phaser
- scalemanager
-
(and 1 more)
Tagged with: