who can give me an advise how to attach angelscript to game mainloop
in angelcode
GUARD guard;//GUARD is a registered c++ class,hav render() update()
void Action()
{
guard.DragSword();
guard.Attack()
}
c++ mainloop
update()
{
GUARD::Update();//only to explain
}
Render()
{
GUARD::Render();
}
for Action not to be executed in one frame, how can i to execute Action in several frames.
thank you
You should take a look at the sample Concurrent scripts. It shows how the Context manager add-on can be used to do what you want. That is, to manage long running scripts that execute over several frames.
Regards,
Andreas
Regards,
Andreas
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement