Page 1 of 3

SDL2 client soon to be released

Posted: Sat Apr 30, 2016 1:04 am
by deen
Many months ago I started working on getting SDL2 backend into DDNet client. People tested it back then: viewtopic.php?f=48&t=2128

Now I worked on it some more and it will land in the next DDNet release.
Some things to look out for:
  • Text input, hope it works with all keyboards (CJK text input is still missing, but can be implemented now with SDL2)
  • Some key bindings have to set again because of changed names
  • Copy and paste
  • Mouse might be better
  • Fullscreen can be switched without restart
  • VSync might not cause input delay anymore
  • Screen selection
Also, this version already has all the other changes since the 9.3.1 release: https://github.com/ddnet/ddnet/compare/9.3.1...HEAD

Please play around with it and report your findings.

Update: Released in 10.0

Re: SDL2 client soon to be released

Posted: Sat Apr 30, 2016 1:19 am
by Ryozuki
Tested on windows, didn't find any bugs

Edit: the mouse sensibility on menus are diferent, it has more sensibility, and i don't know how to adjust it. The mouse sensibility in controls only changes the sensibility ingame

Re: SDL2 client soon to be released

Posted: Sat Apr 30, 2016 1:31 am
by deen
f1, ui_mousesens. If 50 feels like the old one, it's my fault.

Re: SDL2 client soon to be released

Posted: Sat Apr 30, 2016 1:33 am
by Ryozuki
deen wrote:f1, ui_mousesens. If 50 feels like the old one, it's my fault.
it feels like old one :!:

Re: SDL2 client soon to be released

Posted: Sat Apr 30, 2016 1:35 am
by Soreu
redownloaded it just now, and ui_mousesens 98(default? or I somehow lowered it by 2 in past?) feels exactly the same as "old one", no longer ~2x slower

Re: SDL2 client soon to be released

Posted: Sat Apr 30, 2016 5:02 am
by deen
Updated the build, just some small changes, nothing should break. High DPI problems should be fixed now as well.

Re: SDL2 client soon to be released

Posted: Sat Apr 30, 2016 9:41 am
by Hot Potato
i can paste but i dont know how to copy? my mouse does show when in f1 though

Re: SDL2 client soon to be released

Posted: Sat Apr 30, 2016 10:15 am
by timakro
When holding shift and using arrow keys left and right you should be able to highlight and CTRl+C, no idea if and how this would work. And CTRL+A to select everthing.

Re: SDL2 client soon to be released

Posted: Sat Apr 30, 2016 10:41 am
by Hot Potato
timakro wrote:When holding shift and using arrow keys left and right you should be able to highlight and CTRl+C, no idea if and how this would work. And CTRL+A to select everthing.
yeah just re create the minecraft chat with clickable links aswell

Re: SDL2 client soon to be released

Posted: Sat Apr 30, 2016 10:43 am
by clefairy'
I can't lauch it. (when i lauch it, nothing happen)