Commit aa07dd0d authored by Friends233's avatar Friends233

图片字体

parent 1dd3cc0d
This diff is collapsed.
......@@ -342,8 +342,11 @@ export default class GameScene extends cc.Component {
this.levelObjectives = this.actLevelInfo.num
this.countDown = this.actLevelInfo.cds || 0
this.setLable('levelName', `第${numToChinese(level + 1)}关`)
const levelMap = ['font/level1', 'font/level2', 'font/level3']
cc.resources.load(levelMap[level] || 'font/midIcon', (err, ex) => {
cc.find('midIcon', this.node).getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(ex)
})
// this.setLable('levelName', `第${numToChinese(level + 1)}关`)
this.setLable('starIcon/starProc', `${this.starNum}/${this.levelObjectives}`)
this.updateGameProc()
......
{
"ver": "1.1.3",
"uuid": "34f11331-b985-490d-961f-4c74f145c2e4",
"importer": "folder",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.3.7",
"uuid": "0eebc8f5-217f-4954-85a8-45cae19e3f57",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 193,
"height": 174,
"platformSettings": {},
"subMetas": {
"level1": {
"ver": "1.0.6",
"uuid": "78703383-1280-4b70-bc25-0f608a2737be",
"importer": "sprite-frame",
"rawTextureUuid": "0eebc8f5-217f-4954-85a8-45cae19e3f57",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 193,
"height": 174,
"rawWidth": 193,
"rawHeight": 174,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.7",
"uuid": "d9e759a5-0c68-430a-b908-3d8633e6a96f",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 193,
"height": 174,
"platformSettings": {},
"subMetas": {
"level2": {
"ver": "1.0.6",
"uuid": "a1f7c3fb-8761-4846-9380-fd5c45372826",
"importer": "sprite-frame",
"rawTextureUuid": "d9e759a5-0c68-430a-b908-3d8633e6a96f",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 193,
"height": 174,
"rawWidth": 193,
"rawHeight": 174,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.7",
"uuid": "39129a3f-b160-4454-9cce-db6aa61794e4",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 193,
"height": 174,
"platformSettings": {},
"subMetas": {
"level3": {
"ver": "1.0.6",
"uuid": "f1d80cc5-9931-4078-acc5-8781a516d1e6",
"importer": "sprite-frame",
"rawTextureUuid": "39129a3f-b160-4454-9cce-db6aa61794e4",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 193,
"height": 174,
"rawWidth": 193,
"rawHeight": 174,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{"paths":{},"types":[],"uuids":["2dL3kvpAxJu6GJ7RdqJG5J","15WBwxeRlH7LfKB1vk3Hr3","29FYIk+N1GYaeWH/q1NxQO","29VCRWNg1PJaCMFfRktiT9","31r4X/2DlJsLM38fit+9RU","3cgtWnH0VDBKhrJaLGBxaY","4adjSY21NKn58HTpPHV+GP","4asNelSFZBdJWoRAUF+zfA","57nzdaHfdED63tPBTVngId","5cEQYk9o9HNpay8rRONeKx","6d+ZkSHVtCLomnABbAgLbi","71VhFCTINJM6/Ky3oX9nBT","7dFWNhWU5JqbX2WYLwE0lL","8cBygjL2RFKbm1+s0Utqs9","9eVoL8uydDNbyEDvs6pMDM","a2MjXRFdtLlYQ5ouAFv/+R","a39scYjFpPM6wp48nqAB7f","aeme5pj49K+I20dlrkWT/Z","b4P/PCArtIdIH38t6mlw8Y","caPPLVk8tNALK4f1HLeS/m","ccZ87dBnVKaaHVYXZEXW/l","e8Ueib+qJEhL6mXAHdnwbi","e97GVMl6JHh5Ml5qEDdSGa","ebG24L/RFCTKsdG+gOOujI","ebNMh4qYtCqooJGljndL0h","ecpdLyjvZBwrvm+cedCcQy","efIH2ANUNNRrla/2Tkh69y","f0BIwQ8D5Ml7nTNQbh1YlS","f01uShMvVOCbB9b5LIRqaW","f3xSd/ExBBzJl5KRK7XYVG","fbMmcvk8NESZVK02pKjR6b"],"scenes":{"db://assets/Scenes/Game.fire":0},"redirect":[1,0,3,0,4,0,5,0,6,0,7,0,8,0,9,0,10,0,12,0,13,0,14,0,15,0,16,0,17,0,19,0,20,0,23,0,24,0,25,1,26,0,28,0,29,0,30,0],"deps":["resources","internal"],"packs":{"08fed6e4f":[2,0,11,18,21,22,27]},"name":"main","importBase":"import","nativeBase":"native","debug":false,"isZip":false,"encrypted":false}
\ No newline at end of file
{"paths":{},"types":[],"uuids":["2dL3kvpAxJu6GJ7RdqJG5J","15WBwxeRlH7LfKB1vk3Hr3","29FYIk+N1GYaeWH/q1NxQO","31r4X/2DlJsLM38fit+9RU","3cgtWnH0VDBKhrJaLGBxaY","4adjSY21NKn58HTpPHV+GP","4asNelSFZBdJWoRAUF+zfA","57nzdaHfdED63tPBTVngId","5cEQYk9o9HNpay8rRONeKx","6d+ZkSHVtCLomnABbAgLbi","71VhFCTINJM6/Ky3oX9nBT","78cDODEoBLcLwlD2CKJze+","7dFWNhWU5JqbX2WYLwE0lL","8cBygjL2RFKbm1+s0Utqs9","9eVoL8uydDNbyEDvs6pMDM","a2MjXRFdtLlYQ5ouAFv/+R","a39scYjFpPM6wp48nqAB7f","aeme5pj49K+I20dlrkWT/Z","b4P/PCArtIdIH38t6mlw8Y","caPPLVk8tNALK4f1HLeS/m","ccZ87dBnVKaaHVYXZEXW/l","e8Ueib+qJEhL6mXAHdnwbi","e97GVMl6JHh5Ml5qEDdSGa","ebG24L/RFCTKsdG+gOOujI","ebNMh4qYtCqooJGljndL0h","ecpdLyjvZBwrvm+cedCcQy","efIH2ANUNNRrla/2Tkh69y","f0BIwQ8D5Ml7nTNQbh1YlS","f01uShMvVOCbB9b5LIRqaW","f3xSd/ExBBzJl5KRK7XYVG","fbMmcvk8NESZVK02pKjR6b"],"scenes":{"db://assets/Scenes/Game.fire":0},"redirect":[1,0,3,0,4,0,5,0,6,0,7,0,8,0,9,0,11,0,12,0,13,0,14,0,15,0,16,0,17,0,19,0,20,0,23,0,24,0,25,1,26,0,28,0,29,0,30,0],"deps":["resources","internal"],"packs":{"08fed6e4f":[2,0,10,18,21,22,27]},"name":"main","importBase":"import","nativeBase":"native","debug":false,"isZip":false,"encrypted":false}
\ No newline at end of file
This diff is collapsed.
{"type":"cc.Texture2D","data":"0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1"}
\ No newline at end of file
{"type":"cc.Texture2D","data":"0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1"}
\ No newline at end of file
[1,["0e68j1IX9JVIWoRcrhnj9X"],["_textureSetter"],["cc.SpriteFrame"],0,[{"name":"level1","rect":[0,0,193,174],"offset":[0,0],"originalSize":[193,174],"capInsets":[0,0,0,0]}],[0],0,[0],[0],[0]]
\ No newline at end of file
[1,["d951mlDGhDCrkIPYYz5qlv"],["_textureSetter"],["cc.SpriteFrame"],0,[{"name":"level2","rect":[0,0,193,174],"offset":[0,0],"originalSize":[193,174],"capInsets":[0,0,0,0]}],[0],0,[0],[0],[0]]
\ No newline at end of file
[1,["39Epo/sWBEVJzO22qmF5Tk"],["_textureSetter"],["cc.SpriteFrame"],0,[{"name":"level3","rect":[0,0,193,174],"offset":[0,0],"originalSize":[193,174],"capInsets":[0,0,0,0]}],[0],0,[0],[0],[0]]
\ No newline at end of file
......@@ -40,7 +40,7 @@
<!-- <script src="//yun.duiba.com.cn/db_games/libs0924/svgaParser.minWeb.js" crossorigin="anonymous"></script>-->
<link rel="stylesheet" type="text/css" href="https://yun.duiba.com.cn/db_games/ccc_game/template/1681884134837/style-mobile.css"/>
<link rel="stylesheet" type="text/css" href="https://yun.duiba.com.cn/db_games/ccc_game/template/1681898392442/style-mobile.css"/>
<style>
......@@ -90,9 +90,9 @@
</div>
</div>
<script src="https://yun.duiba.com.cn/db_games/ccc_game/template/1681884134837/src/settings.js" charset="utf-8"></script>
<script src="https://yun.duiba.com.cn/db_games/ccc_game/template/1681898392442/src/settings.js" charset="utf-8"></script>
<script src="https://yun.duiba.com.cn/db_games/ccc_game/template/1681884134837/main.js" charset="utf-8"></script>
<script src="https://yun.duiba.com.cn/db_games/ccc_game/template/1681898392442/main.js" charset="utf-8"></script>
<script type="text/javascript">
(function () {
......
window.__remoteUrl__ = "https://yun.duiba.com.cn/db_games/ccc_game/template/1681884134837/";
window.__remoteUrl__ = "https://yun.duiba.com.cn/db_games/ccc_game/template/1681898392442/";
window.__remoteAssets__ = window.__remoteUrl__ + "assets/";
window.__version__ = 1681884134837;
window.__version__ = 1681898392442;
window.__ENV__ = "prod";
window.boot = function () {
......
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