Advertisement Jump to content
Sign in to follow this  
DanPartelly

Co-routines

This topic is 4973 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Advertisement
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

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!