Pointers misalignments in tutorials

This forum is for those of you who are interested in localizing the game text in Capitalism Lab into your native language on your own
Post Reply
User avatar
David
Community and Marketing Manager at Enlight
Posts: 9356
Joined: Sat Jul 03, 2010 1:42 pm
Has thanked: 17 times
Been thanked: 48 times

Pointers misalignments in tutorials

Post by David »

A while ago, the menu icons on the left side of the screen have been redesigned.

I noticed that the tutorials of some of the language versions are still using the display positions of the old icons, thus resulting in misalignments, as you can see in the attached screenshot - the arrows at the top-left are pointing at a wrong position.

To correct the issue, the translation contributors are advised to:
1) test each tutorial in the translated version and check if there are any tutorial steps with the misalignment problems.

2) for those with the problems, please update the translated version of the tutorial text file based on the latest version of the original English tutorial files, which you can find in the latest Capitalism Lab Release version's "tutorial" folder.

For example:

The Chinese tutorial file tut01.txt contains the following text:

[TEXT]
在屏幕左上角的~游戏工具栏~上点击~建造菜单~。

[POS]
Flex Text Box=300,280,400,0
Pointer=31,30,79,58


The original English tutorial file tut01.txt contains the following text:


[TEXT]
Click the ~Build Menu~ icon on the ~Game Tools Menu~ at the top-left of the screen.

[POS]
Flex Text Box=300,280,400,0
Pointer=3,25,52,62

To correct the problem, replace the line "Pointer=31,30,79,58" with "Pointer=3,25,52,62"


Thanks
Attachments
tutorial build firm icon.jpg
tutorial build firm icon.jpg (613.3 KiB) Viewed 1116 times
paulwoman
Translation Contributor
Translation Contributor
Posts: 774
Joined: Tue May 24, 2016 4:22 pm
Has thanked: 5 times
Been thanked: 2 times

Re: Pointers misalignments in tutorials

Post by paulwoman »

Thank you for the information.

I'm just asking; is it possible to automate the selection area with the text?

At the moment, we have to "test" several times if we want the selection to be precise.
User avatar
David
Community and Marketing Manager at Enlight
Posts: 9356
Joined: Sat Jul 03, 2010 1:42 pm
Has thanked: 17 times
Been thanked: 48 times

Re: Pointers misalignments in tutorials

Post by David »

paulwoman wrote: Wed Sep 08, 2021 4:43 pm I'm just asking; is it possible to automate the selection area with the text?
Please be informed that this is not possible.
paulwoman wrote: Wed Sep 08, 2021 4:43 pm At the moment, we have to "test" several times if we want the selection to be precise.
Basically, you can just copy the text from the English version of the tutorials which has the correct coordinates for the selection area.

For your information, when you need to find out a screen coordinate, you may use an image editor to open a screenshot and move the cursor to the position where you want to get the coordinates. The image editor should show the x and y coordinates of that point that the bottom of the screen.

One image editor that you can download for free is Paint.net: https://www.getpaint.net/download.html
Post Reply