Jump to content
  • Advertisement
Sign in to follow this  
DanPartelly

Co-routines

This topic is 4883 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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!