stack question
Monkey Programming Forums/Monkey Programming/stack question
| ||
| Thanks very much for the pointer - yes, I am accessing an array in the constructor. Presumably your thinking is that this is where the out of bounds occurs? I've looked at the code and can't see how this could be the case. Unless.. This makes me think of a related question. This issue is happening in OnUpdate(). Now if I specify that I want 60 updates per second (using SetUpdateRate), Monkey will try to call OnUpdate 60 times per second. Is this guaranteed? What if too much is going on? At that point what happens to the execution path? Can Monkey be half way through your OnUpdate function then think to itself "times up, I'd better call OnUpdate again.." (hope I've explained this ok). If so, I can see how this might be causing me issues. |







