Commit e13d9f0d authored by wildfirecode's avatar wildfirecode

1

parent 12d71773
No preview for this file type
{"currentScene":"assets/scenes/main.scene"} {"currentScene":"assets/prefabs/icon1.pfb"}
\ No newline at end of file \ No newline at end of file
{"name":"i1","root":{"uuid":"20190301114308","components":[{"script":"components/base/Transform"}],"children":[{"uuid":"20190301114245","name":"i1","components":[{"script":"components/base/Transform","properties":{}}],"children":[{"name":"Image","components":[{"script":"components/base/Transform","properties":{}},{"script":"components/renderer/TextureRenderer","properties":{"texture":"res|82c35ef6-869e-4f5e-8f0b-36c899ed6b39"}}],"uuid":"3348f059-ffca-4670-9cbc-d9fdd014a17f"}]}]}}
\ No newline at end of file
{ {
"name": "ball1", "name": "i2",
"root": { "root": {
"uuid": "20190301114308", "uuid": "20190301114308",
"components": [ "components": [
...@@ -10,32 +10,15 @@ ...@@ -10,32 +10,15 @@
"children": [ "children": [
{ {
"uuid": "20190301114245", "uuid": "20190301114245",
"name": "ball1", "name": "i2",
"components": [ "components": [
{ {
"script": "components/base/Transform", "script": "components/base/Transform",
"properties": {} "properties": {}
} }
],
"children": [
{
"name": "Image",
"components": [
{
"script": "components/base/Transform",
"properties": {}
},
{
"script": "components/renderer/TextureRenderer",
"properties": {
"texture": "res|82c35ef6-869e-4f5e-8f0b-36c899ed6b39"
}
}
],
"uuid": "3348f059-ffca-4670-9cbc-d9fdd014a17f"
}
] ]
} }
] ]
} },
"entity-cache": []
} }
\ No newline at end of file
{"ver":"1.0.1","uuid":"6ed24859-705a-40ad-abb4-1577dad80d3b","subMetas":{},"type":"prefab"}
{
"name": "i3",
"root": {
"uuid": "20190301114308",
"components": [
{
"script": "components/base/Transform"
}
],
"children": [
{
"uuid": "20190301114245",
"name": "i3",
"components": [
{
"script": "components/base/Transform",
"properties": {}
}
]
}
]
},
"entity-cache": []
}
\ No newline at end of file
{"ver":"1.0.1","uuid":"d52d8187-3e97-4fbe-96a0-90151e56661d","subMetas":{},"type":"prefab"}
{
"name": "i4",
"root": {
"uuid": "20190301114308",
"components": [
{
"script": "components/base/Transform"
}
],
"children": [
{
"uuid": "20190301114245",
"name": "i4",
"components": [
{
"script": "components/base/Transform",
"properties": {}
}
]
}
]
},
"entity-cache": []
}
\ No newline at end of file
{"ver":"1.0.1","uuid":"f8b162ac-d9a4-4376-98af-bc4c95c82140","subMetas":{},"type":"prefab"}
{
"name": "i5",
"root": {
"uuid": "20190301114308",
"components": [
{
"script": "components/base/Transform"
}
],
"children": [
{
"uuid": "20190301114245",
"name": "i5",
"components": [
{
"script": "components/base/Transform",
"properties": {}
}
]
}
]
},
"entity-cache": []
}
\ No newline at end of file
{"ver":"1.0.1","uuid":"2d603fe3-7a29-4b57-9b6c-801817815c86","subMetas":{},"type":"prefab"}
{
"name": "i6",
"root": {
"uuid": "20190301114308",
"components": [
{
"script": "components/base/Transform"
}
],
"children": [
{
"uuid": "20190301114245",
"name": "i6",
"components": [
{
"script": "components/base/Transform",
"properties": {}
}
]
}
]
},
"entity-cache": []
}
\ No newline at end of file
{"ver":"1.0.1","uuid":"3c2e6d0b-082c-4a03-a61f-a8478a151bd8","subMetas":{},"type":"prefab"}
{
"name": "i7",
"root": {
"uuid": "20190301114308",
"components": [
{
"script": "components/base/Transform"
}
],
"children": [
{
"uuid": "20190301114245",
"name": "i7",
"components": [
{
"script": "components/base/Transform",
"properties": {}
}
]
}
]
},
"entity-cache": []
}
\ No newline at end of file
{"ver":"1.0.1","uuid":"8f397fb3-800a-49f1-90f5-973a507244fa","subMetas":{},"type":"prefab"}
{
"name": "i8",
"root": {
"uuid": "20190301114308",
"components": [
{
"script": "components/base/Transform"
}
],
"children": [
{
"uuid": "20190301114245",
"name": "i8",
"components": [
{
"script": "components/base/Transform",
"properties": {}
}
]
}
]
},
"entity-cache": []
}
\ No newline at end of file
{"ver":"1.0.1","uuid":"98db18ff-3a65-4838-9c32-72e329c79efb","subMetas":{},"type":"prefab"}
{
"name": "i9",
"root": {
"uuid": "20190301114308",
"components": [
{
"script": "components/base/Transform"
}
],
"children": [
{
"uuid": "20190301114245",
"name": "i9",
"components": [
{
"script": "components/base/Transform",
"properties": {}
}
]
}
]
},
"entity-cache": []
}
\ No newline at end of file
{"ver":"1.0.1","uuid":"da62865b-b1e6-410f-8e9a-bfa4f77b7aa5","subMetas":{},"type":"prefab"}
...@@ -455,7 +455,8 @@ ...@@ -455,7 +455,8 @@
"text": "05.23s", "text": "05.23s",
"fillColor": "rgba(255, 222, 75, 1)", "fillColor": "rgba(255, 222, 75, 1)",
"textStyle": { "textStyle": {
"fontSize": 50 "fontSize": 50,
"fontWeight": "bold"
} }
} }
} }
...@@ -647,11 +648,11 @@ ...@@ -647,11 +648,11 @@
{ {
"script": "components/renderer/TextureRenderer", "script": "components/renderer/TextureRenderer",
"properties": { "properties": {
"texture": "res|34886980-b89a-4308-8d6c-dec61af0b2f9" "texture": "res|0425c878-060e-4072-ad30-c17ed1a0b441"
} }
} }
], ],
"uuid": "1ba15311-7be2-4432-8632-4e3e5d01f971" "uuid": "e79d6282-5649-47a3-82f1-10b08dcd71dd"
} }
], ],
"disabled": true "disabled": true
...@@ -1307,44 +1308,56 @@ ...@@ -1307,44 +1308,56 @@
"uuid": "207eb774-d33a-4309-b420-667bea6c6cf6" "uuid": "207eb774-d33a-4309-b420-667bea6c6cf6"
}, },
{ {
"name": "red1.png", "name": "盒子.png",
"uuid": "82c35ef6-869e-4f5e-8f0b-36c899ed6b39" "uuid": "56bcd2e4-f0a1-4228-a528-c95f18b1092b"
}, },
{ {
"name": "red3.png", "name": "盒子2.png",
"uuid": "f6bd28a5-3821-42a0-a1bd-4c56b7809297" "uuid": "1740da0d-b247-46bd-a062-39940b88d549"
}, },
{ {
"name": "red4.png", "name": "盒子3.png",
"uuid": "54890950-7189-4449-ae8c-af215515c599" "uuid": "710ca0e4-99bc-4b77-800a-f2d71b9cb69f"
}, },
{ {
"name": "red5.png", "name": "装饰.png",
"uuid": "3711c0c3-d305-4664-b67e-2de454ceb71d" "uuid": "f4ea00e4-af9e-4761-876f-eb1c5101b4f2"
}, },
{ {
"name": "yellow1.png", "name": "icon1.png",
"uuid": "55566266-19f2-4377-ab9a-d69fcaf0d381" "uuid": "5ea53bf0-8a58-420c-8c25-fc1724e4865b"
}, },
{ {
"name": "yellow2.png", "name": "icon2.png",
"uuid": "4fcabe5c-1f52-4a1c-ae26-d1a66c5ecc34" "uuid": "c2836212-2459-4c1d-a294-1ed49e197229"
}, },
{ {
"name": "盒子.png", "name": "icon3.png",
"uuid": "56bcd2e4-f0a1-4228-a528-c95f18b1092b" "uuid": "c9272a2e-6151-4b87-a700-32ac4a12caee"
}, },
{ {
"name": "盒子2.png", "name": "icon4.png",
"uuid": "1740da0d-b247-46bd-a062-39940b88d549" "uuid": "fb22f965-457d-4514-a322-95149ecdee79"
}, },
{ {
"name": "盒子3.png", "name": "icon5.png",
"uuid": "710ca0e4-99bc-4b77-800a-f2d71b9cb69f" "uuid": "e143dfc7-324e-4635-a776-2f6c0d1ce845"
}, },
{ {
"name": "装饰.png", "name": "icon6.png",
"uuid": "f4ea00e4-af9e-4761-876f-eb1c5101b4f2" "uuid": "511ce403-5c36-48e6-9b5c-b3bbfd9b210d"
},
{
"name": "icon7.png",
"uuid": "04ae0a39-6624-488e-b52d-97f7a03baf8f"
},
{
"name": "icon8.png",
"uuid": "12e9e984-20c2-4930-aae7-296cee113462"
},
{
"name": "icon9.png",
"uuid": "c3361b0e-b03a-4fff-a4b3-b20adde85547"
} }
] ]
} }
...@@ -1430,8 +1443,8 @@ ...@@ -1430,8 +1443,8 @@
"url": "singles/按钮.png" "url": "singles/按钮.png"
}, },
{ {
"uuid": "34886980-b89a-4308-8d6c-dec61af0b2f9", "uuid": "0425c878-060e-4072-ad30-c17ed1a0b441",
"url": "singles/游戏引导.png" "url": "singles/游戏引导.jpg"
} }
] ]
} }
......
import ScillaComponent from 'components/base/ScillaComponent';
export default class Icon extends ScillaComponent{
onAwake(){
super.onAwake();
}
onUpdate(t){
super.onUpdate(t);
}
}
{"ver":"1.0.1","uuid":"7846da82-f6e3-4ab7-aadb-064d4b3672b5","subMetas":{},"type":"script"}
{"ver":"1.0.1","uuid":"1f737398-ebbb-4a65-9851-0303fd5def02","subMetas":{"1.png":{"ver":"1.0.1","uuid":"4f3816da-553e-40e1-8568-cc1bf669783d","rawTextureUuid":"1f737398-ebbb-4a65-9851-0303fd5def02","type":"texture"},"2.png":{"ver":"1.0.1","uuid":"ae3c021b-fbbf-43d3-ad6d-dc4b7bf2a7c9","rawTextureUuid":"1f737398-ebbb-4a65-9851-0303fd5def02","type":"texture"},"3.png":{"ver":"1.0.1","uuid":"207eb774-d33a-4309-b420-667bea6c6cf6","rawTextureUuid":"1f737398-ebbb-4a65-9851-0303fd5def02","type":"texture"},"red1.png":{"ver":"1.0.1","uuid":"82c35ef6-869e-4f5e-8f0b-36c899ed6b39","rawTextureUuid":"1f737398-ebbb-4a65-9851-0303fd5def02","type":"texture"},"red3.png":{"ver":"1.0.1","uuid":"f6bd28a5-3821-42a0-a1bd-4c56b7809297","rawTextureUuid":"1f737398-ebbb-4a65-9851-0303fd5def02","type":"texture"},"red4.png":{"ver":"1.0.1","uuid":"54890950-7189-4449-ae8c-af215515c599","rawTextureUuid":"1f737398-ebbb-4a65-9851-0303fd5def02","type":"texture"},"red5.png":{"ver":"1.0.1","uuid":"3711c0c3-d305-4664-b67e-2de454ceb71d","rawTextureUuid":"1f737398-ebbb-4a65-9851-0303fd5def02","type":"texture"},"yellow1.png":{"ver":"1.0.1","uuid":"55566266-19f2-4377-ab9a-d69fcaf0d381","rawTextureUuid":"1f737398-ebbb-4a65-9851-0303fd5def02","type":"texture"},"yellow2.png":{"ver":"1.0.1","uuid":"4fcabe5c-1f52-4a1c-ae26-d1a66c5ecc34","rawTextureUuid":"1f737398-ebbb-4a65-9851-0303fd5def02","type":"texture"},"盒子.png":{"ver":"1.0.1","uuid":"56bcd2e4-f0a1-4228-a528-c95f18b1092b","rawTextureUuid":"1f737398-ebbb-4a65-9851-0303fd5def02","type":"texture"},"盒子2.png":{"ver":"1.0.1","uuid":"1740da0d-b247-46bd-a062-39940b88d549","rawTextureUuid":"1f737398-ebbb-4a65-9851-0303fd5def02","type":"texture"},"盒子3.png":{"ver":"1.0.1","uuid":"710ca0e4-99bc-4b77-800a-f2d71b9cb69f","rawTextureUuid":"1f737398-ebbb-4a65-9851-0303fd5def02","type":"texture"},"装饰.png":{"ver":"1.0.1","uuid":"f4ea00e4-af9e-4761-876f-eb1c5101b4f2","rawTextureUuid":"1f737398-ebbb-4a65-9851-0303fd5def02","type":"texture"}},"type":"sheet"} {"ver":"1.0.1","uuid":"1f737398-ebbb-4a65-9851-0303fd5def02","subMetas":{"1.png":{"ver":"1.0.1","uuid":"4f3816da-553e-40e1-8568-cc1bf669783d","rawTextureUuid":"1f737398-ebbb-4a65-9851-0303fd5def02","type":"texture"},"2.png":{"ver":"1.0.1","uuid":"ae3c021b-fbbf-43d3-ad6d-dc4b7bf2a7c9","rawTextureUuid":"1f737398-ebbb-4a65-9851-0303fd5def02","type":"texture"},"3.png":{"ver":"1.0.1","uuid":"207eb774-d33a-4309-b420-667bea6c6cf6","rawTextureUuid":"1f737398-ebbb-4a65-9851-0303fd5def02","type":"texture"},"盒子.png":{"ver":"1.0.1","uuid":"56bcd2e4-f0a1-4228-a528-c95f18b1092b","rawTextureUuid":"1f737398-ebbb-4a65-9851-0303fd5def02","type":"texture"},"盒子2.png":{"ver":"1.0.1","uuid":"1740da0d-b247-46bd-a062-39940b88d549","rawTextureUuid":"1f737398-ebbb-4a65-9851-0303fd5def02","type":"texture"},"盒子3.png":{"ver":"1.0.1","uuid":"710ca0e4-99bc-4b77-800a-f2d71b9cb69f","rawTextureUuid":"1f737398-ebbb-4a65-9851-0303fd5def02","type":"texture"},"装饰.png":{"ver":"1.0.1","uuid":"f4ea00e4-af9e-4761-876f-eb1c5101b4f2","rawTextureUuid":"1f737398-ebbb-4a65-9851-0303fd5def02","type":"texture"},"icon1.png":{"ver":"1.0.1","uuid":"5ea53bf0-8a58-420c-8c25-fc1724e4865b","rawTextureUuid":"1f737398-ebbb-4a65-9851-0303fd5def02","type":"texture"},"icon2.png":{"ver":"1.0.1","uuid":"c2836212-2459-4c1d-a294-1ed49e197229","rawTextureUuid":"1f737398-ebbb-4a65-9851-0303fd5def02","type":"texture"},"icon3.png":{"ver":"1.0.1","uuid":"c9272a2e-6151-4b87-a700-32ac4a12caee","rawTextureUuid":"1f737398-ebbb-4a65-9851-0303fd5def02","type":"texture"},"icon4.png":{"ver":"1.0.1","uuid":"fb22f965-457d-4514-a322-95149ecdee79","rawTextureUuid":"1f737398-ebbb-4a65-9851-0303fd5def02","type":"texture"},"icon5.png":{"ver":"1.0.1","uuid":"e143dfc7-324e-4635-a776-2f6c0d1ce845","rawTextureUuid":"1f737398-ebbb-4a65-9851-0303fd5def02","type":"texture"},"icon6.png":{"ver":"1.0.1","uuid":"511ce403-5c36-48e6-9b5c-b3bbfd9b210d","rawTextureUuid":"1f737398-ebbb-4a65-9851-0303fd5def02","type":"texture"},"icon7.png":{"ver":"1.0.1","uuid":"04ae0a39-6624-488e-b52d-97f7a03baf8f","rawTextureUuid":"1f737398-ebbb-4a65-9851-0303fd5def02","type":"texture"},"icon8.png":{"ver":"1.0.1","uuid":"12e9e984-20c2-4930-aae7-296cee113462","rawTextureUuid":"1f737398-ebbb-4a65-9851-0303fd5def02","type":"texture"},"icon9.png":{"ver":"1.0.1","uuid":"c3361b0e-b03a-4fff-a4b3-b20adde85547","rawTextureUuid":"1f737398-ebbb-4a65-9851-0303fd5def02","type":"texture"}},"type":"sheet"}
assets/sheets/play.sht/盒子.png

202 KB | W: | H:

assets/sheets/play.sht/盒子.png

271 KB | W: | H:

assets/sheets/play.sht/盒子.png
assets/sheets/play.sht/盒子.png
assets/sheets/play.sht/盒子.png
assets/sheets/play.sht/盒子.png
  • 2-up
  • Swipe
  • Onion skin
assets/sheets/play.sht/盒子2.png

170 KB | W: | H:

assets/sheets/play.sht/盒子2.png

235 KB | W: | H:

assets/sheets/play.sht/盒子2.png
assets/sheets/play.sht/盒子2.png
assets/sheets/play.sht/盒子2.png
assets/sheets/play.sht/盒子2.png
  • 2-up
  • Swipe
  • Onion skin
assets/sheets/play.sht/盒子3.png

155 KB | W: | H:

assets/sheets/play.sht/盒子3.png

201 KB | W: | H:

assets/sheets/play.sht/盒子3.png
assets/sheets/play.sht/盒子3.png
assets/sheets/play.sht/盒子3.png
assets/sheets/play.sht/盒子3.png
  • 2-up
  • Swipe
  • Onion skin
assets/singles/bg.jpg

111 KB | W: | H:

assets/singles/bg.jpg

114 KB | W: | H:

assets/singles/bg.jpg
assets/singles/bg.jpg
assets/singles/bg.jpg
assets/singles/bg.jpg
  • 2-up
  • Swipe
  • Onion skin
assets/singles/playbg.jpg

65.4 KB | W: | H:

assets/singles/playbg.jpg

65.4 KB | W: | H:

assets/singles/playbg.jpg
assets/singles/playbg.jpg
assets/singles/playbg.jpg
assets/singles/playbg.jpg
  • 2-up
  • Swipe
  • Onion skin
{"ver":"1.0.1","uuid":"0425c878-060e-4072-ad30-c17ed1a0b441","subMetas":{"游戏引导":{"ver":"1.0.1","uuid":"8ea937db-76f8-4147-b7e7-e22d6ab29d44","rawTextureUuid":"0425c878-060e-4072-ad30-c17ed1a0b441","type":"texture"}},"type":"texture","imagePath":"/Users/wanghongyuan/shuijf2/assets/singles/游戏引导.jpg"}
{"ver":"1.0.1","uuid":"34886980-b89a-4308-8d6c-dec61af0b2f9","subMetas":{"游戏引导":{"ver":"1.0.1","uuid":"e3e14560-8c84-4432-a264-d63638d0a38b","rawTextureUuid":"34886980-b89a-4308-8d6c-dec61af0b2f9","type":"texture"}},"type":"texture","imagePath":"/Users/wanghongyuan/shuijf2/assets/singles/游戏引导.png"}
...@@ -7138,6 +7138,7 @@ ...@@ -7138,6 +7138,7 @@
_this.COUNT_DOWN_SEC = 16; _this.COUNT_DOWN_SEC = 16;
_this._startTag = false; _this._startTag = false;
_this._msPassed = 0; _this._msPassed = 0;
_this._ballCounter = 0;
return _this; return _this;
} }
ScenePlay.prototype.onAwake = function () { ScenePlay.prototype.onAwake = function () {
...@@ -7229,6 +7230,7 @@ ...@@ -7229,6 +7230,7 @@
this._startTag = true; this._startTag = true;
this._msPassed = 0; this._msPassed = 0;
this._lastTimer = Date.now(); this._lastTimer = Date.now();
this._ballCounter = 0;
}; };
ScenePlay.prototype.onUpdate = function () { ScenePlay.prototype.onUpdate = function () {
if (!this._startTag) if (!this._startTag)
...@@ -7248,6 +7250,7 @@ ...@@ -7248,6 +7250,7 @@
} }
}; };
ScenePlay.prototype.onTimerout = function () { ScenePlay.prototype.onTimerout = function () {
console.log('onTimerout');
}; };
ScenePlay.prototype.getNumber = function (num) { ScenePlay.prototype.getNumber = function (num) {
if (num < 10) if (num < 10)
...@@ -7261,6 +7264,7 @@ ...@@ -7261,6 +7264,7 @@
setText(this.countTxt, this.getNumber(this.COUNT_DOWN_SEC) + ".00s"); setText(this.countTxt, this.getNumber(this.COUNT_DOWN_SEC) + ".00s");
}; };
ScenePlay.prototype.addBall = function () { ScenePlay.prototype.addBall = function () {
this._ballCounter++;
}; };
ScenePlay.prototype.onGameOver = function () { ScenePlay.prototype.onGameOver = function () {
this.bubbling('fuck', 'result'); this.bubbling('fuck', 'result');
......
This diff is collapsed.
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