We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34b46a5 commit b626c66Copy full SHA for b626c66
src/components/PreloadText.js
@@ -12,7 +12,7 @@ class PreloadText extends UserComponent {
12
13
this.scene.load.on(Phaser.Loader.Events.PROGRESS, p => {
14
15
- this.gameObject.text = (p * 100) + "%";
+ this.gameObject.text = Math.floor(p * 100) + "%";
16
});
17
18
/* END-USER-CTR-CODE */
0 commit comments