mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-09-27 02:36:14 +00:00
更新主页内容
This commit is contained in:
@@ -227,6 +227,8 @@ export class TbGMap {
|
||||
this.map2OffsetY = _json_.map2OffsetY
|
||||
if (_json_.map3OffsetY === undefined) { throw new Error() }
|
||||
this.map3OffsetY = _json_.map3OffsetY
|
||||
if (_json_.scale === undefined) { throw new Error() }
|
||||
this.scale = _json_.scale
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -261,6 +263,10 @@ export class TbGMap {
|
||||
* 地图2(后) 偏移量Y
|
||||
*/
|
||||
readonly map3OffsetY: number
|
||||
/**
|
||||
* 地图缩放
|
||||
*/
|
||||
readonly scale: number
|
||||
|
||||
resolve(tables:Tables)
|
||||
{
|
||||
|
@@ -5,8 +5,9 @@
|
||||
"map1": "map/MAP6/MAP6_1/spriteFrame",
|
||||
"map2": "map/MAP6/MAP6_2/spriteFrame",
|
||||
"map3": "map/MAP6/MAP6_3/spriteFrame",
|
||||
"map1OffsetY": 100,
|
||||
"map2OffsetY": 400,
|
||||
"map3OffsetY": 400
|
||||
"map1OffsetY": 80,
|
||||
"map2OffsetY": 520,
|
||||
"map3OffsetY": 520,
|
||||
"scale": 1.5
|
||||
}
|
||||
]
|
Reference in New Issue
Block a user