You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when i use the vue-cli with "@vue/cli-service": "~4.2.0", the webpack url-loader will change small images into base64, but the phaser 3 isn't supported it, the phaser's canvas area becomes blank color with no error or warn in the chrome console
when i only use the background image, it is good because it is a big image, the url-loader don't change it it to base64, but the player image is a small image. I alert it, it becomes the base64.
There is no error or warning in the Chrome console log, if i comment this.load.image('player', player), the phaser will be ok again.
Please tell me the solution, if there is no idear, i only can change the vue.config.jsurl-loader options.
thanks
The text was updated successfully, but these errors were encountered:
Version
Phaser 3
Description
when i use the vue-cli with "@vue/cli-service": "~4.2.0", the webpack url-loader will change small images into base64, but the phaser 3 isn't supported it, the phaser's canvas area becomes blank color with no error or warn in the chrome console
Example Test Code
Additional Information
when i only use the background image, it is good because it is a big image, the url-loader don't change it it to base64, but the player image is a small image. I alert it, it becomes the base64.
There is no error or warning in the Chrome console log, if i comment
this.load.image('player', player)
, the phaser will be ok again.Please tell me the solution, if there is no idear, i only can change the
vue.config.js
url-loader
options.thanks
The text was updated successfully, but these errors were encountered: