Documentation
Solutions

Solutions

⚠️

This page is under construction.

⚠️

Beta feature, subject to change.

Solutions are ways to solve common problems. Ex. Customizing the font, Implementing a backlog, etc.

Solutions

FAQ

Is the game singleton?

Yes, the game is a singleton. You can access it inside any react component.

const game = useGame();

How to save the game?

NarraLeaf-React does not provide a save/load system. It only has methods to serialize and deserialize the game state.

However, we are working on a complete desktop solution to manage the clutter. Ex. Save/Load, UI, packaging, etc.

For a complete VN engine, please check NarraLeaf (opens in a new tab).

How to customize the UI?

You can customize the UI by using slot components.

For more information, please refer to the Player page.