Javascript Can';t全屏移相器+;网页包+;android中的cordova
I使用Phaser ce 2.7.3、Webpack 2.2.0和Cordova 6.4.0 我的代码 并且全尺寸屏幕的安装在按钮上得到黑线Javascript Can';t全屏移相器+;网页包+;android中的cordova,javascript,android,cordova,phaser-framework,Javascript,Android,Cordova,Phaser Framework,I使用Phaser ce 2.7.3、Webpack 2.2.0和Cordova 6.4.0 我的代码 并且全尺寸屏幕的安装在按钮上得到黑线 使用cordova自定义配置插件修复并添加 到config.xml使用cordova自定义配置插件修复并添加 至config.xml我不知道问题所在,但您可以在此处查看Phaser.ScaleManager:我不知道问题所在,但您可以在此处查看Phaser.ScaleManager: import 'pixi' import 'p2' import Pha
使用cordova自定义配置插件修复并添加
到config.xml
使用cordova自定义配置插件修复并添加
至config.xml
我不知道问题所在,但您可以在此处查看Phaser.ScaleManager:我不知道问题所在,但您可以在此处查看Phaser.ScaleManager:
import 'pixi'
import 'p2'
import Phaser from 'phaser'
import BootState from './states/Boot'
import MenuState from './states/Menu'
import GameState from './states/Game'
import WinState from './states/Win'
class Game extends Phaser.Game {
constructor () {
const width = window.innerWidth
const height = window.innerHeight
super(width, height, Phaser.CANVAS, 'content', null)
this.state.add('Boot', BootState, false)
this.state.add('Menu', MenuState, false)
this.state.add('Game', GameState, false)
this.state.add('Win', WinState, false)
this.state.start('Boot')
}
}
window.game = new Game()