A node package for loading and executing Articy flows from JSON exports.
In order to use this package, you need a json file exported from Articy. Use the Export feature in Articy and save it somewhere in your project.
TODO: Screenshot from Articy
To access the data in the database, you'll need to load the exported JSON into a new instance of the database class
// Example GameDB.js
// Import data from the exported json
import GameData from "./exported.articy.json";
import { Database } from "articy-node";
// Create a new database
const GameDB = new Database(GameData)
// Export the database
export default GameDB;
Then, you can access objects from the database using getObject
.
import GameDB from "GameDB";
import { FlowFragment } from "articy-node";
// Get a flow fragment by ID
const fragment = GameDB.getObject("0x01000000000018A3", FlowFragment);
console.log("Flow fragment text: ", fragment.properties.Text);
TODO: Document flow iteration
TODO: Document new type/template/feature/script function/etc. registration
TODO: Document redux middleware
TODO: Stub asset loading
- Localization support