Co-routines
Hello all,
does this scriptinng VM supports coroutines ? If not, is there planned support ?
Thanks, Dan.
AngelScript supports co-existing script contexts, that can be individually suspended and resumed. With quite little work co-routines can be implemented in the application.
See this thread for more information. This thread shows how concurrent script contexts are implemented, with only a few changes this can be turned into co-routines.
I intend to write a sample that shows how co-routines can be implemented, but haven't found the time to do so yet.
Upcoming features will also make it even easier to implement co-routines, however I don't think I will make it a built-in feature since it is so easy to implement from the outside. I may write a reusable add-on though that implements co-routines.
Regards,
Andreas
See this thread for more information. This thread shows how concurrent script contexts are implemented, with only a few changes this can be turned into co-routines.
I intend to write a sample that shows how co-routines can be implemented, but haven't found the time to do so yet.
Upcoming features will also make it even easier to implement co-routines, however I don't think I will make it a built-in feature since it is so easy to implement from the outside. I may write a reusable add-on though that implements co-routines.
Regards,
Andreas
AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement