stagexl_spine 0.9.0+2

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 75

StageXL_Spine

The Spine runtime for the StageXL library.

Build Status

Examples

Raptor (http://www.stagexl.org/show/spine/raptor/example.html)
Tank (http://www.stagexl.org/show/spine/tank/example.html)
Stretchyman (http://www.stagexl.org/show/spine/stretchyman/example.html)
SpineBoy (http://www.stagexl.org/show/spine/spineboy/example.html)
Goblins (http://www.stagexl.org/show/spine/goblins/example.html)
PowerUp (http://www.stagexl.org/show/spine/powerup/example.html)
Hero (http://www.stagexl.org/show/spine/hero/example.html)
Coin (http://www.stagexl.org/show/spine/coin/example.html)
Combined (http://www.stagexl.org/show/spine/texture-atlas/example.html)

Spine Runtime

Based on the spine-as3 runtime (2017-07-01) This runtime supports the export format and features of Spine v3.6.

https://github.com/EsotericSoftware/spine-runtimes/tree/3.6/spine-as3

Spine License

Spine Runtimes Software License v2.5

Copyright (c) 2013-2016, Esoteric Software
All rights reserved.

You are granted a perpetual, non-exclusive, non-sublicensable, and
non-transferable license to use, install, execute, and perform the Spine
Runtimes software and derivative works solely for personal or internal
use. Without the written permission of Esoteric Software (see Section 2 of
the Spine Software License Agreement), you may not (a) modify, translate,
adapt, or develop new applications using the Spine Runtimes or otherwise
create derivative works or improvements of the Spine Runtimes or (b) remove,
delete, alter, or obscure any trademarks or any copyright, trademark, patent,
or other intellectual property or proprietary rights notices on or in the
Software, including any copy thereof. Redistributions in binary or source
form must include this license and terms.

THIS SOFTWARE IS PROVIDED BY ESOTERIC SOFTWARE "AS IS" AND ANY EXPRESS OR
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
EVENT SHALL ESOTERIC SOFTWARE BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES, BUSINESS INTERRUPTION, OR LOSS OF
USE, DATA, OR PROFITS) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.

changelog

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

Pub version 0.9.0

  • Added new features of Spine v3.6
  • Updated examples to Spine 3.6

Pub version 0.8.6

  • Fixed MeshAttachment.applyDeform
  • Fixed Skeleton.updateCache

Pub version 0.8.5

  • Don't fire event or complete events when mixDuration is 0
  • Fixed AnimationState concurrent modification during iteration

Pub version 0.8.4

  • Fixed AnimationState

Pub version 0.8.3

  • Raised dependency to StageXL 1.0.0

Pub version 0.8.2

  • Fixed AnimationState

Pub version 0.8.1

  • Code size and performance optimizations

Pub version 0.8.0

  • Added optional DisplayObject bounds and hitTest calculation
  • Added all features of the Spine v3.5 format.
  • Updated examples to Spine 3.5

Pub version 0.7.0

  • Added all features of the Spine v3.4 format.
  • Updated examples to Spine 3.4

Pub version 0.6.0

  • Added all features of the Spine v3.1 format.
  • Updated examples to Spine 3.1

Pub version 0.5.1

  • Fixed bone matrix calculation.
  • Fixed bone sorting transform behavior.
  • Fixed wrong matrix calculation.

Pub version 0.5.0

  • Updated to Spine v3 export format.

Pub version 0.4.1

  • Added support for all texture atlas features.
  • Code optimizations and cleanups.
  • Updated to StageXL 0.13.0

Pub version 0.4.0

  • Added support for BlendModes.
  • Added combined texture atlas example.
  • Fixed IK rotation.
  • Fixed AnimationState event streams.
  • Updated to StageXL 0.12.0

Pub version 0.3.2

  • Fixed single bone IK with flip coordinate systems
  • Updated to StageXL 0.11.0

Pub version 0.3.1

  • Added FFD support for Canvas2D renderer.
  • Fixed RegionAttachment transformation matrix.
  • Updated to StageXL 0.10.3

Pub version 0.3.0

  • Support for FlipX and FlipY timelines.

Pub version 0.2.0

  • Support for Inverse Kinematics (IK).

Pub version 0.1.0

  • Support for RegionAttachment, MeshAttachment and SkinnedMeshAttachment.
  • Support for BoundingBoxAttachment.
  • Optimized render path for WebGL and Canvas2D.

Use this package as a library

1. Depend on it

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


dependencies:
  stagexl_spine: "^0.9.0+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 flutter 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_spine/stagexl_spine.dart';
  
Version Uploaded Documentation Archive
0.9.0+2 Jul 1, 2017 Go to the documentation of stagexl_spine 0.9.0+2 Download stagexl_spine 0.9.0+2 archive
0.9.0+1 Jun 25, 2017 Go to the documentation of stagexl_spine 0.9.0+1 Download stagexl_spine 0.9.0+1 archive
0.9.0 Jun 24, 2017 Go to the documentation of stagexl_spine 0.9.0 Download stagexl_spine 0.9.0 archive
0.8.6 Dec 17, 2016 Go to the documentation of stagexl_spine 0.8.6 Download stagexl_spine 0.8.6 archive
0.8.5 Dec 8, 2016 Go to the documentation of stagexl_spine 0.8.5 Download stagexl_spine 0.8.5 archive
0.8.4 Dec 4, 2016 Go to the documentation of stagexl_spine 0.8.4 Download stagexl_spine 0.8.4 archive
0.8.3 Dec 3, 2016 Go to the documentation of stagexl_spine 0.8.3 Download stagexl_spine 0.8.3 archive
0.8.2 Nov 25, 2016 Go to the documentation of stagexl_spine 0.8.2 Download stagexl_spine 0.8.2 archive
0.8.1 Nov 19, 2016 Go to the documentation of stagexl_spine 0.8.1 Download stagexl_spine 0.8.1 archive
0.8.0 Nov 19, 2016 Go to the documentation of stagexl_spine 0.8.0 Download stagexl_spine 0.8.0 archive

All 23 versions...

Analysis

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

  • Dart: 2.0.0-dev.63.0
  • pana: 0.11.3

Scores

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

Platforms

Detected platforms: Flutter, web, other

No platform restriction found in primary library package:stagexl_spine/stagexl_spine.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 99 hints.

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

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

    Similar analysis of the following files failed:

    • lib/src/animation/animation_state_data.dart (hint)
    • lib/src/animation/attachment_timeline.dart (hint)
    • lib/src/animation/color_timeline.dart (hint)
    • lib/src/animation/curve_timeline.dart (hint)
    • lib/src/animation/deform_timeline.dart (hint)
    • lib/src/animation/draw_order_timeline.dart (hint)
    • lib/src/animation/event_timeline.dart (hint)
    • lib/src/animation/ik_constraint_timeline.dart (hint)
    • lib/src/animation/path_constraint_mix_timeline.dart (hint)
    • lib/src/animation/path_constraint_position_timeline.dart (hint)
    • lib/src/animation/path_constraint_spacing_timeline.dart (hint)
    • lib/src/animation/rotate_timeline.dart (hint)
    • lib/src/animation/scale_timeline.dart (hint)
    • lib/src/animation/shear_timeline.dart (hint)
    • lib/src/animation/timeline.dart (hint)
    • lib/src/animation/timeline_type.dart (hint)
    • lib/src/animation/track_entry.dart (hint)
    • lib/src/animation/track_entry_event.dart (hint)
    • lib/src/animation/transform_constraint_timeline.dart (hint)
    • lib/src/animation/translate_timeline.dart (hint)
    • lib/src/animation/two_color_timeline.dart (hint)
    • lib/src/attachments/attachment.dart (hint)
    • lib/src/attachments/attachment_loader.dart (hint)
    • lib/src/attachments/bounding_box_attachment.dart (hint)
    • lib/src/attachments/clipping_attachment.dart (hint)
    • lib/src/attachments/mesh_attachment.dart (hint)
    • lib/src/attachments/path_attachment.dart (hint)
    • lib/src/attachments/point_attachment.dart (hint)
    • lib/src/attachments/region_attachment.dart (hint)
    • lib/src/attachments/render_attachment.dart (hint)
    • lib/src/attachments/vertex_attachment.dart (hint)
    • lib/src/bone.dart (hint)
    • lib/src/bone_data.dart (hint)
    • lib/src/event_data.dart (hint)
    • lib/src/ik_constraint.dart (hint)
    • lib/src/ik_constraint_data.dart (hint)
    • lib/src/math_util.dart (hint)
    • lib/src/path_constraint.dart (hint)
    • lib/src/path_constraint_data.dart (hint)
    • lib/src/position_mode.dart (hint)
    • lib/src/rotate_mode.dart (hint)
    • lib/src/skeleton.dart (hint)
    • lib/src/skeleton_bounds.dart (hint)
    • lib/src/skeleton_data.dart (hint)
    • lib/src/skeleton_loader.dart (hint)
    • lib/src/skin.dart (hint)
    • lib/src/slot.dart (hint)
    • lib/src/slot_data.dart (hint)
    • lib/src/spine_color.dart (hint)
    • lib/src/spine_event.dart (hint)
    • lib/src/stagexl/skeleton_animation.dart (hint)
    • lib/src/stagexl/skeleton_clipping.dart (hint)
    • lib/src/stagexl/skeleton_display_object.dart (hint)
    • lib/src/stagexl/texture_atlas_attachment_loader.dart (hint)
    • lib/src/transform_constraint.dart (hint)
    • lib/src/transform_constraint_data.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_spine.dart.

  • Use analysis_options.yaml.

    Rename old .analysis_options file to analysis_options.yaml.

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+4
Transitive dependencies
collection 1.14.10
matcher 0.12.3
path 1.6.1
petitparser 1.7.6
stack_trace 1.9.2
xml 3.0.0