Green Hell

Green Hell

Not enough ratings
Map Navigation Tool 地图导航工具
By MadTom
Every time, you read your position code on your watch, take out your map, count the rulers, you get the position on map, what a mess… what if a tool can read the watch automatically when you watch it, and mark the map automatically, you wish…
知道了坐标,还要数地图上的标尺,麻烦。知道了坐标,输入工具,自动标记位置,好像稍微方便了点?如果能自动读取坐标,自动在地图标记,那就最好了。
   
Award
Favorite
Favorited
Unfavorite
Intro介绍
This is my first javascript program, I had used it for 2 days, the only problem is I need to shift+tab to input the position code.
初学javascript,看了1天视频,用了3天做了地图工具,用了两天,现在已经把故事模式的成就全解了,虽然还要自己输入坐标,但是用起来还算是舒服吧。

It’s just a html page you run in your (normal/steam) browser, and I include all dev files in it, if some one need them.
全套文件下载地址,含素材,地图区域划分,坐标点记录等。

https://www.dropbox.com/sh/ny72w6s0n6263du/AAAgK0iz2kVIPMsSq8Rmo0gAa?dl=0
How to use用法
Input current position code, suck like “50 16”(or “50,16”, quots not include), then press enter.
输入坐标地址,用空格或逗号分隔,按下回车;

LMB click on map to mark destination.
鼠标左键用来设定目标地点标记;

MMB hold and drag to move map(not working properly in steam browser).
鼠标中键按住拖动地图来移动,不过steam浏览器中工作不正常。

Mouse wheel scroll to zoom, up-zoom in, down-zoom out.
鼠标滚轮缩放地图,向上放大,向下缩小。

*map 1,4 are most useful I think
*地图2、3我没太看懂,大家看看行了。

https://steamuserimages-a.akamaihd.net/ugc/1705162864251551472/2A175ACB659C642FAB43A4EABE7AA7CE5C2AE033/?imw=256&&ima=fit&impolicy=Letterbox&imcolor=%23000000&letterbox=false
See you next time结语
As a C# programmer, javascript give me a crushing blow because it’s a ♥♥♥♥♥♥♥♥ “script”, what a crap. But how I build it and what algorithms behind it, see this article, if you read Chinese(it’s my main language).
因为javascript脚本本身的随意性,让我对“脚本”编程的跌眼镜程度的认识更上了一个档次,但我还是用尽可能严谨的思路去写了。其中核心算法是两套坐标点的映射,我另写了一篇文章。

https://www.bilibili.com/read/cv12783568

Any way, hope you enjoy the game and find this tool useful.
祝大家愉快,我继续去做挑战和其他成就了。
1 Comments
MadTom  [author] 21 Aug, 2021 @ 1:47am 
忘了说了,steam浏览器中鼠标中键拖动有时候无效;
Working perfectly in Chrome, when using (in game)steam browser, MMB hold and drag sometimes not working, use zoom out, zoom in to move the map.:kungfusam: