Computer Science Canada

Fork Problem

Author:  Barda4 [ 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.

Author:  Robert [ 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)


: