Skip to content

Commit 3bcddd7

Browse files
committed
⬆️ upgrade to cocos creator 3.0
1 parent 2efdf4e commit 3bcddd7

29 files changed

+2256
-1528
lines changed

.gitignore

+21-39
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,32 @@
11
# custom
22
creator.d.ts
3+
@types
34
*.lock
5+
package-lock.json
46

5-
#/////////////////////////////////////////////////////////////////////////////
6-
# Fireball Projects
7-
#/////////////////////////////////////////////////////////////////////////////
8-
9-
/library/
10-
/temp/
11-
/local/
12-
/build/
13-
14-
#/////////////////////////////////////////////////////////////////////////////
15-
# npm files
16-
#/////////////////////////////////////////////////////////////////////////////
7+
#///////////////////////////
8+
# Cocos Creator Project
9+
#///////////////////////////
10+
library/
11+
temp/
12+
local/
13+
build/
14+
profiles/
1715

18-
npm-debug.log
16+
#//////////////////////////
17+
# NPM
18+
#//////////////////////////
1919
node_modules/
2020

21-
#/////////////////////////////////////////////////////////////////////////////
22-
# Logs and databases
23-
#/////////////////////////////////////////////////////////////////////////////
24-
25-
*.log
26-
*.sql
27-
*.sqlite
28-
29-
#/////////////////////////////////////////////////////////////////////////////
30-
# files for debugger
31-
#/////////////////////////////////////////////////////////////////////////////
21+
#//////////////////////////
22+
# VSCode
23+
#//////////////////////////
24+
.vscode/
3225

33-
*.sln
34-
*.pidb
35-
*.suo
26+
#//////////////////////////
27+
# WebStorm
28+
#//////////////////////////
29+
.idea/
3630

3731
#/////////////////////////////////////////////////////////////////////////////
3832
# OS generated files
@@ -41,15 +35,3 @@ node_modules/
4135
.DS_Store
4236
ehthumbs.db
4337
Thumbs.db
44-
45-
#/////////////////////////////////////////////////////////////////////////////
46-
# WebStorm files
47-
#/////////////////////////////////////////////////////////////////////////////
48-
49-
.idea/
50-
51-
#//////////////////////////
52-
# VS Code files
53-
#//////////////////////////
54-
55-
.vscode/

README.en.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
> Cocos Creator Joystick Demo
44
5+
- [Version 0.2.0](<(https://github.com/YunYouJun/cocos-creator-joystick/releases/tag/v0.2.0)>) for Cocos Creator 3.0
6+
- [Version 0.1.0](https://github.com/YunYouJun/cocos-creator-joystick/releases/tag/v0.1.0) for TypeScript (Cocos Creator 2.x)
7+
- [Version 0.0.2](https://github.com/YunYouJun/cocos-creator-joystick/releases/tag/v0.0.2) for JavaScript (Cocos Creator 2.x)
8+
59
![GitHub package.json version](https://img.shields.io/github/package-json/v/YunYouJun/cocos-creator-joystick.svg?style=social)
610
[![Cocos Creator version](https://img.shields.io/badge/Cocos_Creator-v2.x-blue.svg?style=social)](https://www.cocos.com/creator)
711
![GitHub top language](https://img.shields.io/github/languages/top/YunYouJun/cocos-creator-joystick.svg?style=social&logo=typescript)
@@ -11,8 +15,6 @@
1115

1216
Online Preview: [cocos-creator-joystick](https://yunyoujun.github.io/cocos-creator-joystick)
1317

14-
The latest version has been rewritten with TypeScript, with a more friendly structure and comments. If you want to view the pure JavaScript version, please see the old version [v0.0.2](https://github.com/YunYouJun/cocos-creator-joystick/releases/tag/v0.0.2).
15-
1618
## Usage
1719

1820
### Downoload

README.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
> Cocos Creator 虚拟摇杆样例
44
5+
- [Version 0.2.0](<(https://github.com/YunYouJun/cocos-creator-joystick/releases/tag/v0.2.0)>) for Cocos Creator 3.0
6+
- [Version 0.1.0](https://github.com/YunYouJun/cocos-creator-joystick/releases/tag/v0.1.0) for TypeScript (Cocos Creator 2.x)
7+
- [Version 0.0.2](https://github.com/YunYouJun/cocos-creator-joystick/releases/tag/v0.0.2) for JavaScript (Cocos Creator 2.x)
8+
59
![GitHub package.json version](https://img.shields.io/github/package-json/v/YunYouJun/cocos-creator-joystick.svg?style=social)
610
[![Cocos Creator version](https://img.shields.io/badge/Cocos_Creator-v2.4.x-blue.svg?style=social)](https://www.cocos.com/creator)
711
![GitHub top language](https://img.shields.io/github/languages/top/YunYouJun/cocos-creator-joystick.svg?style=social&logo=typescript)
@@ -11,8 +15,6 @@
1115

1216
在线预览: [cocos-creator-joystick](https://yunyoujun.github.io/cocos-creator-joystick)
1317

14-
最新版本已使用 TypeScript 重写,更友好的结构与注释。如果您想要查看纯 JavaScript 版本,请见旧版本 [v0.0.2](https://github.com/YunYouJun/cocos-creator-joystick/releases/tag/v0.0.2)
15-
1618
## 使用
1719

1820
### 下载
@@ -102,4 +104,3 @@ npm run deploy
102104
### Todo
103105

104106
- [ ] Keep half screen layout (now is fixed width)
105-
- [ ] How about set dot as a child of ring?

assets/scenes.meta

+11-11
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
2-
"ver": "1.1.2",
3-
"uuid": "3dfec17a-c708-4f62-9a84-b219c1808a3c",
4-
"isBundle": false,
5-
"bundleName": "",
6-
"priority": 1,
7-
"compressionType": {},
8-
"optimizeHotUpdate": {},
9-
"inlineSpriteFrames": {},
10-
"isRemoteBundle": {},
11-
"subMetas": {}
12-
}
2+
"ver": "1.1.0",
3+
"importer": "directory",
4+
"imported": true,
5+
"uuid": "e217cf78-e341-42a7-9327-59c395e1d4cd",
6+
"files": [],
7+
"subMetas": {},
8+
"userData": {
9+
"compressionType": {},
10+
"isRemoteBundle": {}
11+
}
12+
}

assets/scenes/demo.fire.meta

-7
This file was deleted.

0 commit comments

Comments
 (0)