Waypoints that begin with "!" (or another prefix specified by COMPASS_PREFIX)
will display a compass that functions identically to the hub compass.
Because compasses are remembered by position, two markers in the same position
will share a compass, leading to other small issues.
Camera recentering is also now exact, with a slight change to how it operates.
Waypoints get an additional array property of the label broken up into
text and shape keys, obtained using a new function splitLabel().
When displaying, each item is rendered or appended in sequence using a for loop.
Because of the variable number of elements, waypoints in the list are now flexboxes,
and an extra element is added to align the edit icon to the right side.
When calculating the length of a label, the function getLabelLength() is used.
Each shape is treated as a set number of characters, using a new constant SHAPE_TEXT_LENGTH.
Other fixes/changes:
- getWaypointCanvas() uses a shape key instead of a waypoint.
- getWaypointScreenParams() returns an array of label parts,
which include the text and whether the part is a shape key.
- Text and shape width for marker boxes now correctly accounts for scale.
getWaypointScreenParams() now determines shape width using the scale,
and getTextWidth also keeps track of scale in its cache.
- Waypoint sorting no longer right-pads labels with 0's.
* Update base-en.yaml
Updated spelling, grammar, and to a lesser extent the information of some tips.
* Update base-en.yaml
* Update base-en.yaml
* Update base-en.yaml
Applied most of EmeraldBlock's suggestions
* base-nl.yaml
I changed a couple translations so they fit better and I made every translation that wasn't done yet. I hope this helped a lot since I put a lot of time in it.
* base-nl.yaml
updated 870-875 because i forgot those
* Update base-nl.yaml
* base-nl.yaml
Changed the spaces in some words like m / s so they all stay on the same line.
Co-authored-by: MisterPengu <45737819+MisterPengu@users.noreply.github.com>
* Update base-ind.yaml
Finished the translation entirely! Also corrected some things, will review it a couple more times again tomorrow.
Hope this helps!
- PresS#9257
* Update base-ind.yaml
Changed 'you' (formal) to 'you' (informal) making it more enjoyable. Also corrected some more things.
* Update base-ind.yaml
* Update base-ind.yaml
Reviewed first 273 lines of file. Formatting and order was changed acc. to EN version for easier comparison. Added and translated comments from EN. Started list of rules (file start) for consistent future translations.
Hey! Just bought your game and thought maybe I could help you to translate my own native language. I've fixed some words that I think is not quite right or fitting, and also worked on some more of the translations, will be correcting and finishing it some more later on my free time. (I'm new to GitHub, so please tell me if something's not right)
Cheers!
PresS#9257