novel_character_maker 0.1.0 copy "novel_character_maker: ^0.1.0" to clipboard
novel_character_maker: ^0.1.0 copied to clipboard

unlisted

A Flutter package for managing visual novel characters.

Novel Character Maker #

A Flutter package for creating and animating novel-style characters with various expressions and states.

Features #

  • Multiple character states (default, smile, sad, angry, etc.)
  • Smooth animations for state transitions
  • Customizable character scale and animation intensity
  • Direction control (left/right)
  • Easy integration with Flutter apps

Installation #

Add this to your package's pubspec.yaml file:

dependencies:
  novel_character_maker_maker: ^1.0.0

Then run:

flutter pub get

Usage #

  1. Import the package:
import 'package:novel_character_maker_maker/novel_character_maker_maker.dart';
  1. Create a character with states:
final character = NovelCharacter(
  states: {
    CharacterState.defaultState: AssetImage('assets/character_default.png'),
    CharacterState.smile: AssetImage('assets/character_smile.png'),
    CharacterState.sad: AssetImage('assets/character_sad.png'),
  },
);
  1. Use the CharacterWidget to display the character:
CharacterWidget(
  character: character,
  animationScale: 0.03,
)
  1. Change character state and direction:
character.changeState(CharacterState.smile);
character.changeDirection(Direction.left);

Contributing #

We welcome contributions! Please follow these steps:

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a pull request

License #

Distributed under the MIT License. See LICENSE for more information.

0
likes
0
points
27
downloads

Publisher

verified publisherpeegel.xyz

Weekly Downloads

A Flutter package for managing visual novel characters.

Homepage
Repository (GitLab)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on novel_character_maker