Commit 2ab03282 authored by wildfirecode's avatar wildfirecode

1

parent a04f3aa0
{"currentScene":"assets/scenes/main.scene"} {"currentScene":"assets/prefabs/YellowFire.pfb"}
\ No newline at end of file \ No newline at end of file
...@@ -20,8 +20,10 @@ ...@@ -20,8 +20,10 @@
"properties": {} "properties": {}
}, },
{ {
"script": "./scripts/scenes/BlueRocketItem", "script": "./scripts/scenes/RocketItem",
"properties": {} "properties": {
"type": "blue"
}
} }
], ],
"children": [ "children": [
......
...@@ -20,8 +20,10 @@ ...@@ -20,8 +20,10 @@
"properties": {} "properties": {}
}, },
{ {
"script": "./scripts/scenes/RedFireItem", "script": "./scripts/scenes/RocketItem",
"properties": {} "properties": {
"type": "red"
}
} }
], ],
"children": [ "children": [
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
"components": [ "components": [
{ {
"script": "components/base/Transform" "script": "components/base/Transform"
} , },
{ {
"script": "components/other/CameraController" "script": "components/other/CameraController"
} }
...@@ -18,11 +18,17 @@ ...@@ -18,11 +18,17 @@
{ {
"script": "components/base/Transform", "script": "components/base/Transform",
"properties": {} "properties": {}
},
{
"script": "./scripts/scenes/RocketItem",
"properties": {
"type": "yellow"
}
} }
], ],
"children": [ "children": [
{ {
"name": "Entity", "name": "pic",
"components": [ "components": [
{ {
"script": "components/base/Transform", "script": "components/base/Transform",
...@@ -31,7 +37,7 @@ ...@@ -31,7 +37,7 @@
{ {
"script": "components/renderer/TextureRenderer", "script": "components/renderer/TextureRenderer",
"properties": { "properties": {
"texture": "res|e5974cd2-5cb8-4eee-addf-ea2b29e9c194" "texture": "res|12a92a67-b5b7-472c-8c4c-95d8eefa1c82"
} }
} }
], ],
......
...@@ -384,11 +384,14 @@ ...@@ -384,11 +384,14 @@
"properties": { "properties": {
"bulletNumTxt": "entity|f02aa1f7-3255-405e-a537-7ba4ef503aa7", "bulletNumTxt": "entity|f02aa1f7-3255-405e-a537-7ba4ef503aa7",
"strengthNumTxt": "entity|70838016-4fab-4a0f-90aa-61c4303a4ecc", "strengthNumTxt": "entity|70838016-4fab-4a0f-90aa-61c4303a4ecc",
"BallItemPrefab": "res|8ebdfe78-ea44-445d-8bbe-02a22874e896", "BallItemPrefab": "res|1de471d9-75ca-4549-aca9-ff3cca9aac08",
"RedFirePrefab": "res|83d50df9-266c-478f-bf01-21d478abe049", "RedFirePrefab": "res|8a61e34c-bdba-4dbe-813a-68c562e7ecbd",
"BlueRocketPrefab": "res|9a8fe57a-ff20-44e7-89bf-cdc95e80e1ea", "BlueRocketPrefab": "res|b5185698-ef74-4855-95b9-813e187f6ee7",
"car": "entity|ebfde024-e9b9-40cb-a866-c0b194446b35", "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 @@ ...@@ -617,7 +620,7 @@
{ {
"script": "components/renderer/TextureRenderer", "script": "components/renderer/TextureRenderer",
"properties": { "properties": {
"texture": "res|abdded14-a2d2-4000-b264-9ff47c843149" "texture": "res|d58b17d5-52a7-4464-93d6-314396fb2cf2"
} }
} }
], ],
...@@ -638,7 +641,7 @@ ...@@ -638,7 +641,7 @@
{ {
"script": "components/renderer/TextureRenderer", "script": "components/renderer/TextureRenderer",
"properties": { "properties": {
"texture": "res|ade44f23-754d-4923-a713-76f4207c3bde" "texture": "res|38e8a63e-37e3-4e11-a641-384bbf0223bb"
} }
} }
], ],
...@@ -660,7 +663,7 @@ ...@@ -660,7 +663,7 @@
{ {
"script": "components/renderer/TextureRenderer", "script": "components/renderer/TextureRenderer",
"properties": { "properties": {
"texture": "res|cb4651fa-3d76-43c6-89a9-d06ddda3c110" "texture": "res|b00c51e6-497c-43d9-82f7-404a75d20be4"
} }
} }
], ],
...@@ -682,7 +685,7 @@ ...@@ -682,7 +685,7 @@
{ {
"script": "components/renderer/TextureRenderer", "script": "components/renderer/TextureRenderer",
"properties": { "properties": {
"texture": "res|cb4651fa-3d76-43c6-89a9-d06ddda3c110" "texture": "res|b00c51e6-497c-43d9-82f7-404a75d20be4"
} }
} }
], ],
...@@ -703,7 +706,7 @@ ...@@ -703,7 +706,7 @@
{ {
"script": "components/renderer/TextureRenderer", "script": "components/renderer/TextureRenderer",
"properties": { "properties": {
"texture": "res|f67e2e09-e0f4-4aea-8243-8d86a4ded38a" "texture": "res|6985d3f7-d1cc-432d-b6bb-d3775718f823"
} }
} }
], ],
...@@ -1284,6 +1287,26 @@ ...@@ -1284,6 +1287,26 @@
}, },
"resource-groups": { "resource-groups": {
"preload": [ "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", "uuid": "c63ea6c6-ef23-41ea-9d25-c9d0f3eff4cf",
"url": "sheets/gameover.sht-disperse", "url": "sheets/gameover.sht-disperse",
...@@ -1376,6 +1399,10 @@ ...@@ -1376,6 +1399,10 @@
{ {
"name": "黄-1.png", "name": "黄-1.png",
"uuid": "24c66e95-12ff-4bea-b4be-aa8554eea39f" "uuid": "24c66e95-12ff-4bea-b4be-aa8554eea39f"
},
{
"name": "火yellow-1.png",
"uuid": "e5974cd2-5cb8-4eee-addf-ea2b29e9c194"
} }
] ]
} }
......
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
{"ver":"1.0.1","uuid":"99d3002b-6f74-412d-8af0-b144d58bb054","subMetas":{},"type":"script"}
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
{"ver":"1.0.1","uuid":"216f7c25-499f-4bee-9ead-5cdf94411265","subMetas":{},"type":"script"}
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
{"ver":"1.0.1","uuid":"9b500f7e-7d23-46bd-8d3f-b3b076ebee5c","subMetas":{},"type":"script"}
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
{"ver":"1.0.1","uuid":"0325040d-e190-4b38-834d-362abc071117","subMetas":{},"type":"script"}
import ScillaComponent from "scilla-components/src/base/ScillaComponent"; import ScillaComponent from "scilla-components/src/base/ScillaComponent";
import { dynamic, Entity, instantiate, resource } from "scilla/src";
import { alien } from "../navigator/StackNavigator"; import { alien } from "../navigator/StackNavigator";
import { INavigatorViewBase } from "../navigator/VirtualNavigator"; import { INavigatorViewBase } from "../navigator/VirtualNavigator";
import { dynamic } from "scilla/src";
import { createSgin } from "../net/webService"; import { createSgin } from "../net/webService";
import Body from "./Body";
export default class ScenePlay extends ScillaComponent implements INavigatorViewBase { 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; doJoinData: dynamic;
getNgameStartStatus: 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() { onAwake() {
super.onAwake(); super.onAwake();
} }
......
export const remove = (item,list)=>{
}
\ No newline at end of file
{"ver":"1.0.1","uuid":"82324ada-6ea3-480d-ad2d-229339fd7df4","subMetas":{},"type":"script"}
export const gravityY= .5;
\ No newline at end of file
{"ver":"1.0.1","uuid":"49d89b23-4cb4-4536-9f9e-c83130909711","subMetas":{},"type":"script"}
{"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"}
...@@ -5,59 +5,59 @@ ...@@ -5,59 +5,59 @@
import {registerDef} from 'scilla' import {registerDef} from 'scilla'
import component0 from 'components/other/CameraController'; import component0 from 'components/other/RelativeLayout';
registerDef('components/other/CameraController', component0); registerDef('components/other/RelativeLayout', component0);
import component1 from 'components/base/Transform'; import component1 from 'components/base/Transform';
registerDef('components/base/Transform', component1); registerDef('components/base/Transform', component1);
import component2 from 'components/renderer/TextureRenderer'; import component2 from 'components/renderer/HtmlRenderer';
registerDef('components/renderer/TextureRenderer', component2); registerDef('components/renderer/HtmlRenderer', component2);
import component3 from 'components/renderer/TextRenderer'; import component3 from 'components/ui/ScrollView';
registerDef('components/renderer/TextRenderer', component3); registerDef('components/ui/ScrollView', component3);
import component4 from 'components/animation/TouchZoom'; import component4 from 'components/other/FullStageSize';
registerDef('components/animation/TouchZoom', component4); registerDef('components/other/FullStageSize', component4);
import component5 from 'components/ui/Button'; import component5 from 'components/base/TouchInterrupt';
registerDef('components/ui/Button', component5); registerDef('components/base/TouchInterrupt', component5);
import component6 from 'components/other/FullStageSize'; import component6 from 'components/renderer/RectRenderer';
registerDef('components/other/FullStageSize', component6); registerDef('components/renderer/RectRenderer', component6);
import component7 from 'components/other/RelativeLayout'; import component7 from 'components/other/CameraController';
registerDef('components/other/RelativeLayout', component7); registerDef('components/other/CameraController', component7);
import component8 from 'components/renderer/RectRenderer'; import component8 from 'components/renderer/TextureRenderer';
registerDef('components/renderer/RectRenderer', component8); registerDef('components/renderer/TextureRenderer', component8);
import component9 from 'components/base/TouchInterrupt'; import component9 from 'components/renderer/TextRenderer';
registerDef('components/base/TouchInterrupt', component9); registerDef('components/renderer/TextRenderer', component9);
import component10 from 'components/ui/ScrollView'; import component10 from 'components/animation/TouchZoom';
registerDef('components/ui/ScrollView', component10); registerDef('components/animation/TouchZoom', component10);
import component11 from 'components/renderer/HtmlRenderer'; import component11 from 'components/ui/Button';
registerDef('components/renderer/HtmlRenderer', component11); registerDef('components/ui/Button', component11);
import component12 from '../../assets/scripts/scenes/SceneController'; import component12 from '../../assets/scripts/api/SampleApi';
registerDef('./scripts/scenes/SceneController', component12); registerDef('./scripts/api/SampleApi', component12);
import component13 from '../../assets/scripts/scenes/ScenePlay'; import component13 from '../../assets/scripts/api/SamplePollingApi';
registerDef('./scripts/scenes/ScenePlay', component13); registerDef('./scripts/api/SamplePollingApi', component13);
import component14 from '../../assets/scripts/scenes/SceneStart'; import component14 from '../../assets/scripts/scenes/SceneStart';
registerDef('./scripts/scenes/SceneStart', component14); registerDef('./scripts/scenes/SceneStart', component14);
import component15 from '../../assets/scripts/MainController'; import component15 from '../../assets/scripts/scenes/SceneController';
registerDef('./scripts/MainController', component15); registerDef('./scripts/scenes/SceneController', component15);
import component16 from '../../assets/scripts/popup/Popup'; import component16 from '../../assets/scripts/popup/Popup';
registerDef('./scripts/popup/Popup', component16); registerDef('./scripts/popup/Popup', component16);
import component17 from '../../assets/scripts/api/SampleApi'; import component17 from '../../assets/scripts/navigator/SingleSceneNavigator';
registerDef('./scripts/api/SampleApi', component17); registerDef('./scripts/navigator/SingleSceneNavigator', component17);
import component18 from '../../assets/scripts/dialogs/AlertDialogContent'; import component18 from '../../assets/scripts/dialogs/AlertDialogContent';
registerDef('./scripts/dialogs/AlertDialogContent', component18); registerDef('./scripts/dialogs/AlertDialogContent', component18);
...@@ -65,17 +65,29 @@ registerDef('./scripts/dialogs/AlertDialogContent', component18); ...@@ -65,17 +65,29 @@ registerDef('./scripts/dialogs/AlertDialogContent', component18);
import component19 from '../../assets/scripts/dialogs/RuleDialogContent'; import component19 from '../../assets/scripts/dialogs/RuleDialogContent';
registerDef('./scripts/dialogs/RuleDialogContent', component19); registerDef('./scripts/dialogs/RuleDialogContent', component19);
import component20 from '../../assets/scripts/common/Toast'; import component20 from '../../assets/scripts/scenes/ScenePlay';
registerDef('./scripts/common/Toast', component20); registerDef('./scripts/scenes/ScenePlay', component20);
import component21 from '../../assets/scripts/game/CustomTextRenderer'; import component21 from '../../assets/scripts/game/CustomTextRenderer';
registerDef('./scripts/game/CustomTextRenderer', component21); registerDef('./scripts/game/CustomTextRenderer', component21);
import component22 from '../../assets/scripts/navigator/SingleSceneNavigator'; import component22 from '../../assets/scripts/MainController';
registerDef('./scripts/navigator/SingleSceneNavigator', component22); registerDef('./scripts/MainController', component22);
import component23 from '../../assets/scripts/dialogs/GameOverPanel'; import component23 from '../../assets/scripts/dialogs/GameOverPanel';
registerDef('./scripts/dialogs/GameOverPanel', component23); registerDef('./scripts/dialogs/GameOverPanel', component23);
import component24 from '../../assets/scripts/api/SamplePollingApi'; import component24 from '../../assets/scripts/common/Toast';
registerDef('./scripts/api/SamplePollingApi', component24); 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);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment