Phaser使用中的注意點總結

1.顏色在 使用時,只能使用16進制的顏色,不可用英文形式的顏色,例如: game.stage.backgroundColor = 'red';//錯誤寫法 game.stage.backgroundColor  =  'red'; 2. // 加載遊戲資源         game.load.crossOrigin  =  'anonymous';  // 設置跨域 3.phaser加載圖片 運
相關文章
相關標籤/搜索