31 reputation
1
bio website
location
age
visits member for 2 years, 2 months
seen May 11 at 13:10

Aug
13
comment SDL Multiple keyboard support
I see. Oh well, too bad I guess.
Aug
12
asked SDL Multiple keyboard support
Aug
12
comment Should I dedicate a single thread to each player in a split-screen game?
It's separate games of Tetris
Aug
11
awarded  Student
Aug
10
comment Should I dedicate a single thread to each player in a split-screen game?
I thought about it, and I think it's not really necessary, but it would be useful. How I have it set up at the moment is create game world object with constructor of screen coordinates, and execute the "play" function, which first of all does logic, then takes input and finally renders the screen at the position specified. I thought if I could create 4 threads and in each launch a different game world, that would simplify the multiplayer part and since the games are independent, it would not slow down because there is no data to share.
Aug
9
asked Should I dedicate a single thread to each player in a split-screen game?