Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
new-kickball
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
wildfirecode13
new-kickball
Commits
2ab03282
Commit
2ab03282
authored
May 31, 2019
by
wildfirecode
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
a04f3aa0
Changes
21
Hide whitespace changes
Inline
Side-by-side
Showing
21 changed files
with
225 additions
and
56 deletions
+225
-56
.scilla
.scilla
+1
-1
BlueRocket.pfb
assets/prefabs/BlueRocket.pfb
+4
-2
RedFire.pfb
assets/prefabs/RedFire.pfb
+4
-2
YellowFire.pfb
assets/prefabs/YellowFire.pfb
+9
-3
main.scene
assets/scenes/main.scene
+36
-9
BallItem.ts
assets/scripts/scenes/BallItem.ts
+33
-0
BallItem.ts.meta
assets/scripts/scenes/BallItem.ts.meta
+1
-0
Body.ts
assets/scripts/scenes/Body.ts
+30
-0
Body.ts.meta
assets/scripts/scenes/Body.ts.meta
+1
-0
BulletItem.ts
assets/scripts/scenes/BulletItem.ts
+10
-0
BulletItem.ts.meta
assets/scripts/scenes/BulletItem.ts.meta
+1
-0
RocketItem.ts
assets/scripts/scenes/RocketItem.ts
+11
-0
RocketItem.ts.meta
assets/scripts/scenes/RocketItem.ts.meta
+1
-0
ScenePlay.ts
assets/scripts/scenes/ScenePlay.ts
+28
-2
_.ts
assets/scripts/scenes/_.ts
+3
-0
_.ts.meta
assets/scripts/scenes/_.ts.meta
+1
-0
gameconst.ts
assets/scripts/scenes/gameconst.ts
+1
-0
gameconst.ts.meta
assets/scripts/scenes/gameconst.ts.meta
+1
-0
play.sht.meta
assets/sheets/play.sht.meta
+1
-1
火yellow-1.png
assets/sheets/play.sht/火yellow-1.png
+0
-0
MustCompile.ts
src/generated/MustCompile.ts
+48
-36
No files found.
.scilla
View file @
2ab03282
{"currentScene":"assets/scenes/main.scene"}
\ No newline at end of file
{"currentScene":"assets/prefabs/YellowFire.pfb"}
\ No newline at end of file
assets/prefabs/BlueRocket.pfb
View file @
2ab03282
...
...
@@ -20,8 +20,10 @@
"properties": {}
},
{
"script": "./scripts/scenes/BlueRocketItem",
"properties": {}
"script": "./scripts/scenes/RocketItem",
"properties": {
"type": "blue"
}
}
],
"children": [
...
...
assets/prefabs/RedFire.pfb
View file @
2ab03282
...
...
@@ -20,8 +20,10 @@
"properties": {}
},
{
"script": "./scripts/scenes/RedFireItem",
"properties": {}
"script": "./scripts/scenes/RocketItem",
"properties": {
"type": "red"
}
}
],
"children": [
...
...
assets/prefabs/YellowFire.pfb
View file @
2ab03282
...
...
@@ -5,7 +5,7 @@
"components": [
{
"script": "components/base/Transform"
}
,
},
{
"script": "components/other/CameraController"
}
...
...
@@ -18,11 +18,17 @@
{
"script": "components/base/Transform",
"properties": {}
},
{
"script": "./scripts/scenes/RocketItem",
"properties": {
"type": "yellow"
}
}
],
"children": [
{
"name": "
Entity
",
"name": "
pic
",
"components": [
{
"script": "components/base/Transform",
...
...
@@ -31,7 +37,7 @@
{
"script": "components/renderer/TextureRenderer",
"properties": {
"texture": "res|
e5974cd2-5cb8-4eee-addf-ea2b29e9c194
"
"texture": "res|
12a92a67-b5b7-472c-8c4c-95d8eefa1c82
"
}
}
],
...
...
assets/scenes/main.scene
View file @
2ab03282
...
...
@@ -384,11 +384,14 @@
"properties": {
"bulletNumTxt": "entity|f02aa1f7-3255-405e-a537-7ba4ef503aa7",
"strengthNumTxt": "entity|70838016-4fab-4a0f-90aa-61c4303a4ecc",
"BallItemPrefab": "res|
8ebdfe78-ea44-445d-8bbe-02a22874e896
",
"RedFirePrefab": "res|8
3d50df9-266c-478f-bf01-21d478abe049
",
"BlueRocketPrefab": "res|
9a8fe57a-ff20-44e7-89bf-cdc95e80e1ea
",
"BallItemPrefab": "res|
1de471d9-75ca-4549-aca9-ff3cca9aac08
",
"RedFirePrefab": "res|8
a61e34c-bdba-4dbe-813a-68c562e7ecbd
",
"BlueRocketPrefab": "res|
b5185698-ef74-4855-95b9-813e187f6ee7
",
"car": "entity|ebfde024-e9b9-40cb-a866-c0b194446b35",
"BulletItemPrefab": "res|2d853f74-b511-4edf-9bbd-ac02ae1fc075"
"BulletItemPrefab": "res|df59e078-e7b7-4fbb-a1aa-8b291284c39f",
"YellowRocketPrefab": "res|51834a6b-5880-41df-81d9-beaef804a919",
"doJoinData": "dynamic|API|doJoin",
"getNgameStartStatus": "dynamic|API|ngameSubmit"
}
}
],
...
...
@@ -617,7 +620,7 @@
{
"script": "components/renderer/TextureRenderer",
"properties": {
"texture": "res|
abdded14-a2d2-4000-b264-9ff47c843149
"
"texture": "res|
d58b17d5-52a7-4464-93d6-314396fb2cf2
"
}
}
],
...
...
@@ -638,7 +641,7 @@
{
"script": "components/renderer/TextureRenderer",
"properties": {
"texture": "res|
ade44f23-754d-4923-a713-76f4207c3bde
"
"texture": "res|
38e8a63e-37e3-4e11-a641-384bbf0223bb
"
}
}
],
...
...
@@ -660,7 +663,7 @@
{
"script": "components/renderer/TextureRenderer",
"properties": {
"texture": "res|
cb4651fa-3d76-43c6-89a9-d06ddda3c110
"
"texture": "res|
b00c51e6-497c-43d9-82f7-404a75d20be4
"
}
}
],
...
...
@@ -682,7 +685,7 @@
{
"script": "components/renderer/TextureRenderer",
"properties": {
"texture": "res|
cb4651fa-3d76-43c6-89a9-d06ddda3c110
"
"texture": "res|
b00c51e6-497c-43d9-82f7-404a75d20be4
"
}
}
],
...
...
@@ -703,7 +706,7 @@
{
"script": "components/renderer/TextureRenderer",
"properties": {
"texture": "res|
f67e2e09-e0f4-4aea-8243-8d86a4ded38a
"
"texture": "res|
6985d3f7-d1cc-432d-b6bb-d3775718f823
"
}
}
],
...
...
@@ -1284,6 +1287,26 @@
},
"resource-groups": {
"preload": [
{
"uuid": "1de471d9-75ca-4549-aca9-ff3cca9aac08",
"url": "prefabs/BallItem.pfb"
},
{
"uuid": "b5185698-ef74-4855-95b9-813e187f6ee7",
"url": "prefabs/BlueRocket.pfb"
},
{
"uuid": "df59e078-e7b7-4fbb-a1aa-8b291284c39f",
"url": "prefabs/bullet.pfb"
},
{
"uuid": "8a61e34c-bdba-4dbe-813a-68c562e7ecbd",
"url": "prefabs/RedFire.pfb"
},
{
"uuid": "51834a6b-5880-41df-81d9-beaef804a919",
"url": "prefabs/YellowFire.pfb"
},
{
"uuid": "c63ea6c6-ef23-41ea-9d25-c9d0f3eff4cf",
"url": "sheets/gameover.sht-disperse",
...
...
@@ -1376,6 +1399,10 @@
{
"name": "黄-1.png",
"uuid": "24c66e95-12ff-4bea-b4be-aa8554eea39f"
},
{
"name": "火yellow-1.png",
"uuid": "e5974cd2-5cb8-4eee-addf-ea2b29e9c194"
}
]
}
...
...
assets/scripts/scenes/BallItem.ts
0 → 100644
View file @
2ab03282
import
Body
from
'./Body'
;
import
{
gravityY
}
from
'./gameconst'
;
import
{
Entity
}
from
'scilla/src'
;
import
{
TextRenderer
}
from
'scilla-components/src'
;
export
default
class
BallItem
extends
Body
{
score
=
0
;
scoreTxt
:
Entity
;
isBig
=
true
;
constructor
()
{
super
();
this
.
gravity
=
gravityY
;
this
.
rotationSpeed
=
0.5
;
}
onAwake
()
{
super
.
onAwake
();
this
.
updateScoreTxt
();
}
reduceScore
()
{
this
.
score
--
;
if
(
this
.
score
<
0
)
this
.
score
=
0
;
this
.
updateScoreTxt
();
return
this
.
score
;
}
updateScoreTxt
()
{
const
tr
=
this
.
scoreTxt
.
getComponent
(
TextRenderer
);
tr
.
text
=
this
.
score
.
toString
();
}
}
\ No newline at end of file
assets/scripts/scenes/BallItem.ts.meta
0 → 100644
View file @
2ab03282
{"ver":"1.0.1","uuid":"99d3002b-6f74-412d-8af0-b144d58bb054","subMetas":{},"type":"script"}
assets/scripts/scenes/Body.ts
0 → 100644
View file @
2ab03282
import
ScillaComponent
from
'components/base/ScillaComponent'
;
import
{
Transform
}
from
'scilla-components/src'
;
export
default
class
Body
extends
ScillaComponent
{
bounceY
=
1
;
bounceX
=
1
;
velocityY
=
0
;
velocityX
=
0
;
rotationSpeed
=
0.5
;
gravity
=
0
;
private
_counter
=
0
;
onUpdate
()
{
this
.
_counter
++
;
const
{
entity
}
=
this
;
this
.
velocityY
+=
this
.
gravity
;
entity
.
getComponent
(
Transform
).
position
.
y
+=
this
.
velocityY
;
entity
.
getComponent
(
Transform
).
position
.
x
+=
this
.
velocityX
;
// console.log(entity.getComponent(Transform).position.y)
entity
.
getComponent
(
Transform
).
rotation
=
this
.
_counter
*
.
7
*
this
.
rotationSpeed
;
}
revertY
()
{
this
.
velocityY
*=
-
1
*
this
.
bounceY
;
}
revertX
()
{
this
.
velocityX
*=
-
1
*
this
.
bounceX
;
}
}
\ No newline at end of file
assets/scripts/scenes/Body.ts.meta
0 → 100644
View file @
2ab03282
{"ver":"1.0.1","uuid":"216f7c25-499f-4bee-9ead-5cdf94411265","subMetas":{},"type":"script"}
assets/scripts/scenes/BulletItem.ts
0 → 100644
View file @
2ab03282
import
Body
from
'./Body'
;
export
default
class
BulletItem
extends
Body
{
constructor
()
{
super
();
this
.
gravity
=
0
;
this
.
velocityY
=
-
10
;
this
.
rotationSpeed
=
0
;
}
}
\ No newline at end of file
assets/scripts/scenes/BulletItem.ts.meta
0 → 100644
View file @
2ab03282
{"ver":"1.0.1","uuid":"9b500f7e-7d23-46bd-8d3f-b3b076ebee5c","subMetas":{},"type":"script"}
assets/scripts/scenes/RocketItem.ts
0 → 100644
View file @
2ab03282
import
Body
from
'./Body'
;
export
default
class
RocketItem
extends
Body
{
type
:
string
;
constructor
()
{
super
();
this
.
gravity
=
1
;
this
.
bounceY
=
0.9
;
this
.
velocityX
=
1
;
}
}
\ No newline at end of file
assets/scripts/scenes/RocketItem.ts.meta
0 → 100644
View file @
2ab03282
{"ver":"1.0.1","uuid":"0325040d-e190-4b38-834d-362abc071117","subMetas":{},"type":"script"}
assets/scripts/scenes/ScenePlay.ts
View file @
2ab03282
import
ScillaComponent
from
"scilla-components/src/base/ScillaComponent"
;
import
{
dynamic
,
Entity
,
instantiate
,
resource
}
from
"scilla/src"
;
import
{
alien
}
from
"../navigator/StackNavigator"
;
import
{
INavigatorViewBase
}
from
"../navigator/VirtualNavigator"
;
import
{
dynamic
}
from
"scilla/src"
;
import
{
createSgin
}
from
"../net/webService"
;
import
Body
from
"./Body"
;
export
default
class
ScenePlay
extends
ScillaComponent
implements
INavigatorViewBase
{
BallItemPrefab
:
resource
;
BulletItemPrefab
:
resource
;
RedFirePrefab
:
resource
;
BlueRocketPrefab
:
resource
;
YellowRocketPrefab
:
resource
;
bulletNumTxt
:
Entity
;
strengthNumTxt
:
Entity
;
car
:
Entity
;
doJoinData
:
dynamic
;
getNgameStartStatus
:
dynamic
;
score
:
number
;
score
=
0
;
ballList
:
Body
[];
drops
:
Body
[];
fires
:
Body
[];
bodys
:
Body
[];
getFireItem
(
res
:
resource
)
{
const
item
=
instantiate
(
res
);
this
.
entity
.
addChild
(
item
);
const
body
=
item
.
getComponent
(
Body
)
this
.
bodys
.
push
(
body
);
this
.
fires
.
push
(
body
);
return
item
;
}
onAwake
()
{
super
.
onAwake
();
}
...
...
assets/scripts/scenes/_.ts
0 → 100644
View file @
2ab03282
export
const
remove
=
(
item
,
list
)
=>
{
}
\ No newline at end of file
assets/scripts/scenes/_.ts.meta
0 → 100644
View file @
2ab03282
{"ver":"1.0.1","uuid":"82324ada-6ea3-480d-ad2d-229339fd7df4","subMetas":{},"type":"script"}
assets/scripts/scenes/gameconst.ts
0 → 100644
View file @
2ab03282
export
const
gravityY
=
.
5
;
\ No newline at end of file
assets/scripts/scenes/gameconst.ts.meta
0 → 100644
View file @
2ab03282
{"ver":"1.0.1","uuid":"49d89b23-4cb4-4536-9f9e-c83130909711","subMetas":{},"type":"script"}
assets/sheets/play.sht.meta
View file @
2ab03282
{"ver":"1.0.1","uuid":"707b0618-36e7-4fee-a68b-12157b07f102","subMetas":{"1-1-1.png":{"ver":"1.0.1","uuid":"b00c51e6-497c-43d9-82f7-404a75d20be4","rawTextureUuid":"707b0618-36e7-4fee-a68b-12157b07f102","type":"texture"},"red20.png":{"ver":"1.0.1","uuid":"86bf904f-c870-44c5-b2e1-16e511c63eff","rawTextureUuid":"707b0618-36e7-4fee-a68b-12157b07f102","type":"texture"},"发弹雾气-1.png":{"ver":"1.0.1","uuid":"6985d3f7-d1cc-432d-b6bb-d3775718f823","rawTextureUuid":"707b0618-36e7-4fee-a68b-12157b07f102","type":"texture"},"大炮板子-1.png":{"ver":"1.0.1","uuid":"d58b17d5-52a7-4464-93d6-314396fb2cf2","rawTextureUuid":"707b0618-36e7-4fee-a68b-12157b07f102","type":"texture"},"大炮的头-1.png":{"ver":"1.0.1","uuid":"38e8a63e-37e3-4e11-a641-384bbf0223bb","rawTextureUuid":"707b0618-36e7-4fee-a68b-12157b07f102","type":"texture"},"子弹-1.png":{"ver":"1.0.1","uuid":"a0310a43-fc21-44d6-b32b-a8406fe10e03","rawTextureUuid":"707b0618-36e7-4fee-a68b-12157b07f102","type":"texture"},"淡蓝-1.png":{"ver":"1.0.1","uuid":"5367ae30-00ee-4296-8779-158f8fbd68f2","rawTextureUuid":"707b0618-36e7-4fee-a68b-12157b07f102","type":"texture"},"淡蓝火箭-1.png":{"ver":"1.0.1","uuid":"b08e8d70-e3cd-48b4-81b5-61196aafdc7b","rawTextureUuid":"707b0618-36e7-4fee-a68b-12157b07f102","type":"texture"},"火-1.png":{"ver":"1.0.1","uuid":"86a1d006-76e2-4101-b4ba-60fbf96d25a6","rawTextureUuid":"707b0618-36e7-4fee-a68b-12157b07f102","type":"texture"},"火箭-1.png":{"ver":"1.0.1","uuid":"42d4b3ff-b9a9-4688-8d02-10d9e9c0dcf6","rawTextureUuid":"707b0618-36e7-4fee-a68b-12157b07f102","type":"texture"},"紫-1.png":{"ver":"1.0.1","uuid":"3aad1b7b-89ec-4565-afa2-a16d36d7b721","rawTextureUuid":"707b0618-36e7-4fee-a68b-12157b07f102","type":"texture"},"红-1.png":{"ver":"1.0.1","uuid":"e624e863-53d4-41f7-bc95-924579fe8025","rawTextureUuid":"707b0618-36e7-4fee-a68b-12157b07f102","type":"texture"},"绿-1.png":{"ver":"1.0.1","uuid":"853cc248-89dc-40f1-8f16-48007e6d8ef3","rawTextureUuid":"707b0618-36e7-4fee-a68b-12157b07f102","type":"texture"},"蓝-1.png":{"ver":"1.0.1","uuid":"9cc48379-a01c-4cd1-9196-220016eb9797","rawTextureUuid":"707b0618-36e7-4fee-a68b-12157b07f102","type":"texture"},"黄-1.png":{"ver":"1.0.1","uuid":"24c66e95-12ff-4bea-b4be-aa8554eea39f","rawTextureUuid":"707b0618-36e7-4fee-a68b-12157b07f102","type":"texture"},"火
+10%-1.png":{"ver":"1.0.1","uuid":"e5974cd2-5cb8-4eee-addf-ea2b29e9c194
","rawTextureUuid":"707b0618-36e7-4fee-a68b-12157b07f102","type":"texture"}},"type":"sheet"}
{"ver":"1.0.1","uuid":"707b0618-36e7-4fee-a68b-12157b07f102","subMetas":{"1-1-1.png":{"ver":"1.0.1","uuid":"b00c51e6-497c-43d9-82f7-404a75d20be4","rawTextureUuid":"707b0618-36e7-4fee-a68b-12157b07f102","type":"texture"},"red20.png":{"ver":"1.0.1","uuid":"86bf904f-c870-44c5-b2e1-16e511c63eff","rawTextureUuid":"707b0618-36e7-4fee-a68b-12157b07f102","type":"texture"},"发弹雾气-1.png":{"ver":"1.0.1","uuid":"6985d3f7-d1cc-432d-b6bb-d3775718f823","rawTextureUuid":"707b0618-36e7-4fee-a68b-12157b07f102","type":"texture"},"大炮板子-1.png":{"ver":"1.0.1","uuid":"d58b17d5-52a7-4464-93d6-314396fb2cf2","rawTextureUuid":"707b0618-36e7-4fee-a68b-12157b07f102","type":"texture"},"大炮的头-1.png":{"ver":"1.0.1","uuid":"38e8a63e-37e3-4e11-a641-384bbf0223bb","rawTextureUuid":"707b0618-36e7-4fee-a68b-12157b07f102","type":"texture"},"子弹-1.png":{"ver":"1.0.1","uuid":"a0310a43-fc21-44d6-b32b-a8406fe10e03","rawTextureUuid":"707b0618-36e7-4fee-a68b-12157b07f102","type":"texture"},"淡蓝-1.png":{"ver":"1.0.1","uuid":"5367ae30-00ee-4296-8779-158f8fbd68f2","rawTextureUuid":"707b0618-36e7-4fee-a68b-12157b07f102","type":"texture"},"淡蓝火箭-1.png":{"ver":"1.0.1","uuid":"b08e8d70-e3cd-48b4-81b5-61196aafdc7b","rawTextureUuid":"707b0618-36e7-4fee-a68b-12157b07f102","type":"texture"},"火-1.png":{"ver":"1.0.1","uuid":"86a1d006-76e2-4101-b4ba-60fbf96d25a6","rawTextureUuid":"707b0618-36e7-4fee-a68b-12157b07f102","type":"texture"},"火箭-1.png":{"ver":"1.0.1","uuid":"42d4b3ff-b9a9-4688-8d02-10d9e9c0dcf6","rawTextureUuid":"707b0618-36e7-4fee-a68b-12157b07f102","type":"texture"},"紫-1.png":{"ver":"1.0.1","uuid":"3aad1b7b-89ec-4565-afa2-a16d36d7b721","rawTextureUuid":"707b0618-36e7-4fee-a68b-12157b07f102","type":"texture"},"红-1.png":{"ver":"1.0.1","uuid":"e624e863-53d4-41f7-bc95-924579fe8025","rawTextureUuid":"707b0618-36e7-4fee-a68b-12157b07f102","type":"texture"},"绿-1.png":{"ver":"1.0.1","uuid":"853cc248-89dc-40f1-8f16-48007e6d8ef3","rawTextureUuid":"707b0618-36e7-4fee-a68b-12157b07f102","type":"texture"},"蓝-1.png":{"ver":"1.0.1","uuid":"9cc48379-a01c-4cd1-9196-220016eb9797","rawTextureUuid":"707b0618-36e7-4fee-a68b-12157b07f102","type":"texture"},"黄-1.png":{"ver":"1.0.1","uuid":"24c66e95-12ff-4bea-b4be-aa8554eea39f","rawTextureUuid":"707b0618-36e7-4fee-a68b-12157b07f102","type":"texture"},"火
yellow-1.png":{"ver":"1.0.1","uuid":"12a92a67-b5b7-472c-8c4c-95d8eefa1c82
","rawTextureUuid":"707b0618-36e7-4fee-a68b-12157b07f102","type":"texture"}},"type":"sheet"}
assets/sheets/play.sht/火
+10%
-1.png
→
assets/sheets/play.sht/火
yellow
-1.png
View file @
2ab03282
File moved
src/generated/MustCompile.ts
View file @
2ab03282
...
...
@@ -5,59 +5,59 @@
import
{
registerDef
}
from
'scilla'
import
component0
from
'components/other/
CameraController
'
;
registerDef
(
'components/other/
CameraController
'
,
component0
);
import
component0
from
'components/other/
RelativeLayout
'
;
registerDef
(
'components/other/
RelativeLayout
'
,
component0
);
import
component1
from
'components/base/Transform'
;
registerDef
(
'components/base/Transform'
,
component1
);
import
component2
from
'components/renderer/
Texture
Renderer'
;
registerDef
(
'components/renderer/
Texture
Renderer'
,
component2
);
import
component2
from
'components/renderer/
Html
Renderer'
;
registerDef
(
'components/renderer/
Html
Renderer'
,
component2
);
import
component3
from
'components/
renderer/TextRenderer
'
;
registerDef
(
'components/
renderer/TextRenderer
'
,
component3
);
import
component3
from
'components/
ui/ScrollView
'
;
registerDef
(
'components/
ui/ScrollView
'
,
component3
);
import
component4
from
'components/
animation/TouchZoom
'
;
registerDef
(
'components/
animation/TouchZoom
'
,
component4
);
import
component4
from
'components/
other/FullStageSize
'
;
registerDef
(
'components/
other/FullStageSize
'
,
component4
);
import
component5
from
'components/
ui/Button
'
;
registerDef
(
'components/
ui/Button
'
,
component5
);
import
component5
from
'components/
base/TouchInterrupt
'
;
registerDef
(
'components/
base/TouchInterrupt
'
,
component5
);
import
component6
from
'components/
other/FullStageSize
'
;
registerDef
(
'components/
other/FullStageSize
'
,
component6
);
import
component6
from
'components/
renderer/RectRenderer
'
;
registerDef
(
'components/
renderer/RectRenderer
'
,
component6
);
import
component7
from
'components/other/
RelativeLayout
'
;
registerDef
(
'components/other/
RelativeLayout
'
,
component7
);
import
component7
from
'components/other/
CameraController
'
;
registerDef
(
'components/other/
CameraController
'
,
component7
);
import
component8
from
'components/renderer/
Rect
Renderer'
;
registerDef
(
'components/renderer/
Rect
Renderer'
,
component8
);
import
component8
from
'components/renderer/
Texture
Renderer'
;
registerDef
(
'components/renderer/
Texture
Renderer'
,
component8
);
import
component9
from
'components/
base/TouchInterrupt
'
;
registerDef
(
'components/
base/TouchInterrupt
'
,
component9
);
import
component9
from
'components/
renderer/TextRenderer
'
;
registerDef
(
'components/
renderer/TextRenderer
'
,
component9
);
import
component10
from
'components/
ui/ScrollView
'
;
registerDef
(
'components/
ui/ScrollView
'
,
component10
);
import
component10
from
'components/
animation/TouchZoom
'
;
registerDef
(
'components/
animation/TouchZoom
'
,
component10
);
import
component11
from
'components/
renderer/HtmlRenderer
'
;
registerDef
(
'components/
renderer/HtmlRenderer
'
,
component11
);
import
component11
from
'components/
ui/Button
'
;
registerDef
(
'components/
ui/Button
'
,
component11
);
import
component12
from
'../../assets/scripts/
scenes/SceneController
'
;
registerDef
(
'./scripts/
scenes/SceneController
'
,
component12
);
import
component12
from
'../../assets/scripts/
api/SampleApi
'
;
registerDef
(
'./scripts/
api/SampleApi
'
,
component12
);
import
component13
from
'../../assets/scripts/
scenes/ScenePlay
'
;
registerDef
(
'./scripts/
scenes/ScenePlay
'
,
component13
);
import
component13
from
'../../assets/scripts/
api/SamplePollingApi
'
;
registerDef
(
'./scripts/
api/SamplePollingApi
'
,
component13
);
import
component14
from
'../../assets/scripts/scenes/SceneStart'
;
registerDef
(
'./scripts/scenes/SceneStart'
,
component14
);
import
component15
from
'../../assets/scripts/
Main
Controller'
;
registerDef
(
'./scripts/
Main
Controller'
,
component15
);
import
component15
from
'../../assets/scripts/
scenes/Scene
Controller'
;
registerDef
(
'./scripts/
scenes/Scene
Controller'
,
component15
);
import
component16
from
'../../assets/scripts/popup/Popup'
;
registerDef
(
'./scripts/popup/Popup'
,
component16
);
import
component17
from
'../../assets/scripts/
api/SampleApi
'
;
registerDef
(
'./scripts/
api/SampleApi
'
,
component17
);
import
component17
from
'../../assets/scripts/
navigator/SingleSceneNavigator
'
;
registerDef
(
'./scripts/
navigator/SingleSceneNavigator
'
,
component17
);
import
component18
from
'../../assets/scripts/dialogs/AlertDialogContent'
;
registerDef
(
'./scripts/dialogs/AlertDialogContent'
,
component18
);
...
...
@@ -65,17 +65,29 @@ registerDef('./scripts/dialogs/AlertDialogContent', component18);
import
component19
from
'../../assets/scripts/dialogs/RuleDialogContent'
;
registerDef
(
'./scripts/dialogs/RuleDialogContent'
,
component19
);
import
component20
from
'../../assets/scripts/
common/Toast
'
;
registerDef
(
'./scripts/
common/Toast
'
,
component20
);
import
component20
from
'../../assets/scripts/
scenes/ScenePlay
'
;
registerDef
(
'./scripts/
scenes/ScenePlay
'
,
component20
);
import
component21
from
'../../assets/scripts/game/CustomTextRenderer'
;
registerDef
(
'./scripts/game/CustomTextRenderer'
,
component21
);
import
component22
from
'../../assets/scripts/
navigator/SingleSceneNavigato
r'
;
registerDef
(
'./scripts/
navigator/SingleSceneNavigato
r'
,
component22
);
import
component22
from
'../../assets/scripts/
MainControlle
r'
;
registerDef
(
'./scripts/
MainControlle
r'
,
component22
);
import
component23
from
'../../assets/scripts/dialogs/GameOverPanel'
;
registerDef
(
'./scripts/dialogs/GameOverPanel'
,
component23
);
import
component24
from
'../../assets/scripts/api/SamplePollingApi'
;
registerDef
(
'./scripts/api/SamplePollingApi'
,
component24
);
import
component24
from
'../../assets/scripts/common/Toast'
;
registerDef
(
'./scripts/common/Toast'
,
component24
);
import
component25
from
'../../assets/scripts/scenes/BallItem'
;
registerDef
(
'./scripts/scenes/BallItem'
,
component25
);
import
component26
from
'../../assets/scripts/scenes/RocketItem'
;
registerDef
(
'./scripts/scenes/BlueRocketItem'
,
component26
);
import
component27
from
'../../assets/scripts/scenes/BulletItem'
;
registerDef
(
'./scripts/scenes/BulletItem'
,
component27
);
import
component28
from
'../../assets/scripts/scenes/RedFireItem'
;
registerDef
(
'./scripts/scenes/RedFireItem'
,
component28
);
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