
-----------------------------------
lord
Sun Jan 21, 2007 2:13 pm

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

-----------------------------------
Robert
Sun Jan 21, 2007 2:14 pm

RE:how to stop a fork?
-----------------------------------
You shouldn't need to fork.

What is anima?

-----------------------------------
nin
Sun Jan 21, 2007 2:22 pm

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

-----------------------------------
lord
Sun Jan 21, 2007 2:31 pm

Re: how to stop a fork?
-----------------------------------
sorry bout that need to type fast it's animation[/quote]

-----------------------------------
Robert
Sun Jan 21, 2007 2:41 pm

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

-----------------------------------
lord
Sun Jan 21, 2007 2:50 pm

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

-----------------------------------
Robert
Sun Jan 21, 2007 3:51 pm

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.
