[#12623] Colored tiles do not accept every valid hex code given, instead skipping over some or using the same value twi…
自动翻译暂时不可用
本帖暂时展示 GitHub 原始内容。
Platforms
Windows
Build
v159.7
Issue
'Colored Wall' & 'Colored Floor' tiles in editor do not accept every hex color code given to them in game. I tested this on both v159.7 and BE 27795 just to make sure it was not yet addressed.
In the save file below I did it for the following values: ff0000 to ff2000. Here is the table for the hex codes inputted vs accepted by the editor so you can copy paste:
ff0000 -> ff0000
ff0100 -> ff0100
ff0200 -> ff0200
ff0300 -> ff0200
ff0400 -> ff0300
ff0500 -> ff0500
ff0600 -> ff0600
ff0700 -> ff0700
ff0800 -> ff0700
ff0900 -> ff0800
ff0a00 -> ff0a00
ff0b00 -> ff0b00
ff0c00 -> ff0b00
ff0d00 -> ff0c00
ff0e00 -> ff0e00
ff0f00 -> ff0f00
ff1000 -> ff1000
ff1100 -> ff1000
ff1200 -> ff1100
ff1300 -> ff1300
ff1400 -> ff1400
ff1500 -> ff1400
ff1600 -> ff1500
ff1700 -> ff1600
ff1800 -> ff1800
ff1900 -> ff1900
ff1a00 -> ff1900
ff1b00 -> ff1a00
ff1c00 -> ff1c00
ff1d00 -> ff1d00
ff1e00 -> ff1e00
ff1f00 -> ff1e00
ff2000 -> ff1f00
Steps to reproduce
Open the map editor and go to edit any map
Select the 'Colored Floor' or 'Colored Wall' tile in editor
Paste in any hex color codes that differ by 1 in value and place each one down next to one another, eventually you'll see that the tiles no longer separate as the hex color code did not change its value properly
<img width="1589" height="354" alt="Image" src="https://github.com/user-attachments/assets/4108df1e-991f-4c17-8249-2a855d052525" />
Mods used
none
Save file
Debris Field With Color Tiles For You To Look At.zip
(Crash) logs
No response
Submission
I have updated to the latest release (https://github.com/Anuken/Mindustry/releases) to make sure my issue has not been fixed.
I have searched the closed and open issues to make sure that this problem has not already been reported.
I am not using Foo's Client.
This issue occurs with no mods enabled.
I have attached a valid save file.
由 MDT GitHub 同步机器人自动同步。