Development discussion. Logged to https://ddnet.tw/irclogs/ Connected with DDNet's IRC channel, Matrix room and GitHub repositories — IRC: #ddnet on Quakenet | Matrix: #ddnet-developer:matrix.org GitHub: https://github.com/ddnet
Between 2022-03-10 00:00:00Z and 2022-03-11 00:00:00Z
Hey guys I'm working on a skin renderer with colors(thanks to Nagi01 for helping me) and I think I've found a problem with teeworlds' way of converting hsl to rgb and hex
00:34
I don't think that this is game breaking it's just that when I write player_color_body in tw console i get this:
Value: 13149440
H: 282°, S: 64%, L: 50%
R: 161, G: 44, B: 210, #A12CD2
and when I use my script I get this:
Value: 13149440
H: 282°, S: 64%, L: 50%
R: 160, G: 46, B: 209, #A02ED1
00:34
At first I thought that this was a problem with my code but when I used another website for converting hsl to rgb and hex i got the results from my script