stagexl_gaf 0.2.0

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 60

StageXL_GAF

The GAF runtime for the StageXL library.

Use the GAF converter to convert Adobe Flash animations to the GAF-format,
learn more about it here: http://gafmedia.com/

NOTE: as of version 0.3.0-dev, StageXL_GAF requires a Dart 2 SDK.

Best solution to improve your workflow

  • GAF greatly reduces the number of steps in game development workflow.
  • Play any Flash 2D animation (explosions, cutscenes, characters, etc).
  • No special pre-preparation needed to convert your Flash 2D animations.

High performance even on low-end hardware

  • High FPS by pre-rendering vector assets to texture atlases.
  • Minimized draw-calls by using StageXLs rendering API.
  • Built in support for HiDPI displays and textures.

##Examples

Skeleton (http://www.stagexl.org/show/gaf/skeleton/example.html)
Slot Machine (http://www.stagexl.org/show/gaf/slot_machine/example.html)
Ufo Monster (http://www.stagexl.org/show/gaf/ufo_monster/example.html)
Named Parts (http://www.stagexl.org/show/gaf/named_parts/example.html)
Sequences (http://www.stagexl.org/show/gaf/sequences/example.html)
Gun Swap (http://www.stagexl.org/show/gaf/gun_swap/example.html)
Fireman (http://www.stagexl.org/show/gaf/fireman/example.html)
Rocket (http://www.stagexl.org/show/gaf/rocket/example.html)
Sound (http://www.stagexl.org/show/gaf/sound/example.html)

##License

The GAF runtime for StageXL is based on the official AS3 runtime.
The source code was greatly refactored for best performance and simplicity.

https://github.com/CatalystApps/StarlingGAFPlayer

Change Log

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

Pub version 0.2.0

  • Raised dependency to StageXL 1.4.0
  • Ready for Dart 2.0

Pub version 0.1.4

  • Added support for strong mode
  • Raised dependency to Dart SDK 1.22.0 (reason: covariant keyword)

Pub version 0.1.3

  • Raised dependency to StageXL 1.0.0

Pub version 0.1.2

  • Added support for GAF bundles in ZIP files

Pub version 0.1.1

  • Fixed multi texture assets

Pub version 0.1.0

  • Port of the official AS3/Starling runtime
  • Major refactoring and changes

Use this package as a library

1. Depend on it

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


dependencies:
  stagexl_gaf: ^0.2.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_gaf/stagexl_gaf.dart';
  
Version Uploaded Documentation Archive
0.2.0 Aug 11, 2018 Go to the documentation of stagexl_gaf 0.2.0 Download stagexl_gaf 0.2.0 archive
0.1.4+1 Jun 27, 2017 Go to the documentation of stagexl_gaf 0.1.4+1 Download stagexl_gaf 0.1.4+1 archive
0.1.4 Jun 27, 2017 Go to the documentation of stagexl_gaf 0.1.4 Download stagexl_gaf 0.1.4 archive
0.1.3 Dec 3, 2016 Go to the documentation of stagexl_gaf 0.1.3 Download stagexl_gaf 0.1.3 archive
0.1.2+3 Jun 11, 2016 Go to the documentation of stagexl_gaf 0.1.2+3 Download stagexl_gaf 0.1.2+3 archive
0.1.2+2 Jun 10, 2016 Go to the documentation of stagexl_gaf 0.1.2+2 Download stagexl_gaf 0.1.2+2 archive
0.1.2+1 Jun 10, 2016 Go to the documentation of stagexl_gaf 0.1.2+1 Download stagexl_gaf 0.1.2+1 archive
0.1.2 Jun 10, 2016 Go to the documentation of stagexl_gaf 0.1.2 Download stagexl_gaf 0.1.2 archive
0.1.1 Mar 22, 2016 Go to the documentation of stagexl_gaf 0.1.1 Download stagexl_gaf 0.1.1 archive
0.1.0 Mar 18, 2016 Go to the documentation of stagexl_gaf 0.1.0 Download stagexl_gaf 0.1.0 archive

All 11 versions...

Popularity:
Describes how popular the package is relative to other packages. [more]
28
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]
60
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_gaf/stagexl_gaf.dart with components: html.

Health suggestions

Format lib/src/config/canimation_frame.dart.

Run dartfmt to format lib/src/config/canimation_frame.dart.

Format lib/src/config/canimation_frame_instance.dart.

Run dartfmt to format lib/src/config/canimation_frame_instance.dart.

Format lib/src/config/canimation_object.dart.

Run dartfmt to format lib/src/config/canimation_object.dart.

Fix additional 28 files with analysis or formatting issues.

Additional issues in the following files:

  • lib/src/config/canimation_sequence.dart (Run dartfmt to format lib/src/config/canimation_sequence.dart.)
  • lib/src/config/cfilter.dart (Run dartfmt to format lib/src/config/cfilter.dart.)
  • lib/src/config/cfilter_data.dart (Run dartfmt to format lib/src/config/cfilter_data.dart.)
  • lib/src/config/cframe_action.dart (Run dartfmt to format lib/src/config/cframe_action.dart.)
  • lib/src/config/cframe_sound.dart (Run dartfmt to format lib/src/config/cframe_sound.dart.)
  • lib/src/config/csound.dart (Run dartfmt to format lib/src/config/csound.dart.)
  • lib/src/config/ctext_field.dart (Run dartfmt to format lib/src/config/ctext_field.dart.)
  • lib/src/config/ctexture_atlas.dart (Run dartfmt to format lib/src/config/ctexture_atlas.dart.)
  • lib/src/config/ctexture_atlas_content.dart (Run dartfmt to format lib/src/config/ctexture_atlas_content.dart.)
  • lib/src/config/ctexture_atlas_element.dart (Run dartfmt to format lib/src/config/ctexture_atlas_element.dart.)
  • lib/src/config/ctexture_atlas_source.dart (Run dartfmt to format lib/src/config/ctexture_atlas_source.dart.)
  • lib/src/data/gaf_asset.dart (Run dartfmt to format lib/src/data/gaf_asset.dart.)
  • lib/src/data/gaf_asset_config.dart (Run dartfmt to format lib/src/data/gaf_asset_config.dart.)
  • lib/src/data/gaf_asset_config_converter.dart (Run dartfmt to format lib/src/data/gaf_asset_config_converter.dart.)
  • lib/src/data/gaf_bundle.dart (Run dartfmt to format lib/src/data/gaf_bundle.dart.)
  • lib/src/data/gaf_bundle_loader.dart (Run dartfmt to format lib/src/data/gaf_bundle_loader.dart.)
  • lib/src/data/gaf_constants.dart (Run dartfmt to format lib/src/data/gaf_constants.dart.)
  • lib/src/data/gaf_sound.dart (Run dartfmt to format lib/src/data/gaf_sound.dart.)
  • lib/src/data/gaf_texture_atlas.dart (Run dartfmt to format lib/src/data/gaf_texture_atlas.dart.)
  • lib/src/data/gaf_timeline.dart (Run dartfmt to format lib/src/data/gaf_timeline.dart.)
  • lib/src/data/gaf_timeline_config.dart (Run dartfmt to format lib/src/data/gaf_timeline_config.dart.)
  • lib/src/display/gaf_bitmap.dart (Run dartfmt to format lib/src/display/gaf_bitmap.dart.)
  • lib/src/display/gaf_bitmap_data.dart (Run dartfmt to format lib/src/display/gaf_bitmap_data.dart.)
  • lib/src/display/gaf_display_object.dart (Run dartfmt to format lib/src/display/gaf_display_object.dart.)
  • lib/src/display/gaf_movie_clip.dart (Run dartfmt to format lib/src/display/gaf_movie_clip.dart.)
  • lib/src/display/gaf_movie_clip_event.dart (Run dartfmt to format lib/src/display/gaf_movie_clip_event.dart.)
  • lib/src/display/gaf_text_field.dart (Run dartfmt to format lib/src/display/gaf_text_field.dart.)
  • lib/stagexl_gaf.dart (Run dartfmt to format lib/stagexl_gaf.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.

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_gaf.dart.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0 <3.0.0
archive >=2.0.0 <3.0.0 2.0.4
stagexl >=1.4.0 <2.0.0 1.4.0+1
Transitive dependencies
args 1.5.0
charcode 1.1.2
collection 1.14.11
convert 2.0.2
crypto 2.0.6
path 1.6.2
petitparser 2.0.2
typed_data 1.1.6
xml 3.2.3
Dev dependencies
build_runner ^0.10.1
build_test ^0.10.3+1
build_web_compilers ^0.4.2+1