Fork Problem
Author |
Message |
Barda4
|
Posted: Sun Jan 21, 2007 1:29 pm Post subject: Fork Problem |
|
|
I need help with forks. I put in my char's walking in a process, and forked it. But when i play the actual game the background flickers slightly(yes i have setscreen)and the game goes really laggy. Is there anyway to fix this? Also i have my pics in .bmp form, i know that sprites work, but i don't have the right update turing to use them. |
|
|
|
|
|
Sponsor Sponsor
|
|
|
Robert
|
Posted: Sun Jan 21, 2007 1:42 pm Post subject: RE:Fork Problem |
|
|
Yah, don't fork.
Simple have a main loop that will continously move and draw your character to the screen.
Avoid forking at all costs unless you're positive you need (a multithreaded server) |
|
|
|
|
|
|
|