Guild icon
Teeworlds
discord.gg/teeworlds / general
Teeworlds Discord Server.
Between 2020-01-27 00:00:00Z and 2020-01-28 00:00:00Z
Avatar
i was also sending this theme
11:35
11:35
the river one
11:35
it was originally 4k i think
11:36
but i resized it a bit
11:36
still takes some time load
Avatar
FHD sounds reasonable
Avatar
ChillerDragon 2020-01-27 12:41:39Z
4K sounds future proof. I switched to 4K years ago
12:41
Well ok I switched back to FHD on laptops but ..
12:43
We should maybe improve image loading speed. My editor feeezes one second when I preview 4K mapres
Avatar
i also noticed that quads resizing is glitchy with high res images
13:03
in editor
Avatar
What about a threaded resources loading systeme? Would also fix some of the issues listed here: https://github.com/teeworlds/teeworlds/issues/2403
Loading is already pretty fast on my machine, but most time is spent before the loading screen is shown. To give some rough numbers of how it feels, maybe 0.3 seconds are only the console window, t...
Avatar
Already does it for sounds
Avatar
Yeah but this is rather basic stuff. matricks once started writing a system that automatically spreads the resources loading across multiple threads. This also allows loading resources without stalling the game loop. His code also allowed downloading resources from the gameserver and http (+caching). That isn't really necessary right now but the threading stuff might be useful
Avatar
ressys is a bit overkill :D
Avatar
True 😅 but a few things might be useful
13:45
Doing file io in the gameloop isn't really nice 😁
Avatar
we're not doing IO in the game loop, are we?
Avatar
Well at least the mapres preview loading happens in the main thread and as chiller said it can freeze the game. I didn't look at the code yet but opening some menu pages also freezes the game for a short time
Avatar
Because of font loading I believe
Avatar
oh
Avatar
I think most glyphs are loaded when the server browser is opened. But yeah... Maybe it's still missing some
Avatar
When I directly loaded into a server, the game would freeze whenever the "Warning: not enough players" text would pop up, so I'm guessing the menu thing is similar.
14:02
But an async resource manager that load/unloads data onto RAM and the GPU on demand would be great @redix. Not sure how easy it is to integrate in the current code base though.
Avatar
Huh never noticed that =/ by default the font textures cannot store all ASCII chars. It just grows when all chars are used within a second
14:06
Would definitely be some work...
Avatar
Might explain why ./teeworlds "connect ." can be so laggy
Avatar
ChillerDragon 2020-01-27 14:22:51Z
connect . lol
14:23
im sure connect localhost is faster
Avatar
Should be the same :)
Avatar
is this oy means oyster? (edited)
🤣 1
Avatar
ChillerDragon 2020-01-27 18:56:14Z
xd
Avatar
@gerdoe ObviouslY, what else would it mean.
21:30
Thanks for keeping TW alive oy👌
Avatar
ChillerDragon 2020-01-27 21:34:27Z
@n000b oy will never recieve this message xd
21:34
he only hangs in bridge sometimes
Exported 37 message(s)