stagexl_dragonbones 0.2.2

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 69

StageXL_DragonBones

The DragonBones runtime for the StageXL library.

DragonBones is an open source 2D skeleton animation solution very popular among Flash and Starling developers. The editor is available for Mac and Windows and does not require Adobe Flash Pro. Find more information here: https://dragonbones.github.io/

##Examples

http://www.stagexl.org/show/dragonbones/dragon/example.html http://www.stagexl.org/show/dragonbones/dragon_new/example.html http://www.stagexl.org/show/dragonbones/swords_man/example.html http://www.stagexl.org/show/dragonbones/demon/example.html http://www.stagexl.org/show/dragonbones/ubbie/example.html

##Runtime

This runtime started as a direct port of the original AS3 runtime for DragonBones. Unfortunately the original runtime is quite complex and difficult to read. Therefore we decided to implement the DragonBones runtime for StageXL from scratch. This should make it easier to maintain the runtime, fix bugs and add new features. The drawback is that we don't support all the features of the original runtime yet. Please open new issues with your favorite runtime feature we should add next.

Changelog

This file contains highlights of what changes on each version of the StageXL_DragonBones package. This file is normally updated whenever we push a new version to pub.

0.2.2

  • Raised dependency to StageXL 1.0.0

0.2.1

  • Simplified animation easing code.
  • Support for DragonBones 4.6 export format changes.

0.2.0

  • Added support for meshes.
  • Added support for free form deformations.
  • Support for DragonBones 4.5 (without IK)

0.1.0

  • Initial version, created by Stagehand

1. Depend on it

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


dependencies:
  stagexl_dragonbones: "^0.2.2"

2. Install it

You can install packages from the command line:

with pub:


$ pub get

with Flutter:


$ flutter packages get

Alternatively, your editor might support pub get or packages get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:stagexl_dragonbones/stagexl_dragonbones.dart';
        
Version Uploaded Documentation Archive
0.2.2 Dec 3, 2016 Go to the documentation of stagexl_dragonbones 0.2.2 Download stagexl_dragonbones 0.2.2 archive
0.2.1 May 21, 2016 Go to the documentation of stagexl_dragonbones 0.2.1 Download stagexl_dragonbones 0.2.1 archive
0.2.0 Mar 26, 2016 Go to the documentation of stagexl_dragonbones 0.2.0 Download stagexl_dragonbones 0.2.0 archive

Analysis

We analyzed this package on Apr 23, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.0.0-dev.49.0
  • pana: 0.10.6

Scores

Popularity:
Describes how popular the package is relative to other packages. [more]
57 / 100
Health:
Code health derived from static analysis. [more]
96 / 100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
58 / 100
Overall score:
Weighted score of the above. [more]
69
Learn more about scoring.

Platforms

Detected platforms: Flutter, web, other

No platform restriction found in primary library package:stagexl_dragonbones/stagexl_dragonbones.dart.

Suggestions

  • Use constrained dependencies.

    The pubspec.yaml contains 1 dependency without version constraints. Specify version ranges for the following dependencies: browser.

  • Fix analysis and formatting issues.

    Analysis or formatting checks reported 36 hints.

    Run dartfmt to format lib/src/data/animation.dart.

    Run dartfmt to format lib/src/data/animation_object.dart.

    Similar analysis of the following files failed:

    • lib/src/data/animation_object_frame.dart (hint)
    • lib/src/data/armature.dart (hint)
    • lib/src/data/bone/bone.dart (hint)
    • lib/src/data/bone/bone_animation.dart (hint)
    • lib/src/data/bone/bone_animation_frame.dart (hint)
    • lib/src/data/display.dart (hint)
    • lib/src/data/mesh/mesh.dart (hint)
    • lib/src/data/mesh/mesh_animation.dart (hint)
    • lib/src/data/mesh/mesh_animation_frame.dart (hint)
    • lib/src/data/skin.dart (hint)
    • lib/src/data/skin_slot.dart (hint)
    • lib/src/data/slot/slot.dart (hint)
    • lib/src/data/slot/slot_animation.dart (hint)
    • lib/src/data/slot/slot_animation_frame.dart (hint)
    • lib/src/dragon_bones.dart (hint)
    • lib/src/dragon_bones_parser_json4.dart (hint)
    • lib/src/math/curve.dart (hint)
    • lib/src/math/transform.dart (hint)
    • lib/src/skeleton/bone/skeleton_bone.dart (hint)
    • lib/src/skeleton/bone/skeleton_bone_animation.dart (hint)
    • lib/src/skeleton/display/skeleton_display.dart (hint)
    • lib/src/skeleton/display/skeleton_display_armature.dart (hint)
    • lib/src/skeleton/display/skeleton_display_image.dart (hint)
    • lib/src/skeleton/display/skeleton_display_mesh.dart (hint)
    • lib/src/skeleton/display/skeleton_display_mesh_animation.dart (hint)
    • lib/src/skeleton/skeleton.dart (hint)
    • lib/src/skeleton/skeleton_object.dart (hint)
    • lib/src/skeleton/skeleton_object_animation.dart (hint)
    • lib/src/skeleton/slot/skeleton_slot.dart (hint)
    • lib/src/skeleton/slot/skeleton_slot_animation.dart (hint)
  • The description is too short.

    Add more detail about the package, what it does and what is its target use case. Try to write at least 60 characters.

  • Package is pre-v1 release.

    While there is nothing inherently wrong with versions of 0.*.*, it usually means that the author is still experimenting with the general direction API.

  • Maintain an example.

    None of the files in your example/ directory matches a known example patterns. Common file name patterns include: main.dart, example.dart or you could also use stagexl_dragonbones.dart.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.20.0 <2.0.0
browser any 0.10.0+3
stagexl ^1.0.0 1.3.1+3
Transitive dependencies
collection 1.14.9
matcher 0.12.2
path 1.5.1
petitparser 1.7.6
stack_trace 1.9.2
xml 3.0.0