composition_rendering 0.2.0 copy "composition_rendering: ^0.2.0" to clipboard
composition_rendering: ^0.2.0 copied to clipboard

outdated

A tool for creating objects based on composition and painting on canvas. It can be used in the base of the game engine.

Pub Version

A tool for creating objects based on composition and painting on canvas. It can be used in the base of the game engine.

Drawing is based on Canvas.drawRawAtlas

Demo #

example scene

Usage #

A simple usage example:

import 'package:composition_rendering/core.dart';
import 'package:composition_rendering/scene.dart';

void main() {
  final gameScene = GameScene();
}

class GameScene extends Scene {
  @override
  void init() {
    var texture = systems.textureSystem.getTextureRegion('bg.jpg');
    var background = systems.factorySystem.spawnSprite(texture!, Priority.background);
    add(background);
  }
}

Use with Flame #

Plugin for integrating composition rendering into the Flame game engine. Pub Version

History of creation #

The source of inspiration was the resource Replica Island

Other projects that may have influenced the development of this work:

7
likes
0
pub points
0%
popularity

Publisher

unverified uploader

A tool for creating objects based on composition and painting on canvas. It can be used in the base of the game engine.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter, vector_math

More

Packages that depend on composition_rendering