A graphics engine for creating 2D games. Creating objects based on composition and painting on canvas.

Overview

Pub Version

Composition Rendering

A graphics engine for creating 2D games. Composition Rendering is not a game engine. This solution can be used as part of a third-party game engine. The functions of creating game scenes and managing graphic objects in the action scene are at your disposal. Object rendering is optimized to minimize the number of drawing commands calls. Drawing is based on Canvas.drawRawAtlas

Demo video

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:

You might also like...

uses Firebase's ML Engine to recognize murals in San Diego's Chicano park.

ABOUT Flutter-based app that uses Firebase's ML Engine to recognize murals in San Diego's Chicano park. App can be run on iOS and android and the trai

Jan 3, 2022

🦖 🦖 🦖 Flutter 2D runner game using Flame engine.

🦖 🦖 🦖 Flutter 2D runner game using Flame engine.

t_rex_flame T-rex is the 2D game where you play as a cute little t-rex using Flame engine. All you need do it avoid being hit by enemies too many time

Dec 13, 2022

SpriteWidget Viktor LidholtSpriteWidget [1143⭐] - Toolkit for building complex, high performance animations and 2D games by Viktor Lidholt.

SpriteWidget Viktor LidholtSpriteWidget [1143⭐] - Toolkit for building complex, high performance animations and 2D games by Viktor Lidholt.

SpriteWidget SpriteWidget is a toolkit for building complex, high performance animations and 2D games with Flutter. Your sprite render tree lives insi

Dec 7, 2022

An awesome list that curates the best Flame games, projects, libraries, tools, tutorials, articles and more.

An awesome list that curates the best Flame games, projects, libraries, tools, tutorials, articles and more.

Awesome Flame A curated list of games, libraries, and articles related to the Flame Engine for Flutter. Flame is a minimalist 2D game engine for Flutt

Jan 9, 2023

A simple wrapper on top of Google Play Games Services (GPGS), including auth, achievement, and more.

A simple wrapper on top of Google Play Games Services (GPGS), including auth, achievement, and more.

play_games Use Google Play Games Services on your Flutter app; this allows for signin and achievements so far, but more additions are very welcome. If

Sep 10, 2022

A Flutter plugin to support game center and google play games services.

A Flutter plugin to support game center and google play games services.

A Flutter plugin to support game center and google play games services. Screenshot iOS Android Tutorials Written tutorial Video tutorial Will be added

Jan 6, 2023

An example Flutter app showing how to easily integrate with Flame games

space_burger A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started if

Jun 4, 2021

A social media for games.

Gamiac A gaming social media app. Play, Post & Interact . Download Gamiac Are you a Gamer 🎮 ? If yes then GAMIAC is especially for YOU 😀 . What is G

Jul 15, 2021

Epic Games Flutter UI

 Epic Games Flutter UI

Epic Games Flutter UI A flutter implementation of the Epic Games Concept Home Page by Andrey Artamonov. A screenshot: Getting Started 🚀 You need the

Nov 5, 2022
Owner
Stanislav
migrating to Dart
Stanislav
EscapeGameKit is a package, entirely built using Flutter, that helps creating escape games.

??️‍♂️ EscapeGameKit EscapeGameKit is a package, entirely built using Flutter, that helps creating escape games. It is better suited for web and deskt

Hugo Delaunay 10 Dec 24, 2022
A Widget-based Game Engine For Flutter

illume A Widget-based Game Engine for Flutter Illume is a simple Flutter game engine which uses widgets to create game objects instead of sprites in n

Deven Joshi 23 Nov 9, 2022
A ludo board game developed in Flutter using canvas.

Fludo Fludo is a Flutter app which uses canvas and animations to build a Ludo board game. Features Roll dice & move your pawns Kill opponent's pawns P

Sumeet Rukeja 98 Dec 19, 2022
A simple 2D multiplayer online game built using Flutter and Flame engine

Club Penguin Introduction ?? Club Penguin A multiplayer game involving penguins and anonymous chat in a virtual 2D world Before we start, you can take

Sanjeev Madhav 67 Dec 24, 2022
Warrior Runner - Game made with Flutter and Flame game engine

Warrior Runner - Game made with Flutter Demo and Screenshot Flutter Version Used : 1.22.4 flame: 0.29.3 hive: 1.5.0-pre Learing Resources: Create a Mo

Mohammed Hashim 20 Oct 10, 2022
Dungeon Fantasy - A simple RPG game built with Bonfire and Flame engine

dungeon_fantasy A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started

Nguyen Minh Dung 1 Dec 28, 2021
A minimalist Flutter game engine

A minimalistic Flutter game engine. English | 简体中文 | Polski | Русский About 1.0.0 Our goal is to release v1 soon. We are periodically launching RCs (r

Flame Engine 7.3k Jan 8, 2023
A Flutter RPG Game Engine.

DevilF 游戏引擎 A Flutter RPG Game Engine. 一款使用Flutter开发的RPG游戏引擎。 引擎介绍 (Devil Fighter) 自从有了Flutter,轻松实现了三端跨平台,并且不增加包体积,就能拥有一套Native游戏引擎,为APP游戏化提供了更多可能性。 开

zhaoqipeng 72 Dec 21, 2022
Mason templates for the Flame Engine

Flame Bricks ?? ?? Flame Bricks is a collection of Mason's templates to help people bootstrap classes for the Flame engine. How to use To learn more a

Flame Engine 22 Oct 9, 2022
A minimalist Flutter game engine

A minimalistic Flutter game engine. English | 简体中文 | Polski | Русский | Español About 1.0.0 Our goal is to release v1 soon. We are periodically launch

Flame Engine 7.3k Dec 31, 2022