Visual Novel Maker
A Flutter library for creating visual novels.
Features
- Create interactive visual novel scenes
- Manage characters and their behaviors
- Handle branching storylines
- Support for interludes and future events
- Widgets for displaying visual novel elements
Installation
Add this to your package's pubspec.yaml file:
dependencies:
visual_novel_maker: ^0.1.0
Then run:
flutter pub get
Usage
Import the package:
import 'package:visual_novel_maker/visual_novel_maker.dart';
Basic example:
final scene = Scene(
background: 'assets/scenes/forest.png',
characters: [
CharacterBehavior(
character: Character(name: 'Alice'),
expression: 'happy',
position: CharacterPosition.left
)
],
dialogue: 'Hello, world!'
);
SceneWidget(scene: scene);
Example
See the complete example in the example directory.
Contributing
Contributions are welcome! Please read our contribution guidelines first.
License
This project is licensed under the MIT License - see the LICENSE file for details.