Commit e5e3e39f authored by 邱旭's avatar 邱旭

@babel/core

parent 4a852e6a
......@@ -55,7 +55,7 @@ export class Game {
divHeight = divHeight || sysInfo?.windowHeight || document.body.clientHeight;
resolution = resolution || sysInfo?.pixelRatio || window.devicePixelRatio || 1;
//建舞台
// 建舞台
const stage = this.stage = new Stage(
canvas,
desWidth, // 设计宽度,按设计搞给的就行
......@@ -70,7 +70,7 @@ export class Game {
this.canvas = canvas; // 赋值下,为了下面的destroy的cancelAnimationFrame
//stage初始化
// stage初始化
stage.addEventListener(Event.INIT_STAGE, this.onAddToStage, this);
//循环
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment