tremble 1.2.1
tremble: ^1.2.1 copied to clipboard
A Simple Flutter game engine.
Tremble #
| [Tremble Logo] | A simple Flutter game engine following the setup/update/draw pattern (p5.js, Processing, Raylib, LÖVE style). |
📖 Full documentation: tremble-docs.netlify.app 📖 Interactive Examples: tremble-examples.netlify.app
Quick Start #
FittedBox(
child: SizedBox(
width: 480,
height: 640,
child: GameArea(controller: MyController()),
),
)
class MyController extends ScreenController {
@override
void setup(BuildContext context, double width, double height) {}
@override
void resize(double width, double height) {}
@override
void update(double deltaTime) {}
@override
void draw(Canvas canvas, Size size) {}
@override
void dispose() {}
}
Features #
| Area | Includes |
|---|---|
| Rendering | Raw Canvas access, SpriteBatch (GDX atlases + custom), Sprite, Animation |
| Input | Keyboard, mouse, resize, scroll |
| Camera | Camera with zoom, shake, nesting |
| Tooling | Signal/ SignalValue/ SignalValueBuilder, WaitEvents / WaitChainBuilder, StateMachine |
| Physics | Shape (abstract), Circle, AABB, Line, RigidBody, CollisionDetector, CollisionResolver, Raycaster, SpatialHash, Minkowski |
| Utilities | Vec2, Tween, SecondOrderDynamics, Spring2D / Spring1D, ColorUtils, MathUtils, ImageUtils, Extensions, Helpers |
Packages #
License #
MIT