fledge_net 0.2.3
fledge_net: ^0.2.3 copied to clipboard
Networking components for Fledge - peer-to-peer multiplayer, state sync, and input prediction.
fledge_net #
Multiplayer networking for Fledge games — host/client architecture, encrypted transport, state synchronization, and client-side input prediction.
Installation #
dependencies:
fledge_net: ^0.2.1
Quick Start #
import 'package:fledge_ecs/fledge_ecs.dart';
import 'package:fledge_net/fledge_net.dart';
final app = App()
..addPlugin(WallTimePlugin())
..addPlugin(NetworkPlugin(
config: NetworkConfig(
mode: NetworkMode.host,
tickRate: 60,
syncRate: 20,
),
));
await app.run();
Documentation #
See the Fledge documentation site for guides, API reference, and advanced usage.
License #
Apache 2.0 - See LICENSE for details.