ephread / inkgd

Implementation of inkle's Ink in pure GDScript for Godot, with editor support.
MIT License
305 stars 33 forks source link

Bug - inkplayer not running with HTML export/Loads in Background turned off #58

Closed GreenCloversGames closed 2 years ago

GreenCloversGames commented 2 years ago

Describe the bug inkplayer create_story method throws "InkRuntime could not be found" error if run in HTML or "Loads In Background" turned off.

To Reproduce

  1. Install inkgd plugin and create inkPlayer node and load with InkFile.
  2. Turn "Loads in Background" off.
  3. In code, have the inkplayer run the "create_story" method and run the scene.

Expected behavior Scene should run as normal, with no errors.

Environment:

ephread commented 2 years ago

Hey @GreenCloversGames, thanks for reporting and investigating this issue!