Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

home true
heroImage /images/top.png
actionText Get started
actionLink /guide/
features
title details
Simple and lightweight
Using Zerker is very simple, it has very simple api and operation methods, anyone can quickly learn to use, and you will also like Zerker.
title details
Various animation effects
Use Zerker to achieve a variety of animation effects, such as the like effect, admission animation, pop-up effect, etc.
title details
Develop 2d games
Zerker is also very good at developing games, supporting spritesheets, atals and many other assets, making it easy to create a variety of small games.
footer MIT Licensed | Copyright © 2019-present

Introduction

Zerker is a flexible and lightweight flutter canvas graphic animation library.

With Zerker, you can create a lot of seemingly cumbersome animation effects, such as animated animations, pop-up animations, scene transitions, icon effects, and more.

At the same time, you can create a lot of simple games with Zerker. Zerker contains elements such as sprites, scrolling backgrounds, and atlases, making it easy to create game worlds with them.

Getting Started

class MyZKApp extends ZKApp {
  ZKSprite _sprite;

  @override
  init() {
    super.init();

    _sprite = ZKSprite(key: "boy")
      ..animator.make("run", ["Run ({1-15}).png"])
      ..animator.play("run", 25, true);
    stage.addChild(boy);
  }

  @override
  update(int time) {
    super.update(time);
    
    _sprite.position.x++;
  }

  @override
  customDraw(Canvas canvas) {
    /// custom draw method
  }

  @override
  void dispose() {
    super.dispose();
  }
}

License

Zerker is licensed under MIT license. View license. https://github.com/flutterkit/zerker/blob/master/LICENSE