Skip to content

Commit

Permalink
Updated documentation, and run tests on multiple SDKs.
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewLugg committed Mar 21, 2022
1 parent 7b66580 commit b862a3f
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 9 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/dart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ on:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
sdk: [stable, 2.16.1, 2.15.1, 2.14.4]

steps:
- uses: actions/checkout@v2
Expand All @@ -26,7 +29,9 @@ jobs:
# You can specify other versions if desired, see documentation here:
# https://github.com/dart-lang/setup-dart/blob/main/README.md
# - uses: dart-lang/setup-dart@v1
- uses: dart-lang/setup-dart@9a04e6d73cca37bd455e0608d7e5092f881fd603
- uses: dart-lang/[email protected]
with:
sdk: ${{ matrix.sdk }}

- name: Install dependencies
run: dart pub get
Expand All @@ -43,4 +48,4 @@ jobs:
# package:test for this step to succeed. Note that Flutter projects will
# want to change this to 'flutter test'.
- name: Run tests
run: dart test -p chrome
run: dart test -p chrome
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,13 @@ announcements on the StageXL forum or use one of the support links below:
* StageXL GitHub <https://github.com/bp74/StageXL/issues>
* StageXL StackOverflow: <http://stackoverflow.com/questions/ask?tags=stagexl>

### 2.1.0
* createImageBitmap support for Chrome, Edge, Firefox, and newer Safari (v15+).
* Allowing pixel formats from sprite sheets
* Fix a bug in SVG path decoder.

### 2.0.2
* Exposing max texture size on WebGl canvas.
* Exposing max texture size on WebGL canvas.
* Exposing getParameters call on WebGL canvas.

### 2.0.1
Expand Down
19 changes: 15 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ rich animation framework, audio and video support, interaction events,
3D transformations of 2D objects, resource management, text rendering
and many other features as well as extensibility for even more features.

[![Build Status](https://travis-ci.org/bp74/StageXL.svg?branch=master)](https://travis-ci.org/bp74/StageXL)

## Extension Libraries

StageXL provides a rich set of built-in features. Even more advanced use cases
Expand Down Expand Up @@ -55,16 +53,22 @@ a particular feature.
* GitHub repository: <https://github.com/bp74/StageXL_Samples>
* StageXL homepage: <http://www.stagexl.org/samples>

## Support StageXL

We encourage anyone to send in Pull Requests or issues that they find. We
do our best to look at them as soon as we can.

## Roadmap

Besides improving our existing features and improving performance as much
as possible, we are always thinking about new features we want to add next.
Please send us your ideas and requests to make those things a reality you
care about most. Some of the things we will tackle in the near future are:

* Support for Flutter (native runtime environment for Android and iOS).
* Support for Flutter (This is happening on a separate repo)
* A new StageXL homepage with more articles / blog posts.
* Runtime support for Tiled Map Editor.
* Changing functions from positional parameters to named parameters.
* Adding ability use Web Workers.

## Adobe Flash heritage

Expand All @@ -77,3 +81,10 @@ language is easy to use for everyone who is familiar with ActionScript.
* ActionScript to Dart converter: <https://github.com/blockforest/stagexl-converter-pubglobal>
* ActionScript to Dart comparison: <http://www.stagexl.org/docs/actionscript-dart.html>

## Browser Support

| Chrome | Safari | Firefox | Edge |
|:--------:|:----------:|:---------:|:----:|
| v53+ | v10+ | v63+ | v79+ |

Some features only work on newer browsers such as WebGL, but we intend to have fallbacks for most features.
4 changes: 2 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: stagexl
version: 2.0.2
version: 2.1.0
description: A fast and universal 2D rendering engine for HTML5 and Dart.
homepage: http://www.stagexl.org
repository: https://github.com/bp74/StageXL

environment:
sdk: '>=2.12.0 <3.0.0'
sdk: '>=2.14.0 <3.0.0'

documentation: http://www.stagexl.org/docs/api/index.html

Expand Down

0 comments on commit b862a3f

Please sign in to comment.