hpi-swa-lab / qinoq

Create wonderful scrollytellings inside of lively.next ❄
MIT License
2 stars 0 forks source link

README Getting started steps are broken #1062

Closed frcroth closed 2 years ago

frcroth commented 2 years ago

Describe the bug Copying the steps from the README results in an error and no example interactive

/* import necessary modules into workspace */
import { InteractivesEditor, Interactive } from "qinoq";

/* open an Interactives Editor in a window within the world */
const editor = await new InteractivesEditor().initialize();

/* create an interactive */
const interactive = Interactive.example();  // creates an example interactive
                                            // Use "new Interactive()" to create an empty Interactive
interactive.openInWorld();  // optional: opens interactive as morph in the world

/* load interactive into editor */
editor.interactive = interactive;  // alternatively, you can grab-and-drop
                                   // the opened interactive into the Interactive Holder of the editor
                                   // (via the "grab"-halo)

Result:

image