Guild icon
Teeworlds
discord.gg/teeworlds / development
For discussions around the development of the official Teeworlds
Between 2018-12-21 00:00:00Z and 2018-12-22 00:00:00Z
Avatar
@Savander btw i've read your chat about the bit thingy, in signed the msb defines the sign of the number
11:10
if that's not late, to say it xd
11:12
as example 0b1100 = -8 + 4 so -4
Avatar
MSB - You mean, the last one? (edited)
Avatar
I just looked into the mapres in 0.7 and found some bugs, some are minor, some not. I made a gallery on imgur: https://imgur.com/a/dQRWfrd
Avatar
@Savander most significant bit
12:58
First one usually
Avatar
I mean, what first mean?
12:59
llike
12:59
0b1000 ^ (edited)
12:59
or
12:59
0b0001 ^
Avatar
This had unintended behaviour, it was only parsed by the text function at the end and thus would cause the text to be mis-positioned. The new line character can only be sent via code modification so this was only an issue for mods. !image "Sometext\nOOP new ^900LINE\\nAnother ^090one"
Avatar
@LordSk 🦋 Does the broadcast color support values up to F, or 9 only? Using ^AAA would print the color as string, and not interprete it.
Avatar
LordSk 🦋 2018-12-21 13:54:19Z
0 to 9
13:54
^999 is white
Avatar
Why wouldn't you stick to the common rgb hex value format?
13:55
Is 9 the usual F then?
Avatar
LordSk 🦋 2018-12-21 13:57:04Z
I think you mean FF but no
13:57
I'd suggest looking at the code if you want the exact value
13:57
broadcast.cpp
13:57
this is a simple system with 1000 colours
13:58
meant to be used with the broadcast command
13:58
you wouldn't want to type #ff48ae if you wanted to color text as a server message
Avatar
no, that is why most programs will interprete FFF as FFFFFF etc.
13:59
But that is another thing actually.
14:00
Was just asking, interesting to know when using it.
Avatar
LordSk 🦋 2018-12-21 14:01:16Z
A simple use case would be ^900Server shutting down in 5 minutes!
14:01
Using red as a warning helps to catch attention
Avatar
It's the most user friendly way
15:31
@Zatline
Avatar
ugh that looks bad
15:43
wrong size maybe
15:43
your game.png items are 3x2? it's a bit odd
16:03
treat the stand exactly like tiles from a mapres then it should align by itself (edited)
Avatar
Can't really do that, they are sprites not mapres
16:51
16:51
I mean the flagstands don't really align with much
16:51
hearts are 2x2
16:51
flagstands are clearly a bit more, so 3x3?
16:54
the lowest one is below the main
Avatar
look at the alignment with the heart
16:55
the game.png is divided in 32x16
Avatar
it's countering in the flag offset dune
Avatar
well I'm having to find a way to adjust it, because that doesn't seem to work well :|
16:56
16:56
gives that without any adjustment
Avatar
it's 2x1 image overlay it perfectly to 2x1 tile of a tileset and it should work
Avatar
no matter how I do it doesn't overlap (edited)
Avatar
!image When a demo info is loaded and has markers, the icon becomes green. Markers are also displayed in the info section. It doesn't look amazing but it's functional. We can perhaps do a better job designing this part of the UI later. I also fixed a double click issue (a triple click was needed and even that sometimes didn't work).
18:47
215fc5d Broadcast: parse new line character - LordSk 632b12b Removed unnecessary check - LordSk f41bb0c Merge pull request #1912 from LordSk/fix/broadc... - oy
Avatar
50f6f5d removed debug related code - oy
Avatar
Repro:
  • In the chat, type a letter and press tab in a crowded server, you won't get the completion excepted.
Avatar
Thank god for scripts
Exported 74 message(s)