Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Seamless world game #7

Open
NotBad4U opened this issue Nov 2, 2018 · 0 comments
Open

Seamless world game #7

NotBad4U opened this issue Nov 2, 2018 · 0 comments
Labels
question Further information is requested

Comments

@NotBad4U
Copy link
Member

NotBad4U commented Nov 2, 2018

Seamless world game

How do we create a game server that permits unlimited freedom of movement and game play on an expansive map with no apparent boundaries?
We can Implement a variant of the Map-Centric Game Server pattern that subdivides the world map into smaller region maps distributed across a uniform grid. Each region will be manage by a ActorSystem.

ActorSystem servers manage region maps and control all game behavior that occurs on them. Each region map occupies a single cell of the large uniform grid that comprises the entire virtual world map.

Moving Between Maps

To support moving player characters across region map boundaries, we’ll need to:

  • ActorSystem need to know each other and know their location (maybe they need to know only the neighbor)
  • An actor should be responsible to move actor in a another system.
  • Implement support for serializing the player character and all relevant game state

Seeing Across Boundaries

To support the ability for players to see game objects across region map boundaries:

  • Enhance the server visibility system to include game objects on a map adjacent to the player character’s current map that should be visible to that character. This is the subsystem that determines which game objects are visible to each other.
  • This means that the area server for each region map must send position, orientation, and state update messages to the area servers of adjacent maps when game objects are within some visibility threshold of a region boundary.
  • In turn, these adjacent area servers must track these remote game objects in its visibility graph as if they were local, but located beyond the normal map extents.

Game Play Across Boundaries

  1. Implement support for sending game events initiated by a player character or resource on one region map to actors on an adjacent region map’s area server. You must use the virtual actor Introduction of virtual actor  #10 .

  2. the scope of work here could range from player kill another to actor consume a resource.

@NotBad4U NotBad4U added the question Further information is requested label Nov 2, 2018
@NotBad4U NotBad4U mentioned this issue Nov 2, 2018
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant