Skip to content

Commit

Permalink
⬆️ upgrade to cocos creator 3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
YunYouJun committed Mar 7, 2021
1 parent 2efdf4e commit 3bcddd7
Show file tree
Hide file tree
Showing 29 changed files with 2,256 additions and 1,528 deletions.
60 changes: 21 additions & 39 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,38 +1,32 @@
# custom
creator.d.ts
@types
*.lock
package-lock.json

#/////////////////////////////////////////////////////////////////////////////
# Fireball Projects
#/////////////////////////////////////////////////////////////////////////////

/library/
/temp/
/local/
/build/

#/////////////////////////////////////////////////////////////////////////////
# npm files
#/////////////////////////////////////////////////////////////////////////////
#///////////////////////////
# Cocos Creator Project
#///////////////////////////
library/
temp/
local/
build/
profiles/

npm-debug.log
#//////////////////////////
# NPM
#//////////////////////////
node_modules/

#/////////////////////////////////////////////////////////////////////////////
# Logs and databases
#/////////////////////////////////////////////////////////////////////////////

*.log
*.sql
*.sqlite

#/////////////////////////////////////////////////////////////////////////////
# files for debugger
#/////////////////////////////////////////////////////////////////////////////
#//////////////////////////
# VSCode
#//////////////////////////
.vscode/

*.sln
*.pidb
*.suo
#//////////////////////////
# WebStorm
#//////////////////////////
.idea/

#/////////////////////////////////////////////////////////////////////////////
# OS generated files
Expand All @@ -41,15 +35,3 @@ node_modules/
.DS_Store
ehthumbs.db
Thumbs.db

#/////////////////////////////////////////////////////////////////////////////
# WebStorm files
#/////////////////////////////////////////////////////////////////////////////

.idea/

#//////////////////////////
# VS Code files
#//////////////////////////

.vscode/
6 changes: 4 additions & 2 deletions README.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

> Cocos Creator Joystick Demo
- [Version 0.2.0](<(https://github.com/YunYouJun/cocos-creator-joystick/releases/tag/v0.2.0)>) for Cocos Creator 3.0
- [Version 0.1.0](https://github.com/YunYouJun/cocos-creator-joystick/releases/tag/v0.1.0) for TypeScript (Cocos Creator 2.x)
- [Version 0.0.2](https://github.com/YunYouJun/cocos-creator-joystick/releases/tag/v0.0.2) for JavaScript (Cocos Creator 2.x)

![GitHub package.json version](https://img.shields.io/github/package-json/v/YunYouJun/cocos-creator-joystick.svg?style=social)
[![Cocos Creator version](https://img.shields.io/badge/Cocos_Creator-v2.x-blue.svg?style=social)](https://www.cocos.com/creator)
![GitHub top language](https://img.shields.io/github/languages/top/YunYouJun/cocos-creator-joystick.svg?style=social&logo=typescript)
Expand All @@ -11,8 +15,6 @@

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

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).

## Usage

### Downoload
Expand Down
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

> Cocos Creator 虚拟摇杆样例
- [Version 0.2.0](<(https://github.com/YunYouJun/cocos-creator-joystick/releases/tag/v0.2.0)>) for Cocos Creator 3.0
- [Version 0.1.0](https://github.com/YunYouJun/cocos-creator-joystick/releases/tag/v0.1.0) for TypeScript (Cocos Creator 2.x)
- [Version 0.0.2](https://github.com/YunYouJun/cocos-creator-joystick/releases/tag/v0.0.2) for JavaScript (Cocos Creator 2.x)

![GitHub package.json version](https://img.shields.io/github/package-json/v/YunYouJun/cocos-creator-joystick.svg?style=social)
[![Cocos Creator version](https://img.shields.io/badge/Cocos_Creator-v2.4.x-blue.svg?style=social)](https://www.cocos.com/creator)
![GitHub top language](https://img.shields.io/github/languages/top/YunYouJun/cocos-creator-joystick.svg?style=social&logo=typescript)
Expand All @@ -11,8 +15,6 @@

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

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

## 使用

### 下载
Expand Down Expand Up @@ -102,4 +104,3 @@ npm run deploy
### Todo

- [ ] Keep half screen layout (now is fixed width)
- [ ] How about set dot as a child of ring?
22 changes: 11 additions & 11 deletions assets/scenes.meta
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"ver": "1.1.2",
"uuid": "3dfec17a-c708-4f62-9a84-b219c1808a3c",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
"ver": "1.1.0",
"importer": "directory",
"imported": true,
"uuid": "e217cf78-e341-42a7-9327-59c395e1d4cd",
"files": [],
"subMetas": {},
"userData": {
"compressionType": {},
"isRemoteBundle": {}
}
}
7 changes: 0 additions & 7 deletions assets/scenes/demo.fire.meta

This file was deleted.

Loading

0 comments on commit 3bcddd7

Please sign in to comment.