flame_multiplayer 1.0.0-rc.1
flame_multiplayer: ^1.0.0-rc.1 copied to clipboard
Two or more machines for a game, over flutter3d_net's wire and rollback: turns with a replay for the one watching, a ghost's latest word, and a party's spectator.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add flame_multiplayerWith Flutter:
$ flutter pub add flame_multiplayerThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
flame_multiplayer: ^1.0.0-rc.1Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:flame_multiplayer/flame_multiplayer.dart';