Git Product home page Git Product logo

ragon-unity-sdk's Introduction

edmand46's github stats

Top Langs

ragon-unity-sdk's People

Contributors

edmand46 avatar olegdzhuraev avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

ragon-unity-sdk's Issues

More than one entity type?

Actually, Room.CreateEntity method receives only IPayload data.
But in callback IRagonHandler.OnEntityCreated we need to know, which game entity data we're received, otherwise we can unpack received payload only to one specific data class.

Please, add support of some entity type id or something like this. :)

Wrong entity id and entity type received in OnEntityCreate method

How to reproduce:

  1. Connect to the server from the first client, and create entity when he has connected.
  2. Connect from the second client. You will receive 0 as entityId instead of actual id. And real entity id as entityType instead of entity type.

Next call of OnEntityCreate method has correct entityId and entityType.

Also possible that this is a server-side issue.

Add RequireComponent for RagonBehaviour

RagonBehaviour scripts can not work without RagonEntity, so it looks like a good idea to add RagonEntity automatically on object, when this object has some RagonBehaviour-deriven component.

What I suggest is to add an attribute:

[RequireComponent(typeof(RagonEntity))]

above RagonBehaviour class.

RagonVector3 default constructor presicion value is too high

In one of RagonVector3 constructors, precision is set to 0.1f, which looks too high because of a huge data loss in case of default world size.
In another constructor of RagonVector3 precision is set to 0.01f, that looks more correct for a default value.
I think, these values should be same in all constructors. :)

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.