Giter Club home page Giter Club logo

lockstep.io's People

Contributors

austinkettner avatar johncvieira avatar lajt 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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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

lockstep.io's Issues

TypeError: Cannot read property 'sync' of undefined

Error

I ran the script, and added the LockstepIOComponent.cs script to my player, however as soon as I start the game this is the error that I get:

Lockstep.IO: Listening on port 80!
Connect to Unity locally with the following URL:
ws://127.0.0.1:80/socket.io/?EIO=4&transport=websocket
connected: hQmBePaV7tEQFLedAAAA
connected: BQbQBFQPNMbg-yX9AAAB
{ localNow: 396, offset: 0, roundTrip: 0, lockstep: 396 }
{ localNow: 400, offset: 0, roundTrip: 0, lockstep: 400 }
{ localNow: 404, offset: 0, roundTrip: 0, lockstep: 404 }
{ localNow: 408, offset: 0, roundTrip: 0, lockstep: 408 }
{ localNow: 412, offset: 0, roundTrip: 0, lockstep: 412 }
disconnected: hQmBePaV7tEQFLedAAAA
/Users/zoe/Foundry10/home/server2d/node_modules/lockstep.io/nodejs/lockstep.io.js:45
					socket.emit('lockstep.io:sync', {t0: ntp.t0, t1: ref.sockets[ref.host].sync.localNow});
					                                                                      ^

TypeError: Cannot read property 'sync' of undefined

Info

  • My game is in 2D
  • I am using NodeJS version v7.10.0
  • I am using Unity 5.6.0f3 Personal
  • I am using a mac
  • I am running the script with sudo powers.

I love the idea and if I can get it working it would be the best unity networking solution.

README' "what is deterministic lockstepping" section last paragraph cuts off?

The last paragraph of "Technical Discussion: What is Deterministic Lockstepping?" section is

A Deterministic Physics Simulation, where there is literally zero fuziness and even the random number generators are seeded together can in turn reveal

which seems like an unintended ending. Was it forgotten during editing?

Overall curious stuff, I should say. Stumbled upon one of your posts on Reddit while searching whether Unity3D' physics could be made deterministic or not. Quite a shame really, especially given that Unity seems to be using some variant of Box2D for 2D physics, and Box2D is originally somewhat deterministic (at least as per binary+platform combinations).

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.