Tagged Questions
The multithreading tag has no wiki summary.
0
votes
1answer
80 views
SFML RenderWindow fails to display anything
I've been trying to create an SMFL program which can update graphics even while the window is being resized.
I created a thread which runs a function that collects events, and initially creates the ...
0
votes
1answer
265 views
How do I start writing an MMO game server?
I am developing a multi-player on-line game.
I just started coding the server but I have no idea how to do it. Do I have to use threads ?
And if i do, do I need one thread for every client?
Knowing ...
0
votes
1answer
187 views
Java 2D Tile Map and Moving Sprites with threads
I'm having difficulties understanding how to use threads and I'm not sure if my basic structure is right.
This is my Board Class:
package mortifera;
import java.awt.Color;
import java.awt.Graphics;
...
3
votes
3answers
149 views
State Changes in a Component Based Architecture [closed]
I'm currently working on a game and using the naive component based architecture thingie (Entities are a bag of components, entity.Update() calls Update on each updateable component),
while the ...
2
votes
1answer
52 views
Audio Thread as daemon thread
I'm looking to set up two threads in my puzzle game, one for logic/graphics, and one for audio.
Am I correct in thinking that the thread that handles the audio should be set as a daemon thread, ...
5
votes
3answers
289 views
How should I structure my classes to allow for multithreaded simulation?
In my game, there are plots of land with buildings (houses, resource centers). Buildings like houses have tenants, rooms, add-ons, et cetera, and there are several values that have to be simulated ...
17
votes
3answers
362 views
Multi-platform multi-threading: What are the real challenges?
While a library like SDL provides a cross-platform wrapper API for threading, I think it would be naive to assume that this leads directly to easy development of games across vastly different ...
0
votes
2answers
387 views
Cocos 2D putting things on the cocos thread or not?
We are using Cocos 2D for Android and are unsure if it's a good thing to execute our non-ui tasks on the Cocos thread as a way to get the animations in our game to pause.
What is the recommended ...
4
votes
1answer
523 views
UDP Code client server architecture
I have developed a game on android.Now I want to play it on wifi or 3G. I have game packets which i want to send it form client(mobile) to server then to another client2(mobile).
I don't know how to ...
1
vote
1answer
290 views
Tetris style game in java (for now) will I need to use threads?
I'm looking at developing a puzzle game, it might be like tetris or something similar, perhaps more like bejewelled in that the player will select objects with the mouse to manipulate them.
I've ...
5
votes
3answers
221 views
When does parallel-tasks engine becomes a good solution?
I'm often tempted to break the game I'm working on to try a parallel-tasks based architecture, but that don't seem a big requirement for my project so I avoid this for the moment. I'm planning to just ...
3
votes
1answer
382 views
How to use multi-thread OpenGL application to update VBO and use it at the same time?
I have simple application. It has two threads. Each thread has it's own rendering context, but they share one VBO (this is working, I tested it).
Now what I want: One thread is rendering some data ...
12
votes
4answers
434 views
RTS Game AI Thread
I have a project to make a real-time strategy game from scratch. I am still at the early planning stage, but I have been programming a little to see the mechanics.
I know how to program. I also have ...
2
votes
1answer
122 views
What causes my client's painting & input thread to stop?
I recently returned to face a problem I had with a game client of mine, i.e. the client's thread responsible for input & painting becomes unable to run after some while.
I suspect that it has ...
6
votes
1answer
416 views
Multi threaded game - updating, rendering, and how to split them
From the StackOverflow post (it was recommended I move this):
So, I'm working on a game engine, and I've made pretty good progress. However, my engine is single-threaded, and the advantages of ...