stagexl_spine 0.10.0

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 64

StageXL_Spine

The Spine runtime for the StageXL library.

NOTE: as of version 0.10.0-dev, StageXL_Spine requires a Dart 2 SDK.

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.10.0

  • Raised dependency to StageXL 1.4.0
  • Ready for Dart 2.0

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.10.0

2. Install it

You can install packages from the command line:

with pub:


$ pub get

Alternatively, your editor might support pub 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.10.0 Aug 11, 2018 Go to the documentation of stagexl_spine 0.10.0 Download stagexl_spine 0.10.0 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

All 24 versions...

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

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

  • Dart: 2.0.0
  • pana: 0.12.4

Platforms

Detected platforms: web

Primary library: package:stagexl_spine/stagexl_spine.dart with components: html.

Health suggestions

Format lib/src/animation/animation.dart.

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

Format lib/src/animation/animation_state.dart.

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

Format lib/src/animation/animation_state_data.dart.

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

Fix additional 55 files with analysis or formatting issues.

Additional issues in the following files:

  • lib/src/animation/attachment_timeline.dart (Run dartfmt to format lib/src/animation/attachment_timeline.dart.)
  • lib/src/animation/color_timeline.dart (Run dartfmt to format lib/src/animation/color_timeline.dart.)
  • lib/src/animation/curve_timeline.dart (Run dartfmt to format lib/src/animation/curve_timeline.dart.)
  • lib/src/animation/deform_timeline.dart (Run dartfmt to format lib/src/animation/deform_timeline.dart.)
  • lib/src/animation/draw_order_timeline.dart (Run dartfmt to format lib/src/animation/draw_order_timeline.dart.)
  • lib/src/animation/event_timeline.dart (Run dartfmt to format lib/src/animation/event_timeline.dart.)
  • lib/src/animation/ik_constraint_timeline.dart (Run dartfmt to format lib/src/animation/ik_constraint_timeline.dart.)
  • lib/src/animation/path_constraint_mix_timeline.dart (Run dartfmt to format lib/src/animation/path_constraint_mix_timeline.dart.)
  • lib/src/animation/path_constraint_position_timeline.dart (Run dartfmt to format lib/src/animation/path_constraint_position_timeline.dart.)
  • lib/src/animation/path_constraint_spacing_timeline.dart (Run dartfmt to format lib/src/animation/path_constraint_spacing_timeline.dart.)
  • lib/src/animation/rotate_timeline.dart (Run dartfmt to format lib/src/animation/rotate_timeline.dart.)
  • lib/src/animation/scale_timeline.dart (Run dartfmt to format lib/src/animation/scale_timeline.dart.)
  • lib/src/animation/shear_timeline.dart (Run dartfmt to format lib/src/animation/shear_timeline.dart.)
  • lib/src/animation/timeline.dart (Run dartfmt to format lib/src/animation/timeline.dart.)
  • lib/src/animation/timeline_type.dart (Run dartfmt to format lib/src/animation/timeline_type.dart.)
  • lib/src/animation/track_entry.dart (Run dartfmt to format lib/src/animation/track_entry.dart.)
  • lib/src/animation/track_entry_event.dart (Run dartfmt to format lib/src/animation/track_entry_event.dart.)
  • lib/src/animation/transform_constraint_timeline.dart (Run dartfmt to format lib/src/animation/transform_constraint_timeline.dart.)
  • lib/src/animation/translate_timeline.dart (Run dartfmt to format lib/src/animation/translate_timeline.dart.)
  • lib/src/animation/two_color_timeline.dart (Run dartfmt to format lib/src/animation/two_color_timeline.dart.)
  • lib/src/attachments/attachment.dart (Run dartfmt to format lib/src/attachments/attachment.dart.)
  • lib/src/attachments/attachment_loader.dart (Run dartfmt to format lib/src/attachments/attachment_loader.dart.)
  • lib/src/attachments/bounding_box_attachment.dart (Run dartfmt to format lib/src/attachments/bounding_box_attachment.dart.)
  • lib/src/attachments/clipping_attachment.dart (Run dartfmt to format lib/src/attachments/clipping_attachment.dart.)
  • lib/src/attachments/mesh_attachment.dart (Run dartfmt to format lib/src/attachments/mesh_attachment.dart.)
  • lib/src/attachments/path_attachment.dart (Run dartfmt to format lib/src/attachments/path_attachment.dart.)
  • lib/src/attachments/point_attachment.dart (Run dartfmt to format lib/src/attachments/point_attachment.dart.)
  • lib/src/attachments/region_attachment.dart (Run dartfmt to format lib/src/attachments/region_attachment.dart.)
  • lib/src/attachments/render_attachment.dart (Run dartfmt to format lib/src/attachments/render_attachment.dart.)
  • lib/src/attachments/vertex_attachment.dart (Run dartfmt to format lib/src/attachments/vertex_attachment.dart.)
  • lib/src/bone.dart (Run dartfmt to format lib/src/bone.dart.)
  • lib/src/bone_data.dart (Run dartfmt to format lib/src/bone_data.dart.)
  • lib/src/event_data.dart (Run dartfmt to format lib/src/event_data.dart.)
  • lib/src/ik_constraint.dart (Run dartfmt to format lib/src/ik_constraint.dart.)
  • lib/src/ik_constraint_data.dart (Run dartfmt to format lib/src/ik_constraint_data.dart.)
  • lib/src/path_constraint.dart (Run dartfmt to format lib/src/path_constraint.dart.)
  • lib/src/path_constraint_data.dart (Run dartfmt to format lib/src/path_constraint_data.dart.)
  • lib/src/position_mode.dart (Run dartfmt to format lib/src/position_mode.dart.)
  • lib/src/rotate_mode.dart (Run dartfmt to format lib/src/rotate_mode.dart.)
  • lib/src/skeleton.dart (Run dartfmt to format lib/src/skeleton.dart.)
  • lib/src/skeleton_bounds.dart (Run dartfmt to format lib/src/skeleton_bounds.dart.)
  • lib/src/skeleton_data.dart (Run dartfmt to format lib/src/skeleton_data.dart.)
  • lib/src/skeleton_loader.dart (Run dartfmt to format lib/src/skeleton_loader.dart.)
  • lib/src/skin.dart (Run dartfmt to format lib/src/skin.dart.)
  • lib/src/slot.dart (Run dartfmt to format lib/src/slot.dart.)
  • lib/src/slot_data.dart (Run dartfmt to format lib/src/slot_data.dart.)
  • lib/src/spacing_mode.dart (Run dartfmt to format lib/src/spacing_mode.dart.)
  • lib/src/spine_color.dart (Run dartfmt to format lib/src/spine_color.dart.)
  • lib/src/spine_event.dart (Run dartfmt to format lib/src/spine_event.dart.)
  • lib/src/stagexl/skeleton_animation.dart (Run dartfmt to format lib/src/stagexl/skeleton_animation.dart.)
  • lib/src/stagexl/skeleton_clipping.dart (Run dartfmt to format lib/src/stagexl/skeleton_clipping.dart.)
  • lib/src/stagexl/skeleton_display_object.dart (Run dartfmt to format lib/src/stagexl/skeleton_display_object.dart.)
  • lib/src/stagexl/texture_atlas_attachment_loader.dart (Run dartfmt to format lib/src/stagexl/texture_atlas_attachment_loader.dart.)
  • lib/src/transform_constraint.dart (Run dartfmt to format lib/src/transform_constraint.dart.)
  • lib/src/transform_constraint_data.dart (Run dartfmt to format lib/src/transform_constraint_data.dart.)

Maintenance suggestions

The description is too short. (-20 points)

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

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0 <3.0.0
stagexl >=1.4.0 <2.0.0 1.4.0+1
Transitive dependencies
collection 1.14.11
petitparser 2.0.2
xml 3.2.3
Dev dependencies
build_runner ^0.10.1
build_test ^0.10.3+1
build_web_compilers ^0.4.2+1