stagexl_gaf 0.2.0+1

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 65

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+1

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+1 Mar 23, 2019 Go to the documentation of stagexl_gaf 0.2.0+1 Download stagexl_gaf 0.2.0+1 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

All 12 versions...

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

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

  • Dart: 2.2.0
  • pana: 0.12.14

Platforms

Detected platforms: web

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

Health suggestions

Fix lib/src/display/gaf_movie_clip.dart. (-3.93 points)

Analysis of lib/src/display/gaf_movie_clip.dart reported 8 hints, including:

line 54 col 22: Don't explicitly initialize variables to null.

line 75 col 11: Don't explicitly initialize variables to null.

line 147 col 3: Avoid return types on setters.

line 167 col 3: Avoid return types on setters.

line 360 col 31: Use isNotEmpty instead of length

Fix lib/src/data/gaf_asset_config_converter.dart. (-2.96 points)

Analysis of lib/src/data/gaf_asset_config_converter.dart reported 6 hints, including:

line 294 col 21: Don't explicitly initialize variables to null.

line 336 col 19: Don't explicitly initialize variables to null.

line 386 col 26: Use isNotEmpty instead of length

line 415 col 9: Use contains instead of indexOf

line 423 col 13: Use contains instead of indexOf

Fix lib/src/config/csound.dart. (-1.49 points)

Analysis of lib/src/config/csound.dart reported 3 hints:

line 10 col 10: Don't explicitly initialize variables to null.

line 11 col 10: Don't explicitly initialize variables to null.

line 17 col 9: Don't explicitly initialize variables to null.

Fix additional 28 files with analysis or formatting issues. (-3 points)

Additional issues in the following files:

  • lib/src/config/ctexture_atlas_element.dart (2 hints)
  • lib/src/data/gaf_timeline_config.dart (2 hints)
  • lib/src/config/ctext_field.dart (1 hint)
  • lib/src/display/gaf_bitmap.dart (1 hint)
  • lib/src/config/canimation_frame.dart (Run dartfmt to format lib/src/config/canimation_frame.dart.)
  • lib/src/config/canimation_frame_instance.dart (Run dartfmt to format lib/src/config/canimation_frame_instance.dart.)
  • lib/src/config/canimation_object.dart (Run dartfmt to format lib/src/config/canimation_object.dart.)
  • 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/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_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_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/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_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 package description is too short. (-20 points)

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

Maintain an example.

None of the files in the package's example/ directory matches known example patterns.

Common filename patterns include main.dart, example.dart, and stagexl_gaf.dart. Packages with multiple examples should provide example/README.md.

For more information see the pub package layout conventions.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0 <3.0.0
archive >=2.0.0 <3.0.0 2.0.8
stagexl >=1.4.0 <2.0.0 1.4.0+3
Transitive dependencies
args 1.5.1
charcode 1.1.2
collection 1.14.11
convert 2.1.1
crypto 2.0.6
path 1.6.2
petitparser 2.2.1
typed_data 1.1.6
xml 3.4.1
Dev dependencies
build_runner any
build_test any
build_web_compilers any