Computer Science Canada

how to stop a fork?

Author:  lord [ Sun Jan 21, 2007 2:13 pm ]
Post subject:  how to stop a fork?

does any 1 no how to stop a fork ??
i have a anima background but i only want it to be forked for the game part of ma project

Author:  Robert [ Sun Jan 21, 2007 2:14 pm ]
Post subject:  RE:how to stop a fork?

You shouldn't need to fork.

What is anima?

Author:  nin [ Sun Jan 21, 2007 2:22 pm ]
Post subject:  Re: how to stop a fork?

can you show us ur code so we can help. esp. 'ANIMA' wat is that? explain it to us please

Author:  lord [ Sun Jan 21, 2007 2:31 pm ]
Post subject:  Re: how to stop a fork?

sorry bout that need to type fast it's animation[/quote]

Author:  Robert [ Sun Jan 21, 2007 2:41 pm ]
Post subject:  RE:how to stop a fork?

Yah, I hate to sound like a broken record, but don't fork.

Have a loop in the mainline that:

1. gets movement/input from the user,
2. Processes all data, (move the sprites locations, etc)
3. Draw everything to screen

Author:  lord [ Sun Jan 21, 2007 2:50 pm ]
Post subject:  Re: how to stop a fork?

kk thx i use a for loop instead of fork
btw u dont sound like a broke record or sound like any thing at all

Author:  Robert [ Sun Jan 21, 2007 3:51 pm ]
Post subject:  RE:how to stop a fork?

Yah, the think about forking is that processes don't all run at the same speed/time. You don't know what to expect. It's easier to have them in a main loop to ensure that they will run in the same order everytime.


: