Hello,
I'm creating a game and i create a thread to handle all events in the game, but the problem is that when i use the thread my aplications freezes and crash, i runed a debug and i figured that the problem was with the thread. so i did this:
//events_thread.launch();
But it still crashing, so i realise that i need to use the event loop in the main fuction, which is game_start.
So my question is why i can't use a event thread? And how much threads can i create?
Thanks.
Here is the code expleined: