Skip to content

"wantsFullUpdate" & full/half "EntityDescription" #4

@morfeus87

Description

@morfeus87

Hi,
congratulations for this framework, but especially for having released as open-source.
I'm starting to use your framework for the construction of a multiplayer game (or at least I try).
I did some initial adjustment to adapt the framework to the latest version of socketio.

the "constructEntityDescription" In "GameEntity" allows for "wantsFullUpdate" but then not used within the function.
"If true, Certain Things That are only sent When changed are always sent"
You have commented.

What can I do about this parameter?

Another related problem is that I would send over the network initially and then only when asked for a full "EntityDescription" to initialize the object (bodymass, bodyfriction, geometryWidth, geometryHeight etc. ..)
Then inside the loop send a simple "EntityDescription" that contains only "position, rotation and id .."

  • I have to edit the source of the framework, or is already prepared for this?
  • It is connected with "wantsFullUpdate"?

I hope I was clear and I apologize in advance for my English "google translated"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions