Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
tb_project
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
钱根
tb_project
Commits
a0a10508
Commit
a0a10508
authored
Aug 10, 2021
by
Master Q
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
游戏
parent
39dfa31b
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
893 additions
and
16 deletions
+893
-16
Main.ts
src/Main.ts
+8
-10
ResJson.ts
src/ResJson.ts
+885
-6
No files found.
src/Main.ts
View file @
a0a10508
import
{
NewGuyScene
}
from
'./scenes/NewGuyScene/NewGuyScene'
;
import
{
destroyLayers
,
layers
}
from
"../module/views/layers"
;
import
{
destroyLayers
,
layers
}
from
"../module/views/layers"
;
import
{
RES
}
from
"../module/RES"
;
import
{
RES
}
from
"../module/RES"
;
import
{
changeScene
,
destroyAllCtrls
,
showToast
}
from
"../module/ctrls"
;
import
{
changeScene
,
destroyAllCtrls
,
showToast
}
from
"../module/ctrls"
;
...
@@ -8,9 +9,6 @@ import { destroyTbNetData, sendTbNet, TbNetName } from "./TaoBaoNet";
...
@@ -8,9 +9,6 @@ import { destroyTbNetData, sendTbNet, TbNetName } from "./TaoBaoNet";
import
{
SkinJson
}
from
"./SkinJson"
;
import
{
SkinJson
}
from
"./SkinJson"
;
import
{
G_EVENT
}
from
"./common/G_EVENT"
;
import
{
G_EVENT
}
from
"./common/G_EVENT"
;
import
{
Tools
}
from
"./Tools"
;
import
{
Tools
}
from
"./Tools"
;
import
{
GameScene
}
from
"./scenes/GameScene/GameScene"
;
import
{
cusPlaySound
,
Soundurl
,
stopAllSound
}
from
"./SoundWeb"
;
import
{
NewGuyScene
}
from
"./scenes/NewGuyScene/NewGuyScene"
;
import
{
GameOverScene
}
from
"./scenes/GameOverScene/GameOverScene"
;
import
{
GameOverScene
}
from
"./scenes/GameOverScene/GameOverScene"
;
/**
/**
...
@@ -177,14 +175,14 @@ export class Main {
...
@@ -177,14 +175,14 @@ export class Main {
// }
// }
// const scene = Tools.globalData.newUser ? StoryScene : IndexScene;
// const scene = Tools.globalData.newUser ? StoryScene : IndexScene;
// , {
// score: 45,
// isNewRecord: true,
// productLink: 'http://qnpic.top/yoona2.jpg',
// isWinPrize: false
// }
// vtodo 是否是新手
// vtodo 是否是新手
changeScene
(
GameScene
);
changeScene
(
NewGuyScene
,
{
score
:
45
,
isNewRecord
:
true
,
productLink
:
'http://qnpic.top/yoona2.jpg'
,
isWinPrize
:
false
});
// MusicBtn.changeMusicStatus(true); // TODO 进游戏打开音乐先
// MusicBtn.changeMusicStatus(true); // TODO 进游戏打开音乐先
...
...
src/ResJson.ts
View file @
a0a10508
This diff is collapsed.
Click to expand it.
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