GithubHelp home page GithubHelp logo

wolfenrain / bolt Goto Github PK

View Code? Open in Web Editor NEW
43.0 43.0 0.0 137 KB

Lightning fast, strongly typed network protocol

License: MIT License

Dart 96.80% Shell 3.20%
dart dart-package dartlang netcode udp

bolt's Introduction

Hi there ๐Ÿ‘‹

I'm a senior open source software engineer at Very Good Ventures and I'm from the Netherlands ๐Ÿ‡ณ๐Ÿ‡ฑ.

  • ๐Ÿ”ฅ Iโ€™m actively maintaining the Flame Engine.
  • ๐Ÿง‘โ€๐Ÿ’ป Iโ€™m am a member of the Blue Fire Team.
  • ๐Ÿ’ฌ Ask me about shaders, end-to-end testing and rendering in Flutter.
  • ๐Ÿ˜„ Pronouns: he/him/his
  • โšก Fun fact: I own a working Commodore 64 that is older than I am.

Open Source Projects

Flame Engine Fluttium Goose Umbra

And I also maintain the Twilio Flutter packages:

Github Stats

wolfenrain's Github Stats

Sponsering?

I work on my packages in my free time and my free time is limited. So if any of my packages is helping you, please consider sponsoring me. This will allow me to work more on my packages and contribute more to the Flutter community!

Github Badge

bolt's People

Contributors

wolfenrain avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

bolt's Issues

PayLoad Type example

Hi,

Cloud you add a payload type example, please?
For example, I have a class:

class GameClient {
   double x;
   double y;
   String uuid;
}

And I want to broadcast to my clients new class with all my clients:

class GameStatus {
   List<GameClient> clients;
}

In this case, I have to use payload types from your documentation(fix me if I'm wrong), but I don't understand how to register a payload class after the defining.

ConnectionTimeout on the server must be optional

Hi,
Thank you for the project. Very helpful

On the server side of your project there is a code:

packets.listen((packet) {
      final connection = _findExistingConnection(packet.address) ??
          Connection(clientSalt: 0, serverSalt: 0, address: packet.address);
      if (_connectionTimers[connection] != null) {
        _connectionTimeout(connection);
      }
    });

I'm trying to use the server in broadcast mode and I faced an issue: if my client does not send any to the server for 5 sec, the server initials the client disconnection.

I have a step-based game. And the client has 30 secs to think before the moving. I don't send any action to the server during that time. All the game states got from the server in broadcast mode. But my client disconnects all the time if there are no messages from the client for 5 secs. Could you make _connectionTimeout an optional parameter, please?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.