Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
wfc13
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
wildfirecode13
wfc13
Commits
ae6b7541
Commit
ae6b7541
authored
Aug 09, 2021
by
wildfirecode13
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
u
parent
ec0044b8
Changes
15
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
18 additions
and
45 deletions
+18
-45
Main.ts
project/src/Main.ts
+1
-1
centerTextField.ts
project/src/common/centerTextField.ts
+0
-0
getObject.ts
project/src/common/getObject.ts
+0
-0
getQueryParams.ts
project/src/common/getQueryParams.ts
+0
-0
stage.ts
project/src/common/stage.ts
+1
-1
event.ts
project/src/event.ts
+0
-0
assist.ts
project/src/panels/assist.ts
+2
-2
draw.ts
project/src/panels/draw.ts
+2
-2
prize.ts
project/src/panels/prize.ts
+1
-1
share_fail.ts
project/src/panels/share_fail.ts
+1
-1
share_success.ts
project/src/panels/share_success.ts
+1
-1
IndexScene.ts
project/src/scenes/IndexScene.ts
+4
-4
NewbieScene.ts
project/src/scenes/NewbieScene.ts
+2
-2
ShareScene.ts
project/src/scenes/ShareScene.ts
+3
-3
PlayScene.ts
project/src/template/PlayScene.ts
+0
-27
No files found.
project/src/Main.ts
View file @
ae6b7541
...
...
@@ -3,7 +3,7 @@
import
{
changeScene
,
destroyAllCtrls
}
from
"../module/ctrls"
;
import
{
RES
}
from
"../module/RES"
;
import
{
destroyLayers
,
layers
}
from
"../module/views/layers"
;
import
getQueryParams
from
"./getQueryParams"
;
import
getQueryParams
from
"./
common/
getQueryParams"
;
import
{
ResJson
}
from
"./ResJson"
;
import
{
IndexScene
}
from
"./scenes/IndexScene"
;
import
{
NewbieScene
}
from
"./scenes/NewbieScene"
;
...
...
project/src/centerTextField.ts
→
project/src/c
ommon/c
enterTextField.ts
View file @
ae6b7541
File moved
project/src/getObject.ts
→
project/src/
common/
getObject.ts
View file @
ae6b7541
File moved
project/src/getQueryParams.ts
→
project/src/
common/
getQueryParams.ts
View file @
ae6b7541
File moved
project/src/stage.ts
→
project/src/
common/
stage.ts
View file @
ae6b7541
import
{
layers
}
from
"../module/views/layers"
import
{
layers
}
from
"../
../
module/views/layers"
export
const
getStageWidth
=
()
=>
{
return
layers
.
stage
.
viewRect
.
width
}
export
const
getStageHeight
=
()
=>
{
return
layers
.
stage
.
viewRect
.
height
}
...
...
project/src/event.ts
deleted
100644 → 0
View file @
ec0044b8
project/src/panels/assist.ts
View file @
ae6b7541
import
{
RES
}
from
"../../module/RES"
;
import
{
Panel
}
from
"../../module/views/Panel"
;
import
centerTextField
from
"../centerTextField"
;
import
getObject
from
"../getObject"
;
import
centerTextField
from
"../c
ommon/c
enterTextField"
;
import
getObject
from
"../
common/
getObject"
;
export
class
AssistPanel
extends
Panel
{
initUi
()
{
...
...
project/src/panels/draw.ts
View file @
ae6b7541
import
{
RES
}
from
"../../module/RES"
;
import
{
Panel
}
from
"../../module/views/Panel"
;
import
centerTextField
from
"../centerTextField"
;
import
getObject
,
{
getObjects
}
from
"..
/getObject"
;
import
centerTextField
from
"../c
ommon/c
enterTextField"
;
import
getObject
from
"../common
/getObject"
;
export
class
DrawPanel
extends
Panel
{
initUi
()
{
...
...
project/src/panels/prize.ts
View file @
ae6b7541
import
{
changeScene
}
from
"../../module/ctrls"
;
import
{
RES
}
from
"../../module/RES"
;
import
{
Panel
}
from
"../../module/views/Panel"
;
import
getObject
from
"../common/getObject"
;
import
{
ProgressBarS
}
from
"../common/ProgressBarS"
;
import
{
showShareMask
}
from
"../common/ShareMask"
;
import
getObject
from
"../getObject"
;
import
{
IndexScene
}
from
"../scenes/IndexScene"
;
import
updateShare
from
"../updateShare"
;
import
{
getPxTokenSave
,
sendWebNet
,
WebNetName
}
from
"../WebNet"
;
...
...
project/src/panels/share_fail.ts
View file @
ae6b7541
import
{
RES
}
from
"../../module/RES"
;
import
{
Panel
}
from
"../../module/views/Panel"
;
import
getObject
from
"../getObject"
;
import
getObject
from
"../
common/
getObject"
;
export
class
ShareFailPanel
extends
Panel
{
initUi
()
{
...
...
project/src/panels/share_success.ts
View file @
ae6b7541
import
{
RES
}
from
"../../module/RES"
;
import
{
Panel
}
from
"../../module/views/Panel"
;
import
getObject
from
"../getObject"
;
import
getObject
from
"../
common/
getObject"
;
export
class
ShareSuccessPanel
extends
Panel
{
initUi
()
{
...
...
project/src/scenes/IndexScene.ts
View file @
ae6b7541
...
...
@@ -2,18 +2,18 @@ import { unwatchPageVisibility, watchPageVisibility } from '@spark/utils';
import
{
hideWaiting
,
showPanel
,
showToast
,
showWaiting
}
from
"../../module/ctrls"
;
import
PanelCtrl
from
'../../module/ctrls/panelCtrl'
;
import
{
Scene
}
from
"../../module/views/Scene"
;
import
centerTextField
from
'../centerTextField'
;
import
centerTextField
from
'../common/centerTextField'
;
import
getObject
,
{
getObjects
}
from
'../common/getObject'
;
import
getQueryParams
from
'../common/getQueryParams'
;
import
Marquee
from
'../common/Marquee'
;
import
{
ProgressBarS
}
from
'../common/ProgressBarS'
;
import
{
hideShareMask
,
showShareMask
}
from
'../common/ShareMask'
;
import
{
getStageHeight
,
getStageOffset
}
from
'../common/stage'
;
import
{
MAX_MONEY
}
from
'../datas'
;
import
getObject
,
{
getObjects
}
from
'../getObject'
;
import
getQueryParams
from
'../getQueryParams'
;
import
{
DrawPanel
}
from
'../panels/draw'
;
import
{
RulePanel
}
from
'../panels/rule'
;
import
{
ShareFailPanel
}
from
'../panels/share_fail'
;
import
{
ShareSuccessPanel
}
from
'../panels/share_success'
;
import
{
getStageHeight
,
getStageOffset
}
from
'../stage'
;
import
updateShare
from
'../updateShare'
;
import
{
getPxTokenSave
,
getWebData
,
sendWebNet
,
WebNetName
}
from
'../WebNet'
;
export
class
IndexScene
extends
Scene
{
...
...
project/src/scenes/NewbieScene.ts
View file @
ae6b7541
import
{
unwatchPageVisibility
,
watchPageVisibility
}
from
"@spark/utils"
;
import
{
changeScene
,
closeCurrentPanel
,
hideWaiting
,
showPanel
,
showWaiting
}
from
"../../module/ctrls"
;
import
{
Scene
}
from
"../../module/views/Scene"
;
import
getObject
from
"../common/getObject"
;
import
getQueryParams
from
"../common/getQueryParams"
;
import
Group
from
"../common/Group"
;
import
Marquee
from
"../common/Marquee"
;
import
{
hideShareMask
}
from
"../common/ShareMask"
;
import
TestButton
from
"../common/TestButton"
;
import
getObject
from
"../getObject"
;
import
getQueryParams
from
"../getQueryParams"
;
import
{
PrizePanel
}
from
"../panels/prize"
;
import
{
RulePanel
}
from
"../panels/rule"
;
import
{
getPxTokenSave
,
sendWebNet
,
WebNetName
}
from
"../WebNet"
;
...
...
project/src/scenes/ShareScene.ts
View file @
ae6b7541
import
{
hideWaiting
,
showPanel
,
showWaiting
}
from
"../../module/ctrls"
;
import
{
Scene
}
from
"../../module/views/Scene"
;
import
centerTextField
from
"../centerTextField"
;
import
centerTextField
from
"../common/centerTextField"
;
import
getObject
from
"../common/getObject"
;
import
getQueryParams
from
"../common/getQueryParams"
;
import
Marquee
from
"../common/Marquee"
;
import
getObject
from
"../getObject"
;
import
getQueryParams
from
"../getQueryParams"
;
import
{
AssistPanel
}
from
"../panels/assist"
;
import
{
RulePanel
}
from
"../panels/rule"
;
import
{
getPxTokenSave
,
sendWebNet
,
WebNetName
}
from
"../WebNet"
;
...
...
project/src/template/PlayScene.ts
deleted
100644 → 0
View file @
ec0044b8
import
{
Scene
}
from
"../../module/views/Scene"
import
{
Tools
}
from
"../Tools"
;
export
class
PlayScene
extends
Scene
{
get
groupNames
()
{
return
[
"playScene"
]
};
initUi
()
{
this
.
addChild
(
Tools
.
getSprite
(
"playBg.jpg"
))
.
addEventListener
(
FYGE
.
MouseEvent
.
CLICK
,
()
=>
{
console
.
log
(
"点击背景"
)
},
this
)
.
position
.
set
(
0
,
0
)
}
start
(
data
)
{
super
.
start
();
}
initEvents
()
{
super
.
initEvents
();
}
removeEvents
()
{
super
.
removeEvents
();
}
}
\ No newline at end of file
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