Commit 2fffce9e authored by wildfirecode13's avatar wildfirecode13

Merge branch 'master' of gitlab2.dui88.com:wanghongyuan/hello_canvas

parents 316330dc 760fcc4c
......@@ -8,6 +8,7 @@ cd src/canvas/game
npm i
npm run dev
```
canvas的服务window用127.0.0.1:8080
- 只需要关注project/src/canvas/game/src/scenes/StartScene.ts,这是canvas game的入口。
- 在StartScene.start开始写代码
......@@ -38,4 +39,9 @@ return (
);
}
```
- 剩下流程参考https://duiba.oss-cn-hangzhou.aliyuncs.com/spark/doc/index.html
\ No newline at end of file
- 剩下流程参考https://duiba.oss-cn-hangzhou.aliyuncs.com/spark/doc/index.html
# 线上demo
线上demo http://activity.m.duiba.com.cn/customShare/share?id=4251
# API相关
- 判断屏幕尺寸this.stage.viewRect.height,比如iPhone678是1334,X是1624
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