Jump to content
  • Advertisement


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About acjh13

  • Rank

Personal Information

  • Interests
  1. acjh13

    When to prepare context?

    Hi all, I'm a new user to AngelScript and have been trying to integrate it into my C++ component-based game engine for the past week or so. I've finally settled on a design where my script manager will add all the scripts to the script builder, build the module and prepare the context all at the start of loading a scene.Once that is done, the script system will execute the context (but only while the game is playing, if it is paused it will suspend the context). However, I've been getting an error code asCONTEXT_NOT_PREPARED. So was I wrong to prepare the context too early? and is there a better design I could follow for a component-based engine? Thanks for your time and apologies if its too vague or too simple.
  • 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!