Guild icon
Teeworlds
IRC / bridge
One-way IRC channel bridge. If you want to be able to send messages to IRC, contact @Dune or @heinrich5991. https://www.teeworlds.com/?page=docs&wiki=rules/irc_rules
Between 2020-11-17 00:00:00Z and 2020-11-18 00:00:00Z
Avatar
Fonts have one great benefit, they scale very well, no matter what resolution we are running at the icons from fonts will look crisp. Images on the other hand are well known to be shit for scaling, hence everyone having to ship 50 versions of their icons/logos at different resolutions.
13:15
You could I guess ship one icon at very high resolution, but it's both wasteful AND there is no "best" algorithm for downscaling
Avatar
Now that we are removing RBG-File format and removed an attack vector, can we add SVG support? This is a troll question
Avatar
If you have that annoying blue dot over your github profile, take a look at Feature Preview <.< somehow the notification is broken
Avatar
I know you said troll question but I am actually considering a script that bundles our icons into a font
14:57
Like we put a bunch of svgs in an icons folder, the script produces an opentype font + generates a header so we can have pretty names for our icons
14:58
Though I guess that's not really "svg support" :P
Avatar
I mean allowing svg images as mapres (quads and tilesets)
Avatar
Heh would be cute imho. I love vector graphics
Avatar
future proof 2d game
Avatar
Very high space efficiency, very very high quality on any screen size/resolution/dpi combo
Avatar
then ppl started to complain how hard it is to make new mapres skins and game.svg
Avatar
The only small issue is that you either need high performance vector rendering in shader (slug is pretty good) or you need to render it out into a texture (edited)
16:24
8k teeworlds when?
Avatar
it might be possible to break svg down to triangle drawcalls, but that is still quite stupid probably.
Avatar
That would be silly 😛
Avatar
but thats how i imagine it would be done without shaders. imagine being the keyword
Avatar
Slug handles bezier curves directly, it’s really as good as it gets when rendering vector gfx on the gpu
Avatar
anyway, i would love to have a svg2ttf pipeline if you have any idea on how
Avatar
Without shaders I would just render the curves out into a texture so it’s like it was in the past
Avatar
it seems like fontforge's scripting can do that but i don't know if it is a good idea to depend on that
Avatar
I have a couple ideas, maybe I’ll take a look after dinner
Avatar
looking forward to your solution
Exported 23 message(s)