Page 1 of 4
SDL2 client version
Posted: Wed Aug 26, 2015 4:43 am
by deen
I'm trying to modernize DDNet a bit by using SDL2 instead of SDL1.2 as our main framework, based on the great work by swick.
I hope that this improves DDNet client:
- Copy & Paste support
- Work with more than 1 display
- Just works better on most operating systems
- Better support for text input
- Some other things I probably forgot
The work done can be seen here:
https://github.com/ddnet/ddnet/commits/sdl2-try3
I built beta versions of the new SDL2 client:
Win64,
Win32,
Linux x86_64,
Linux x86,
Mac OS X
Please try them out and report if anything works better or worse (or not at all)!
Re: SDL2 client version
Posted: Wed Aug 26, 2015 8:17 am
by Ryozuki
I found a bug, the words with ` ´ don't appear correctly
List: á à ùú ó è é ò ì í and maybe more
Maybe it's me, but i found the game a bit more smooth o.O
Re: SDL2 client version
Posted: Wed Aug 26, 2015 10:43 am
by BannZay
I`m not sure should I report about all bugs... Probably not all got this. Anyway, founded some things while using:
1.If u change window while client downloading u got bug: mouse not responding, and u cant change main window to other.
2. Editor> add tile layer > try to move = bounds of layer follow camera
3

- screenshot_2015-08-26_11-35-46.png (111.61 KiB) Viewed 5950 times
But
Freezed cursor bug fixed. Thx
Re: SDL2 client version
Posted: Wed Aug 26, 2015 12:04 pm
by deen
Ryozuki wrote:I found a bug, the words with ` ´ don't appear correctly
List: á à ùú ó è é ò ì í and maybe more
Maybe it's me, but i found the game a bit more smooth o.O
Is that on Windows? I had a similar problem on Linux but I thought it would just be me.
Re: SDL2 client version
Posted: Wed Aug 26, 2015 12:23 pm
by Ryozuki
deen wrote:Ryozuki wrote:I found a bug, the words with ` ´ don't appear correctly
List: á à ùú ó è é ò ì í and maybe more
Maybe it's me, but i found the game a bit more smooth o.O
Is that on Windows? I had a similar problem on Linux but I thought it would just be me.
windows 10 pro 64 bit
Re: SDL2 client version
Posted: Wed Aug 26, 2015 2:03 pm
by Savander
Game looks smoother (?). I like Copy and Paste feature, but it's bugged. If you paste first time it works, but when you want to past again, client just crashes.
(Windows 10 64bit)
Re: SDL2 client version
Posted: Wed Aug 26, 2015 2:07 pm
by hi_leute_gll
- I don't have that bug with è and so.
- I have also the crash while pasting a snd time.
- It runs smoother.
- It deletes my binds on the num block.
(Win7 64)
Re: SDL2 client version
Posted: Wed Aug 26, 2015 2:07 pm
by kamillentee
Its feels way faster than SDL1. On startup, joining a server, everything... I guess I use the libsdl2 client now instead of the normal client.
I had to install the libsdl2-dev package first. But since I have to install libsdl anyway for playing teeworlds it doesnt matter that much.
EDIT: There is no paste bug for me.
Its a pleasure now to minimize. Its so smooth now.
Re: SDL2 client version
Posted: Wed Aug 26, 2015 2:10 pm
by Ryozuki
hi_leute_gll wrote:- I don't have that bug with è and so.
- I have also the crash while pasting a snd time.
- It runs smoother.
- It deletes my binds on the num block.
(Win7 64)
what language you have in tw? english and german don't have éè and only happens in the GUI or menu
Re: SDL2 client version
Posted: Wed Aug 26, 2015 2:14 pm
by hi_leute_gll
Ryozuki wrote:hi_leute_gll wrote:- I don't have that bug with è and so.
- I have also the crash while pasting a snd time.
- It runs smoother.
- It deletes my binds on the num block.
(Win7 64)
what language you have in tw? english and german don't have éè and only happens in the GUI or menu
I use the german version and these letters are supported by german keyboards.