Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
z_05_xcx
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
template admin
z_05_xcx
Commits
a2858aa9
Commit
a2858aa9
authored
Sep 27, 2020
by
Li Mingzhe
Browse files
Options
Browse Files
Download
Plain Diff
feat: v1.0
parents
c9ecd9a7
26144dcf
Changes
11
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
1476 additions
and
4143 deletions
+1476
-4143
scene.js
play/assets/tmpGame/scene/scene.js
+4
-5
n_xuan1.fire
play/assets/tmpGame/scene_2/n_xuan1.fire
+1152
-3419
n_xuan1.js
play/assets/tmpGame/scene_2/n_xuan1.js
+246
-61
scene_2.fire
play/assets/tmpGame/scene_2/scene_2.fire
+0
-649
scene_2.fire.meta
play/assets/tmpGame/scene_2/scene_2.fire.meta
+0
-7
utils.js
play/assets/tmpGame/script/utils.js
+1
-1
loading_bg.jpg
play/assets/tmpGame/textures/loading_bg.jpg
+0
-0
loading_bg.jpg.meta
play/assets/tmpGame/textures/loading_bg.jpg.meta
+36
-0
loading_icon.png
play/assets/tmpGame/textures/loading_icon.png
+0
-0
loading_icon.png.meta
play/assets/tmpGame/textures/loading_icon.png.meta
+36
-0
wechatgame.json
play/settings/wechatgame.json
+1
-1
No files found.
play/assets/tmpGame/scene/scene.js
View file @
a2858aa9
...
...
@@ -31,17 +31,16 @@ cc.Class({
// onLoad () {},
start
()
{
setTimeout
(()
=>
{
// setTimeout(() => {
cc
.
assetManager
.
loadBundle
(
'
tmpGame/scene_2
'
,
(
err
,
bundle
)
=>
{
console
.
log
(
'
bundle:
'
,
bundle
);
bundle
.
loadScene
(
'
n_xuan1
'
,
(
err
,
s
)
=>
{
cc
.
director
.
runScene
(
s
);
})
})
// cc.director.loadScene('')
// console.log('aaa');
},
1000
);
// }, 1000);
},
// update (dt) {},
...
...
play/assets/tmpGame/scene_2/n_xuan1.fire
View file @
a2858aa9
This diff is collapsed.
Click to expand it.
play/assets/tmpGame/scene_2/n_xuan1.js
View file @
a2858aa9
This diff is collapsed.
Click to expand it.
play/assets/tmpGame/scene_2/scene_2.fire
deleted
100644 → 0
View file @
c9ecd9a7
This diff is collapsed.
Click to expand it.
play/assets/tmpGame/scene_2/scene_2.fire.meta
deleted
100644 → 0
View file @
c9ecd9a7
{
"ver": "1.2.7",
"uuid": "bbec5d49-536a-4dcd-a536-d9f5f954d854",
"asyncLoadAssets": false,
"autoReleaseAssets": true,
"subMetas": {}
}
\ No newline at end of file
play/assets/tmpGame/script/utils.js
View file @
a2858aa9
...
...
@@ -176,7 +176,7 @@ export async function http(type, url, data) {
}
};
xhr
.
open
(
type
,
url
,
true
);
//
xhr.setRequestHeader("Content-Type","application/json; charset=utf-8");
xhr
.
setRequestHeader
(
"
Content-Type
"
,
"
application/json; charset=utf-8
"
);
xhr
.
send
(
JSON
.
stringify
(
data
));
});
}
play/assets/tmpGame/textures/loading_bg.jpg
0 → 100644
View file @
a2858aa9
285 Bytes
play/assets/tmpGame/textures/loading_bg.jpg.meta
0 → 100644
View file @
a2858aa9
{
"ver": "2.3.5",
"uuid": "9dcaf5f2-c0eb-4f92-8b96-5c5ee4360816",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 10,
"height": 10,
"platformSettings": {},
"subMetas": {
"loading_bg": {
"ver": "1.0.4",
"uuid": "a31135f5-f1ae-4e41-ae60-1bf92ebbdf65",
"rawTextureUuid": "9dcaf5f2-c0eb-4f92-8b96-5c5ee4360816",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 10,
"height": 10,
"rawWidth": 10,
"rawHeight": 10,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
play/assets/tmpGame/textures/loading_icon.png
0 → 100644
View file @
a2858aa9
38.4 KB
play/assets/tmpGame/textures/loading_icon.png.meta
0 → 100644
View file @
a2858aa9
{
"ver": "2.3.5",
"uuid": "abd4d5ea-e752-4121-bbfd-f2525d1af9bd",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 265,
"height": 265,
"platformSettings": {},
"subMetas": {
"loading_icon": {
"ver": "1.0.4",
"uuid": "289902a0-e926-4f4e-92ab-f4e45becde5d",
"rawTextureUuid": "abd4d5ea-e752-4121-bbfd-f2525d1af9bd",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0.5,
"offsetY": 0,
"trimX": 8,
"trimY": 4,
"width": 250,
"height": 257,
"rawWidth": 265,
"rawHeight": 265,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
play/settings/wechatgame.json
View file @
a2858aa9
{
"appid"
:
"wx
a082c58c5b503561
"
,
"appid"
:
"wx
e5b8afe35e915c1c
"
,
"orientation"
:
"landscape"
,
"separate_engine"
:
false
,
"REMOTE_SERVER_ROOT"
:
""
,
...
...
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