Teeworlds
discord.gg/teeworlds / development
For discussions around the development of the official Teeworlds
Between 2020-09-02 00:00:00Z and 2020-09-03 00:00:00Z
Learath2
2020-09-02 12:21:56Z
text is an absolute mess in teeworlds
12:22
It'd be nice if someone cleaned it up
Dune
2020-09-02 13:28:11Z
It's very resource consuming too
Learath2
2020-09-02 13:39:27Z
Msdf with a bitmap font would also be very cute for latin
13:40
It's crisp, well performing and space efficient
redix
2020-09-02 13:42:53Z
I'm wondering how it would perform when you generate the msdf in realtime. Using multiple cores and with an on disk cache for frequently used letters
13:43
There is a compute shader based version of the algorithm :D
Assa
2020-09-02 15:34:38Z
whats so special about adding them behind.. i acutally use both
@Deleted User
c = 0; x = ++c; y = c++; which values do x, y, and c have?
(edited)
Deleted User
2020-09-02 15:35:41Z
xD
15:35
i know the difference
15:35
its about the for loop
15:36
but x = y
15:36
in your case
15:36
xd
heinrich5991
2020-09-02 15:37:09Z
c==2, x==1, y==1
Deleted User
2020-09-02 15:37:15Z
yes
Assa
2020-09-02 15:37:16Z
true
15:37
There was a difference in iterators, but i am currently searching for a source
15:38
https://stackoverflow.com/questions/1077026/incrementing-iterators-is-it-more-efficient-than-it
Incrementing iterators: Is ++it more efficient than it++?
Possible Duplicate: Is there a performance difference between i++ and ++i in C++? I am writing a program where an iterator is used to loop through a std::vector. Somebody told me that doing ++...
Deleted User
2020-09-02 15:38:21Z
i dont think a compiler with optimizations sees a difference does it?
15:38
not even for such iterators
Assa
2020-09-02 15:38:49Z
depends heavily on the compiler
Bun
2020-09-02 18:43:40Z
question which should i mainly use for playing teeworlds or ddrace i really cant choose
TsFreddie
2020-09-02 22:06:33Z
oof
2
Dune
2020-09-02 22:27:47Z
That looks funny
heinrich5991
2020-09-02 22:29:46Z
is that experimenting with the font atlas? ^^
TsFreddie
2020-09-02 22:30:04Z
ye
22:31
i also tried to refactor some of the text.cpp
TsFreddie
2020-09-02 23:12:51Z
23:12
hey, progress
Exported 30 message(s)