Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
game2048
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
王剑峰
game2048
Commits
2ebfdbbe
Commit
2ebfdbbe
authored
Apr 20, 2020
by
wjf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
l
parent
1ba21a42
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
41 deletions
+2
-41
res.json
resource/res.json
+1
-33
StartScene.ts
src/scenes/StartScene.ts
+1
-8
No files found.
resource/res.json
View file @
2ebfdbbe
{
{
"groups"
:
[
"groups"
:
[
{
{
"keys"
:
"choosePrizeBtn.png,focus.png,noCountMark.png,noStockMark.png,panelBg_b.png,prizeItem.png"
,
"keys"
:
"comCloseBtn.png,toastBg.png,waitingBg.png,waitingRot.png"
,
"name"
:
"choosePrizePanel"
},
{
"keys"
:
"comCloseBtn.png,prizeBubbleBg.png,progressBarPanel.png,toastBg.png,waitingBg.png,waitingRot.png"
,
"name"
:
"common"
"name"
:
"common"
},
},
{
"keys"
:
"chooseSelfBtn.png,friendsWinPanelBg.png,friHeadPanelBg.png"
,
"name"
:
"friendsWinPanel"
},
{
"keys"
:
"actOverBtn.png,bg.jpg,bgKid.jpg,choosePrizeBtnR.png,conInviteBtn.png,countDown.mp3,countDownMsg.png,countOne.png,countThree.png,countTwo.png,dianjijiasu.png,friendHeadBg.png,getPrizeBtnR.png,goBtn.png,hand.png,headBg.png,helpTitleMsg.png,inviteFriendBtn.png,meterBg.png,musicOff.png,musicOn.png,notStarted.png,person1.png,person10.png,person11.png,person2.png,person3.png,person4.png,person5.png,person6.png,person7.png,person8.png,person9.png,prizeRoundBg.png,pro0.png,pro1.png,pro2.png,progressBar.png,progressBarDown.png,recordBtn.png,ruleBtn.png,shareTitleMsg.png,smoke.svga,speedUp.mp3,speedUpBtn.png,titleBg.png,wind.svga"
,
"name"
:
"playScene"
},
{
"keys"
:
"getPrizeBtn.png,prizeCheckPanelBg.png,prizeCheckPanelBgKid.png,prize_closeBtn.png"
,
"name"
:
"prizeCheckPanel"
},
{
"keys"
:
"againBtn.png,prizePanelBg.png,prizePanelBgKid.png"
,
"name"
:
"prizePanel"
},
{
"keys"
:
"rulePanelBg.png"
,
"name"
:
"rulePanel"
},
{
{
"keys"
:
"snake.png,startBtn.png"
,
"keys"
:
"snake.png,startBtn.png"
,
"name"
:
"startScene"
"name"
:
"startScene"
},
{
"keys"
:
"knowBtn.png,light.png,panelBg_s.png"
,
"name"
:
"timeoutPanel"
},
{
"keys"
:
"inviteBtn.png,winPanelBg.png"
,
"name"
:
"winPanel"
}
}
]
]
}
}
\ No newline at end of file
src/scenes/StartScene.ts
View file @
2ebfdbbe
import
{
PrizeCheckPanel
}
from
'./../panels/PrizeCheckPanel'
;
import
{
TimeoutPanel
}
from
'../panels/TimeoutPanel'
;
import
{
ChoosePrizePanel
}
from
'../panels/ChoosePrizePanel'
;
import
{
PrizePanel
}
from
'./../panels/PrizePanel'
;
import
{
FriendsWinPanel
}
from
'./../panels/FriendsWinPanel'
;
import
{
RulePanel
}
from
'./../panels/RulePanel'
;
import
{
WinPanel
}
from
'./../panels/WinPanel'
;
import
{
showPanel
}
from
'./../../module/ctrls/index'
;
import
Sprite
from
"../../engine/2d/display/Sprite"
;
import
Sprite
from
"../../engine/2d/display/Sprite"
;
import
{
Event
}
from
"../../engine/2d/events/Event"
;
import
{
Event
}
from
"../../engine/2d/events/Event"
;
...
...
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