no message

This commit is contained in:
2026-07-06 09:43:46 +08:00
parent 4564ac5f47
commit ff1542c24f
22 changed files with 8771 additions and 309 deletions

View File

@@ -76,6 +76,8 @@ export const CommonDefine = {
Vehicle: 'Vehicle',
BlockBase: 'Baseblock',
BlockJump: 'JumpBlock',
/** 墙砖贴图 keyBorder 默认瓦片;仅此类参与墙遮挡) */
BlockWall: 'WallBlock',
};
export function addDirection(dir: Direction, delta: number): Direction {

View File

@@ -80,7 +80,7 @@ export function getHalfCellSize(): { halfW: number; halfH: number } {
return { halfW: HALF_W, halfH: HALF_H };
}
/** 等距绘制深度(连续值,移动插值用;与 compareIsoDrawOrder 配套 */
/** 等距绘制深度(连续值;关卡 sibling 排序已改用底边 Y + pivot */
export function isoDrawDepthFromWorld(world: Vec3): { x: number; y: number } {
const cx = (world.y / HALF_H + world.x / HALF_W) * 0.5;
const cy = (world.y / HALF_H - world.x / HALF_W) * 0.5;