The BareFlameGame
class would be like the FlameGame
(i.e. based on a component tree), but without the built-in camera (hence, "bare"). Thus, its structure would be something like this:
class BareFlameGame extends Game {
final Component root;
void update(dt) => root.updateTree(dt);
void render(canvas) => root.renderTree(canvas);
Future<void> add(child) => root.add(child);
Future<void> addAll(children) => root.addAll(children);
void remove(child) => root.remove(child);
void removeAll(children) => root.removeAll(children);
// + more pass-through methods like that.
}
This would essentially be a bare-bones FCS game, without any additional features.
This class would make it easier to use the new CameraComponent
without having to carry around the old camera too.
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too