Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
hello_canvas
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wildfirecode13
hello_canvas
Commits
2fffce9e
Commit
2fffce9e
authored
Sep 01, 2020
by
wildfirecode13
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of gitlab2.dui88.com:wanghongyuan/hello_canvas
parents
316330dc
760fcc4c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
README.md
README.md
+7
-1
No files found.
README.md
View file @
2fffce9e
...
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment