flame_multiplayer 0.1.0 copy "flame_multiplayer: ^0.1.0" to clipboard
flame_multiplayer: ^0.1.0 copied to clipboard

Two players on two machines for a game: a room with a handshake and separate channels, rollback play in step, turns with a replay for the one watching, and a ghost's latest word in a race.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add flame_multiplayer

With Flutter:

 $ flutter pub add flame_multiplayer

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  flame_multiplayer: ^0.1.0

Alternatively, 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';
0
likes
140
points
406
downloads

Documentation

API reference

Publisher

verified publisherpleion.dev

Weekly Downloads

Two players on two machines for a game: a room with a handshake and separate channels, rollback play in step, turns with a replay for the one watching, and a ghost's latest word in a race.

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#game-development #flame #networking #multiplayer

License

MIT (license)

More

Packages that depend on flame_multiplayer