All Projects → green-coder → unity3d-ddp-client

green-coder / unity3d-ddp-client

Licence: MIT license
Lightweight DDP client for Unity3D

Programming Languages

C#
18002 projects

Projects that are alternatives of or similar to unity3d-ddp-client

react-meteor
Meteor Reactivity for your React application, inspired by react-native-meteor.
Stars: ✭ 16 (-11.11%)
Mutual labels:  meteor, ddp
meteor-subscription-scope
Scope queries on collections to subscriptions
Stars: ✭ 20 (+11.11%)
Mutual labels:  meteor, ddp
hypersubs
an upgraded version of Meteor subscribe, which helps optimize data and performance!
Stars: ✭ 13 (-27.78%)
Mutual labels:  meteor, ddp
meteorman
A DDP client with GUI (The Postman for Meteor)
Stars: ✭ 51 (+183.33%)
Mutual labels:  meteor, ddp
meteor-devtools-evolved
The Meteor framework development tool belt, evolved.
Stars: ✭ 146 (+711.11%)
Mutual labels:  meteor, ddp
meteor-control-mergebox
Control mergebox of publish endpoints
Stars: ✭ 28 (+55.56%)
Mutual labels:  meteor, ddp
meteorpp
Meteor DDP & Minimongo implementation in C++.
Stars: ✭ 22 (+22.22%)
Mutual labels:  meteor, ddp
MeteorCandy-meteor-admin-dashboard-devtool
The Fast, Secure and Scalable Admin Panel / Dashboard for Meteor.js
Stars: ✭ 50 (+177.78%)
Mutual labels:  meteor
Meteor-Cookies
🍪 Isomorphic bulletproof cookie functions for client and server
Stars: ✭ 41 (+127.78%)
Mutual labels:  meteor
meteor-autoform-bs-datepicker
Custom "bootstrap-datepicker" input type for AutoForm
Stars: ✭ 25 (+38.89%)
Mutual labels:  meteor
meteor-auth
A user authentication solution for Mantra applications
Stars: ✭ 34 (+88.89%)
Mutual labels:  meteor
meteoro
Pomodoro App on Meteor
Stars: ✭ 31 (+72.22%)
Mutual labels:  meteor
tkzd
Meteor Project example ✨
Stars: ✭ 15 (-16.67%)
Mutual labels:  meteor
constellation
Extensible dev console for Meteor
Stars: ✭ 62 (+244.44%)
Mutual labels:  meteor
Grow-IoT
Software packages for smart growing environments.
Stars: ✭ 24 (+33.33%)
Mutual labels:  meteor
meteor-cluster
worker pool for meteor using node js native `cluster` module
Stars: ✭ 18 (+0%)
Mutual labels:  meteor
nativescript-ng2-drawer-seed
Nativescript template project with drawer support
Stars: ✭ 17 (-5.56%)
Mutual labels:  meteor
meteor-editable-text-wysiwyg-bootstrap-3
WYSIWYG extension for babrahams:editable-text package for bootstrap-3 apps
Stars: ✭ 18 (+0%)
Mutual labels:  meteor
raspberry-noaa
Fully automated ISS SSTV, NOAA and Meteor satellite image downloader using Raspberry PI
Stars: ✭ 155 (+761.11%)
Mutual labels:  meteor
chatbot-bootstrap
A bootstrap application for building a web based chatbot
Stars: ✭ 23 (+27.78%)
Mutual labels:  meteor

Unity3D-DDP-Client

A lightweight DDP client for Unity3D. In other words, a library for Unity3D to communicate in realtime with Meteor servers.

I can be used for many things, like account registration, score board, match-making, chat, turn-based games, cooperative tools, etc ...

It may not be a fit for game interactions which require a lot of network data update per second (in which case you may want to use something like UNet instead).

If you are developing for the UWP platform (e.g. for Mixed Reality headsets or XBox) or if you like to use the new .Net 4.6 take a look at the dev branch

Feature list

  • DDP-client:
    • Implementation of the DDP-client protocol version 1.
    • data subscription / notification.
    • method call / response.
    • Uses websocket protocoles ws:// and wss:// to communicate with the server.
    • Does not make assumptions about how to reconnect in case of disconnection. Let the user do it. Example provided.
  • Accounts:
    • Login with username and password, logout.
    • Resume previous session by login using a token.
    • Does not make assumption about how the credentials and loaded and saved, let the user do it instead.
  • Local Database:
    • Is optional.
    • Listens to the DdpConnection and creates collections on demand.
    • Let the user instantiate the database's collection via a callback.
    • Database collections can keep the documents as JSON objects or as custom classes, in which case it let the user provide serialization / deserialization callbacks.
    • Collections can be iterated over, and the user can register to their content's changes.

Getting started

Start the Meteor server

$  curl https://install.meteor.com/ | sh
  • Launch the server:
$ cd example-server
$ meteor

Start one of the Unity3D examples

Read the source code to see how it works and which keys to press.

The code is fairly simple and easy to read, both in the examples and in the library classes.

Stability

The source code is freshly typed and was not fully tested yet. If you find a bug, please file an issue on Github and I will be happy to fix it asap.

The source code is fairly simple, so may you find a bug, a fix should not take very long to implement.

Roadmap

Features to add later:

  • Additional ways to login, maybe using Facebook and Google+.
  • A bigger and complete example project.

Contribute

Contributions are welcome on this project.

Pull requests will be reviewed and may be modified to fit the coding style (i.e. to keep it easy to read).

License

This project is distributed under the MIT license.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].