I was wondering if it is possible to make two threads, one of them to handle the graphics and drawing of the objects, and the other one to update position and logic.
Now the main problem I think would happen is that they will get out of sync? like one thread would be ahead of the other thread and the drawing or game updating will be behind?
I want to do that mainly because i have a lot of arrays that i am trying to handle, and loading each array and initializing it takes about 1-5 seconds each, and i have many of them (each array consists of 500 objects), so the main idea is that as the player moves, the next array will initialize itself without the need to pause the game or make it slower.