Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CMS V207 的 WorldMap177 渲染不正常 #259

Open
HikariCalyx opened this issue May 16, 2024 · 2 comments
Open

CMS V207 的 WorldMap177 渲染不正常 #259

HikariCalyx opened this issue May 16, 2024 · 2 comments

Comments

@HikariCalyx
Copy link
Contributor

HikariCalyx commented May 16, 2024

似乎是 BaseImg 的 origin 写到 (0, 469) 导致的,实际能点击的点也限制在了只有世界地图窗口范围内的点,范围外的点是点不到的。
image

实际游戏中,地图渲染没有这个问题,另外推送的 Data.wz 中也并未包含针对地图坐标的改动。
image

@Kagamia
Copy link
Owner

Kagamia commented Jul 6, 2024

有可能忽略origin,直接居中会比较好...?

@Kagamia
Copy link
Owner

Kagamia commented Feb 17, 2025

在UIWorldMap中强行修正坐标计算。
因为所有spot、fog和其他构件的origin随着baseImg一起偏移了,对基础原点校正算是代码修改最小的方案。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants