Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
babycare_xiaoxiao
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
翁阳
babycare_xiaoxiao
Commits
07a667a8
Commit
07a667a8
authored
Sep 28, 2020
by
haiyoucuv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
主页
parent
5fd9d915
Changes
9
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
146 additions
and
49 deletions
+146
-49
workspace.xml
.idea/workspace.xml
+35
-43
圆圈.png
resource/FreePowerPanel/圆圈.png
+0
-0
开心收下.png
resource/FreePowerPanel/开心收下.png
+0
-0
res.json
resource/res.json
+6
-2
ResJson.ts
src/ResJson.ts
+6
-2
FesRedPrizePanel.ts
src/panels/FesRedPrizePanel.ts
+76
-0
PlayScene.ts
src/scene/PlayScene.ts
+17
-0
MapScene.ts
src/scene/map/MapScene.ts
+3
-0
FestivalEle.ts
src/something/class/FestivalEle.ts
+3
-2
No files found.
.idea/workspace.xml
View file @
07a667a8
...
...
@@ -2,23 +2,15 @@
<project
version=
"4"
>
<component
name=
"ChangeListManager"
>
<list
default=
"true"
id=
"9cef0552-af3c-4a1c-be1f-dc41ebe5b6db"
name=
"Default Changelist"
comment=
""
>
<change
afterPath=
"$PROJECT_DIR$/src/panels/FesRedPrizePanel.ts"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/.idea/workspace.xml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/.idea/workspace.xml"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/mock/miniTb/mine.getAppData.json"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/mock/miniTb/mine.getAppData.json"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/mock/miniTb/popmartXXL2c.getActivityBaseInfoById.json"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/mock/miniTb/popmartXXL2c.getActivityBaseInfoById.json"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/resource/common/stepBtn.png"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/resource/common/stepBtn.png"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/resource/map/map_avatar_bg.png"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/resource/map/map_avatar_bg.png"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/resource/map/map_bg1.jpg"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/resource/map/map_bg1.jpg"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/resource/map/map_bg2.jpg"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/resource/map/map_bg2.jpg"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/resource/map/map_bg3.jpg"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/resource/map/map_bg3.jpg"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/resource/map/map_check_enable.png"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/resource/map/map_check_enable.png"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/resource/playScene/jellyArrow.png"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/resource/playScene/jellyArrow.png"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/resource/FreePowerPanel/圆圈.png"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/resource/FreePowerPanel/圆圈.png"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/resource/FreePowerPanel/开心收下.png"
beforeDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/resource/res.json"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/resource/res.json"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/Main.ts"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/Main.ts"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/ResJson.ts"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/ResJson.ts"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/scene/PlayScene.ts"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/scene/PlayScene.ts"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/scene/map/CheckBtn.ts"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/scene/map/CheckBtn.ts"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/scene/map/MapScene.ts"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/scene/map/MapScene.ts"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/something/
anisCall/FesRedShootAni.ts"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/something/anisCall/FesRedShootAni
.ts"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/something/
class/FestivalEle.ts"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/something/class/FestivalEle
.ts"
afterDir=
"false"
/>
</list>
<option
name=
"SHOW_DIALOG"
value=
"false"
/>
<option
name=
"HIGHLIGHT_CONFLICTS"
value=
"true"
/>
...
...
@@ -58,7 +50,7 @@
<property
name=
"RunOnceActivity.ShowReadmeOnStart"
value=
"true"
/>
<property
name=
"SHARE_PROJECT_CONFIGURATION_FILES"
value=
"true"
/>
<property
name=
"WebServerToolWindowFactoryState"
value=
"false"
/>
<property
name=
"last_opened_file_path"
value=
"$PROJECT_DIR$/
resource/TaskPanel
"
/>
<property
name=
"last_opened_file_path"
value=
"$PROJECT_DIR$/
src/panels
"
/>
<property
name=
"node.js.detected.package.tslint"
value=
"true"
/>
<property
name=
"node.js.path.for.package.tslint"
value=
"project"
/>
<property
name=
"node.js.selected.package.tslint"
value=
"(autodetect)"
/>
...
...
@@ -71,19 +63,19 @@
<property
name=
"vue.rearranger.settings.migration"
value=
"true"
/>
</component>
<component
name=
"RecentsManager"
>
<key
name=
"MoveFile.RECENT_KEYS"
>
<recent
name=
"$PROJECT_DIR$"
/>
<recent
name=
"$PROJECT_DIR$/resource/PrizePanel"
/>
<recent
name=
"$PROJECT_DIR$/resource/common"
/>
<recent
name=
"$PROJECT_DIR$/resource/SuccessPanel"
/>
<recent
name=
"$PROJECT_DIR$/resource/SuccessPrizePanel"
/>
</key>
<key
name=
"CopyFile.RECENT_KEYS"
>
<recent
name=
"$PROJECT_DIR$/src/panels"
/>
<recent
name=
"$PROJECT_DIR$/resource/TaskPanel"
/>
<recent
name=
"$PROJECT_DIR$"
/>
<recent
name=
"$PROJECT_DIR$/resource/common"
/>
<recent
name=
"$PROJECT_DIR$/resource/map"
/>
</key>
<key
name=
"MoveFile.RECENT_KEYS"
>
<recent
name=
"$PROJECT_DIR$"
/>
<recent
name=
"$PROJECT_DIR$/resource/PrizePanel"
/>
<recent
name=
"$PROJECT_DIR$/resource/common"
/>
<recent
name=
"$PROJECT_DIR$/resource/SuccessPanel"
/>
<recent
name=
"$PROJECT_DIR$/resource/SuccessPrizePanel"
/>
</key>
</component>
<component
name=
"RunManager"
selected=
"npm.dev"
>
...
...
@@ -163,14 +155,7 @@
<workItem
from=
"1600912046696"
duration=
"16271000"
/>
<workItem
from=
"1600998191749"
duration=
"23862000"
/>
<workItem
from=
"1601170975973"
duration=
"20963000"
/>
<workItem
from=
"1601257315718"
duration=
"16130000"
/>
</task>
<task
id=
"LOCAL-00007"
summary=
"map effect"
>
<created>
1594693383764
</created>
<option
name=
"number"
value=
"00007"
/>
<option
name=
"presentableId"
value=
"LOCAL-00007"
/>
<option
name=
"project"
value=
"LOCAL"
/>
<updated>
1594693383765
</updated>
<workItem
from=
"1601257315718"
duration=
"21958000"
/>
</task>
<task
id=
"LOCAL-00008"
summary=
"map effect"
>
<created>
1594695870103
</created>
...
...
@@ -508,7 +493,14 @@
<option
name=
"project"
value=
"LOCAL"
/>
<updated>
1601200612189
</updated>
</task>
<option
name=
"localTasksCounter"
value=
"56"
/>
<task
id=
"LOCAL-00056"
summary=
"主页"
>
<created>
1601285454147
</created>
<option
name=
"number"
value=
"00056"
/>
<option
name=
"presentableId"
value=
"LOCAL-00056"
/>
<option
name=
"project"
value=
"LOCAL"
/>
<updated>
1601285454148
</updated>
</task>
<option
name=
"localTasksCounter"
value=
"57"
/>
<servers
/>
</component>
<component
name=
"TypeScriptGeneratedFilesManager"
>
...
...
@@ -551,49 +543,49 @@
<screen
x=
"31"
y=
"23"
width=
"1889"
height=
"1177"
/>
</state>
<state
x=
"251"
y=
"471"
key=
"ANALYSIS_DLG_com.intellij.analysis.BaseAnalysisAction$1/31.23.1889.1177@31.23.1889.1177"
timestamp=
"1594113080922"
/>
<state
x=
"557"
y=
"183"
width=
"884"
height=
"891"
key=
"CommitChangelistDialog2"
timestamp=
"16012
00612036
"
>
<state
x=
"557"
y=
"183"
width=
"884"
height=
"891"
key=
"CommitChangelistDialog2"
timestamp=
"16012
85453329
"
>
<screen
x=
"30"
y=
"23"
width=
"1890"
height=
"1177"
/>
</state>
<state
x=
"557"
y=
"183"
key=
"CommitChangelistDialog2/30.23.1890.1177@30.23.1890.1177"
timestamp=
"16012
00612036
"
/>
<state
x=
"557"
y=
"183"
key=
"CommitChangelistDialog2/30.23.1890.1177@30.23.1890.1177"
timestamp=
"16012
85453329
"
/>
<state
x=
"558"
y=
"183"
width=
"884"
height=
"891"
key=
"CommitChangelistDialog2/31.23.1889.1177@31.23.1889.1177"
timestamp=
"1595584297912"
/>
<state
x=
"131"
y=
"123"
width=
"730"
height=
"977"
key=
"DiffContextDialog"
timestamp=
"1596165868169"
>
<screen
x=
"30"
y=
"23"
width=
"1890"
height=
"1177"
/>
</state>
<state
x=
"131"
y=
"123"
width=
"730"
height=
"977"
key=
"DiffContextDialog/30.23.1890.1177@30.23.1890.1177"
timestamp=
"1596165868169"
/>
<state
width=
"889"
height=
"321"
key=
"GridCell.Tab.0.bottom"
timestamp=
"16012
77205222
"
>
<state
width=
"889"
height=
"321"
key=
"GridCell.Tab.0.bottom"
timestamp=
"16012
88680787
"
>
<screen
x=
"30"
y=
"23"
width=
"1890"
height=
"1177"
/>
</state>
<state
width=
"869"
height=
"321"
key=
"GridCell.Tab.0.bottom/30.23.1410.877/1440.23.1920.1177@30.23.1410.877"
timestamp=
"1600867804217"
/>
<state
width=
"885"
height=
"321"
key=
"GridCell.Tab.0.bottom/30.23.1410.877@30.23.1410.877"
timestamp=
"1600962876448"
/>
<state
width=
"888"
height=
"321"
key=
"GridCell.Tab.0.bottom/30.23.1650.1027@30.23.1650.1027"
timestamp=
"1596463312309"
/>
<state
width=
"889"
height=
"321"
key=
"GridCell.Tab.0.bottom/30.23.1890.1177@30.23.1890.1177"
timestamp=
"16012
77205222
"
/>
<state
width=
"889"
height=
"321"
key=
"GridCell.Tab.0.bottom/30.23.1890.1177@30.23.1890.1177"
timestamp=
"16012
88680787
"
/>
<state
width=
"1041"
height=
"321"
key=
"GridCell.Tab.0.bottom/31.23.1649.1027@31.23.1649.1027"
timestamp=
"1595590577198"
/>
<state
width=
"1041"
height=
"321"
key=
"GridCell.Tab.0.bottom/31.23.1889.1177@31.23.1889.1177"
timestamp=
"1595579918465"
/>
<state
width=
"889"
height=
"321"
key=
"GridCell.Tab.0.center"
timestamp=
"16012
77205222
"
>
<state
width=
"889"
height=
"321"
key=
"GridCell.Tab.0.center"
timestamp=
"16012
88680786
"
>
<screen
x=
"30"
y=
"23"
width=
"1890"
height=
"1177"
/>
</state>
<state
width=
"869"
height=
"321"
key=
"GridCell.Tab.0.center/30.23.1410.877/1440.23.1920.1177@30.23.1410.877"
timestamp=
"1600867804216"
/>
<state
width=
"885"
height=
"321"
key=
"GridCell.Tab.0.center/30.23.1410.877@30.23.1410.877"
timestamp=
"1600962876447"
/>
<state
width=
"888"
height=
"321"
key=
"GridCell.Tab.0.center/30.23.1650.1027@30.23.1650.1027"
timestamp=
"1596463312308"
/>
<state
width=
"889"
height=
"321"
key=
"GridCell.Tab.0.center/30.23.1890.1177@30.23.1890.1177"
timestamp=
"16012
77205222
"
/>
<state
width=
"889"
height=
"321"
key=
"GridCell.Tab.0.center/30.23.1890.1177@30.23.1890.1177"
timestamp=
"16012
88680786
"
/>
<state
width=
"1041"
height=
"321"
key=
"GridCell.Tab.0.center/31.23.1649.1027@31.23.1649.1027"
timestamp=
"1595590577198"
/>
<state
width=
"1041"
height=
"321"
key=
"GridCell.Tab.0.center/31.23.1889.1177@31.23.1889.1177"
timestamp=
"1595579918464"
/>
<state
width=
"889"
height=
"321"
key=
"GridCell.Tab.0.left"
timestamp=
"16012
77205222
"
>
<state
width=
"889"
height=
"321"
key=
"GridCell.Tab.0.left"
timestamp=
"16012
88680786
"
>
<screen
x=
"30"
y=
"23"
width=
"1890"
height=
"1177"
/>
</state>
<state
width=
"869"
height=
"321"
key=
"GridCell.Tab.0.left/30.23.1410.877/1440.23.1920.1177@30.23.1410.877"
timestamp=
"1600867804216"
/>
<state
width=
"885"
height=
"321"
key=
"GridCell.Tab.0.left/30.23.1410.877@30.23.1410.877"
timestamp=
"1600962876447"
/>
<state
width=
"888"
height=
"321"
key=
"GridCell.Tab.0.left/30.23.1650.1027@30.23.1650.1027"
timestamp=
"1596463312308"
/>
<state
width=
"889"
height=
"321"
key=
"GridCell.Tab.0.left/30.23.1890.1177@30.23.1890.1177"
timestamp=
"16012
77205222
"
/>
<state
width=
"889"
height=
"321"
key=
"GridCell.Tab.0.left/30.23.1890.1177@30.23.1890.1177"
timestamp=
"16012
88680786
"
/>
<state
width=
"1041"
height=
"321"
key=
"GridCell.Tab.0.left/31.23.1649.1027@31.23.1649.1027"
timestamp=
"1595590577197"
/>
<state
width=
"1041"
height=
"321"
key=
"GridCell.Tab.0.left/31.23.1889.1177@31.23.1889.1177"
timestamp=
"1595579918463"
/>
<state
width=
"889"
height=
"321"
key=
"GridCell.Tab.0.right"
timestamp=
"16012
77205222
"
>
<state
width=
"889"
height=
"321"
key=
"GridCell.Tab.0.right"
timestamp=
"16012
88680786
"
>
<screen
x=
"30"
y=
"23"
width=
"1890"
height=
"1177"
/>
</state>
<state
width=
"869"
height=
"321"
key=
"GridCell.Tab.0.right/30.23.1410.877/1440.23.1920.1177@30.23.1410.877"
timestamp=
"1600867804217"
/>
<state
width=
"885"
height=
"321"
key=
"GridCell.Tab.0.right/30.23.1410.877@30.23.1410.877"
timestamp=
"1600962876447"
/>
<state
width=
"888"
height=
"321"
key=
"GridCell.Tab.0.right/30.23.1650.1027@30.23.1650.1027"
timestamp=
"1596463312309"
/>
<state
width=
"889"
height=
"321"
key=
"GridCell.Tab.0.right/30.23.1890.1177@30.23.1890.1177"
timestamp=
"16012
77205222
"
/>
<state
width=
"889"
height=
"321"
key=
"GridCell.Tab.0.right/30.23.1890.1177@30.23.1890.1177"
timestamp=
"16012
88680786
"
/>
<state
width=
"1041"
height=
"321"
key=
"GridCell.Tab.0.right/31.23.1649.1027@31.23.1649.1027"
timestamp=
"1595590577198"
/>
<state
width=
"1041"
height=
"321"
key=
"GridCell.Tab.0.right/31.23.1889.1177@31.23.1889.1177"
timestamp=
"1595579918465"
/>
<state
x=
"82"
y=
"353"
key=
"IDE.errors.dialog"
timestamp=
"1594777965326"
>
...
...
@@ -610,10 +602,10 @@
</state>
<state
x=
"289"
y=
"314"
key=
"SettingsEditor/30.23.1890.1177@30.23.1890.1177"
timestamp=
"1596079390860"
/>
<state
x=
"300"
y=
"248"
key=
"SettingsEditor/31.23.1889.1177@31.23.1889.1177"
timestamp=
"1594798992724"
/>
<state
x=
"91"
y=
"351"
key=
"Vcs.Push.Dialog.v2"
timestamp=
"16012
00613213
"
>
<state
x=
"91"
y=
"351"
key=
"Vcs.Push.Dialog.v2"
timestamp=
"16012
85455207
"
>
<screen
x=
"30"
y=
"23"
width=
"1890"
height=
"1177"
/>
</state>
<state
x=
"91"
y=
"351"
key=
"Vcs.Push.Dialog.v2/30.23.1890.1177@30.23.1890.1177"
timestamp=
"16012
00613213
"
/>
<state
x=
"91"
y=
"351"
key=
"Vcs.Push.Dialog.v2/30.23.1890.1177@30.23.1890.1177"
timestamp=
"16012
85455207
"
/>
<state
x=
"92"
y=
"351"
key=
"Vcs.Push.Dialog.v2/31.23.1889.1177@31.23.1889.1177"
timestamp=
"1595584299423"
/>
<state
x=
"87"
y=
"216"
key=
"com.intellij.openapi.editor.actions.MultiplePasteAction$ClipboardContentChooser"
timestamp=
"1594705166397"
>
<screen
x=
"31"
y=
"23"
width=
"1889"
height=
"1177"
/>
...
...
@@ -642,11 +634,11 @@
</state>
<state
x=
"156"
y=
"286"
key=
"run.anything.popup/30.23.1890.1177@30.23.1890.1177"
timestamp=
"1596432664001"
/>
<state
x=
"157"
y=
"286"
key=
"run.anything.popup/31.23.1889.1177@31.23.1889.1177"
timestamp=
"1595475548860"
/>
<state
x=
"639"
y=
"288"
width=
"671"
height=
"676"
key=
"search.everywhere.popup"
timestamp=
"16012
85319159
"
>
<state
x=
"639"
y=
"288"
width=
"671"
height=
"676"
key=
"search.everywhere.popup"
timestamp=
"16012
91343735
"
>
<screen
x=
"30"
y=
"23"
width=
"1890"
height=
"1177"
/>
</state>
<state
x=
"484"
y=
"220"
width=
"670"
height=
"504"
key=
"search.everywhere.popup/30.23.1410.877@30.23.1410.877"
timestamp=
"1600829323295"
/>
<state
x=
"639"
y=
"288"
width=
"671"
height=
"676"
key=
"search.everywhere.popup/30.23.1890.1177@30.23.1890.1177"
timestamp=
"16012
85319159
"
/>
<state
x=
"639"
y=
"288"
width=
"671"
height=
"676"
key=
"search.everywhere.popup/30.23.1890.1177@30.23.1890.1177"
timestamp=
"16012
91343735
"
/>
<state
x=
"640"
y=
"288"
width=
"670"
height=
"676"
key=
"search.everywhere.popup/31.23.1889.1177@31.23.1889.1177"
timestamp=
"1595584259535"
/>
</component>
<component
name=
"XDebuggerManager"
>
...
...
resource/FreePowerPanel/圆圈.png
View replaced file @
5fd9d915
View file @
07a667a8
127 KB
|
W:
|
H:
120 KB
|
W:
|
H:
2-up
Swipe
Onion skin
resource/FreePowerPanel/开心收下.png
deleted
100644 → 0
View file @
5fd9d915
28.6 KB
resource/res.json
View file @
07a667a8
...
...
@@ -5,7 +5,11 @@
"name"
:
"FailedPanel"
},
{
"keys"
:
"圆圈.png,开心收下.png"
,
"keys"
:
"FesRedPrizeBg.png"
,
"name"
:
"FesRedPrizePanel"
},
{
"keys"
:
"圆圈.png"
,
"name"
:
"FreePowerPanel"
},
{
...
...
@@ -45,7 +49,7 @@
"name"
:
"bonusTime"
},
{
"keys"
:
"boomBtn.png,closeBtn2.png,comCloseBtn.png,comm_light.png,ele0.png,ele1.png,ele10.png,ele11.png,ele12.png,ele13.png,ele14.png,ele2.png,ele3.png,ele4.png,ele5.png,ele6.png,ele7.png,ele8.png,ele9.png,hammerBtn.png,liaojiele.png,powerImg.png,stepBtn.png,toastBg.png,waitingBg.png,waitingRot.png,关闭按钮.png,再想想.png,开始闯关不要能量.png,开始闯关要能量.png,确定.png,继续闯关大.png,继续闯关小.png"
,
"keys"
:
"boomBtn.png,closeBtn2.png,comCloseBtn.png,comm_light.png,ele0.png,ele1.png,ele10.png,ele11.png,ele12.png,ele13.png,ele14.png,ele2.png,ele3.png,ele4.png,ele5.png,ele6.png,ele7.png,ele8.png,ele9.png,hammerBtn.png,liaojiele.png,powerImg.png,stepBtn.png,toastBg.png,waitingBg.png,waitingRot.png,关闭按钮.png,再想想.png,开始闯关不要能量.png,开始闯关要能量.png,
开心收下.png,
确定.png,继续闯关大.png,继续闯关小.png"
,
"name"
:
"common"
},
{
...
...
src/ResJson.ts
View file @
07a667a8
...
...
@@ -5,7 +5,11 @@ export const ResJson = {
"name"
:
"FailedPanel"
},
{
"keys"
:
"圆圈.png,开心收下.png"
,
"keys"
:
"FesRedPrizeBg.png"
,
"name"
:
"FesRedPrizePanel"
},
{
"keys"
:
"圆圈.png"
,
"name"
:
"FreePowerPanel"
},
{
...
...
@@ -45,7 +49,7 @@ export const ResJson = {
"name"
:
"bonusTime"
},
{
"keys"
:
"boomBtn.png,closeBtn2.png,comCloseBtn.png,comm_light.png,ele0.png,ele1.png,ele10.png,ele11.png,ele12.png,ele13.png,ele14.png,ele2.png,ele3.png,ele4.png,ele5.png,ele6.png,ele7.png,ele8.png,ele9.png,hammerBtn.png,liaojiele.png,powerImg.png,stepBtn.png,toastBg.png,waitingBg.png,waitingRot.png,关闭按钮.png,再想想.png,开始闯关不要能量.png,开始闯关要能量.png,确定.png,继续闯关大.png,继续闯关小.png"
,
"keys"
:
"boomBtn.png,closeBtn2.png,comCloseBtn.png,comm_light.png,ele0.png,ele1.png,ele10.png,ele11.png,ele12.png,ele13.png,ele14.png,ele2.png,ele3.png,ele4.png,ele5.png,ele6.png,ele7.png,ele8.png,ele9.png,hammerBtn.png,liaojiele.png,powerImg.png,stepBtn.png,toastBg.png,waitingBg.png,waitingRot.png,关闭按钮.png,再想想.png,开始闯关不要能量.png,开始闯关要能量.png,
开心收下.png,
确定.png,继续闯关大.png,继续闯关小.png"
,
"name"
:
"common"
},
{
...
...
src/panels/FesRedPrizePanel.ts
0 → 100644
View file @
07a667a8
import
{
Panel
}
from
"../../module/views/Panel"
;
import
Tween
=
FYGE
.
Tween
;
import
Ease
=
FYGE
.
Ease
;
import
Sprite
=
FYGE
.
Sprite
;
import
{
PropType
}
from
"../something/enum/PropType"
;
import
{
RES
}
from
"../../module/RES"
;
import
{
changeScene
}
from
"../../module/ctrls"
;
import
{
MapScene
}
from
"../scene/map/MapScene"
;
import
MouseEvent
=
FYGE
.
MouseEvent
;
import
Button
=
FYGE
.
Button
;
import
{
Tools
}
from
"../Tools"
;
const
propImg
=
{
[
PropType
.
BOOMS
]:
'boomBtn.png'
,
[
PropType
.
HAMMERS
]:
'hammerBtn.png'
,
[
PropType
.
STEPS
]:
'stepBtn.png'
}
export
class
FesRedPrizePanel
extends
Panel
{
get
groupNames
()
{
return
[
'FesRedPrizePanel'
]
}
// get skinName() {
// return "SuccessPrizePanel"
// }
public
showAni
()
{
if
(
this
.
isShowing
)
return
;
this
.
isShowing
=
true
;
this
.
anchor
.
set
(
375
,
812
);
Tween
.
get
(
this
)
.
set
({
scaleX
:
0
,
scaleY
:
0
})
.
to
({
scaleX
:
1
,
scaleY
:
1
},
400
,
Ease
.
backOut
)
.
call
(()
=>
{
this
.
isShowing
=
false
;
});
}
closeBtn
:
FYGE
.
Button
;
btn
:
Button
;
img
:
Sprite
;
initUi
()
{
// const {stars, tool, prize} = this.data;
this
.
addChild
(
Tools
.
getSprite
(
'FesRedPrizeBg.png'
))
.
position
.
set
(
53
,
209
);
this
.
addChild
(
new
Button
(
RES
.
getRes
(
'关闭按钮.png'
)))
.
addEventListener
(
MouseEvent
.
CLICK
,
this
.
hidePanel
,
this
)
.
position
.
set
(
625
,
431
);
this
.
addChild
(
new
Button
(
RES
.
getRes
(
'开心收下.png'
)))
.
addEventListener
(
MouseEvent
.
CLICK
,
this
.
hidePanel
,
this
)
.
position
.
set
(
165
,
1045
);
this
.
img
=
this
.
addChild
(
new
Sprite
());
this
.
img
.
anchorTexture
.
x
=
0.5
;
this
.
img
.
position
.
set
(
375
,
693
);
this
.
img
.
width
=
this
.
img
.
height
=
252
;
}
start
(
data
)
{
super
.
start
();
}
initEvents
()
{
super
.
initEvents
();
}
removeEvents
()
{
super
.
removeEvents
();
}
}
src/scene/PlayScene.ts
View file @
07a667a8
...
...
@@ -64,6 +64,7 @@ import { FirstPropGift } from '../something/uis/FirstPropGift';
import
{
bonus_lottie
}
from
'../lotties/bonus_lottie'
;
import
{
GDispatcher
}
from
'../Main'
;
import
{
G_EVENT
}
from
'../common/G_EVENT'
;
import
{
FestivalEle
}
from
"../something/class/FestivalEle"
;
const
aniClass
=
{
"BoomAni"
:
BoomAni
,
...
...
@@ -759,6 +760,7 @@ export class PlayScene extends Scene {
this
.
festivalTarget
.
x
=
580
;
this
.
festivalTarget
.
y
=
115
;
this
.
addChildAt
(
this
.
festivalTarget
,
1
);
this
.
festivalTarget
.
visible
=
false
;
if
(
this
.
lattices
[
festivalIndex
].
element
)
{
this
.
lattices
[
festivalIndex
].
element
.
reset
(
ElementType
.
FESTIVALELE_BIG
)
}
else
{
...
...
@@ -2828,13 +2830,28 @@ export class PlayScene extends Scene {
//查看次数,原先不为0,
if
(
this
.
festivalTargetNum
)
{
this
.
festivalTargetNum
--
;
// this.festivalTarget.count--;
//@ts-ignore
var
p
=
this
.
festivalTarget
.
localToGlobal
({
x
:
40
*
0.8
,
y
:
40
*
0.8
})
this
.
addChild
(
FlyTargetAni
(
ElementType
.
FESTIVALELE_SMALL
,
[
ele
.
x
,
ele
.
y
],
[
p
.
x
,
p
.
y
],
()
=>
{
this
.
festivalTarget
.
count
--
;
}))
// this.addChild(
// EleMaskAni(
// ele,
// [ele.x, ele.y],
// 0,
// this,
// false,
// 1000,
// () => {
// this.festivalTarget.count--;
// }))
//完成了,发接口,到时需要修改,对于接口没成功的不设置
if
(
!
this
.
festivalTargetNum
)
{
console
.
log
(
'红包全都消除完了'
);
// NetManager.ins.hc_redBombAward((success) => {
// if (success) this.redBombPanelMark = true;
// });
...
...
src/scene/map/MapScene.ts
View file @
07a667a8
...
...
@@ -15,6 +15,7 @@ import Tween = FYGE.Tween;
import
Ease
=
FYGE
.
Ease
;
import
{
showPanel
}
from
"../../../module/ctrls"
;
import
{
FreePowerPanel
}
from
"../../panels/FreePowerPanel"
;
import
{
FesRedPrizePanel
}
from
"../../panels/FesRedPrizePanel"
;
export
class
MapScene
extends
Scene
{
private
mapContainer
:
Container
=
null
;
...
...
@@ -57,6 +58,8 @@ export class MapScene extends Scene {
Tools
.
baseInfo
.
loginAddPower
=
false
;
}
showPanel
(
FesRedPrizePanel
);
}
private
updateMapCheck
()
{
...
...
src/something/class/FestivalEle.ts
View file @
07a667a8
...
...
@@ -6,6 +6,7 @@ import { RES } from "../../../module/RES";
*
*/
export
class
FestivalEle
extends
FYGE
.
Container
{
_type
;
/**
* 是否要分裂了
*/
...
...
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