update readme

This commit is contained in:
wgroeneveld 2018-08-13 16:56:11 +02:00
parent b86f8c5e1f
commit db43d447da
1 changed files with 4 additions and 0 deletions

View File

@ -83,6 +83,7 @@ The `sprites()` method gets periodically called to check whether something has b
A simple fade out scene effect is implemented in demo 1, that converges the palette colors of both palettes to white. It's easy to **create your own effects** by subclassing `SceneEffect`.
![sample fade out](https://github.com/wgroeneveld/gba-sprite-engine/blob/master/img/fade.gif?raw=true)
Sample fade effect, demo 1.
#### Backgrounds
@ -92,6 +93,7 @@ Scrollable backgrounds are present:
Call `scroll()` in your scene update.
![scroll bg](https://github.com/wgroeneveld/gba-sprite-engine/blob/master/img/scroll.gif?raw=true)
Sample scrolling background demo 1.
Creating a background:
@ -112,6 +114,7 @@ Creating sprites is easy with the `SpriteBuilder`. Specify what kind of sprite y
**Affine sprites can transform** using for example `rotate(angle)` - check out demo 1 or 3 for that.
![rotation](https://github.com/wgroeneveld/gba-sprite-engine/blob/master/img/rotate.gif?raw=true)
Sample rotation demo 3.
**Sprite animation is built-in**! Just feed your sprite data to the builder and use `.withAnimated(amountOfFrames, frameDelay)`. Remember to position each frame in one column in the image itself (vertically).
@ -126,6 +129,7 @@ Useful sprite methods:
* Various getters like `getWith()` etc
![stay within bounds](https://github.com/wgroeneveld/gba-sprite-engine/blob/master/img/bounds.gif?raw=true)
The paddle auto-stays within bounds.
#### Sound