Skip to main content
added 93 characters in body
Source Link
acheo
  • 111
  • 4

check out http://browserquest.mozilla.org/ as a reference model. it uses node for the backend.

They use setTimeout on server side classes e.g character, mob, player. Messages are sent client-server client-server (move, attack etc) and server-client server-client (move,spawn,damage etc). There are client and server side versions of classes for major entities in the game world. Numeric constantsNumeric constants are used to keep messages light.

Source: https://github.com/mozilla/BrowserQuest

check out http://browserquest.mozilla.org/ as a reference model. it uses node for the backend.

They use setTimeout on server side classes e.g character, mob, player. Messages are sent client-server (move, attack etc) and server-client (move,spawn,damage etc). There are client and server side versions of classes for major entities in the game world. Numeric constants are used to keep messages light.

Source: https://github.com/mozilla/BrowserQuest

check out http://browserquest.mozilla.org/ as a reference model. it uses node for the backend.

They use setTimeout on server side classes e.g character, mob, player. Messages are sent client-server (move, attack etc) and server-client (move,spawn,damage etc). There are client and server side versions of classes for major entities in the game world. Numeric constants are used to keep messages light.

Source: https://github.com/mozilla/BrowserQuest

added 93 characters in body
Source Link
acheo
  • 111
  • 4

check out http://browserquest.mozilla.org/ as a reference model. it uses node for the backend.

They use setTimeout on server side classes e.g character, mob, player. Messages are sent client-server (move, attack etc) and server-client (move,spawn,damage etc). There are client and server side versions of classes for major entities in the game world. Numeric constants are used to keep messages light.

Source: https://github.com/mozilla/BrowserQuest

check out http://browserquest.mozilla.org/ as a reference model. it uses node for the backend.

They use setTimeout on server side.

Source: https://github.com/mozilla/BrowserQuest

check out http://browserquest.mozilla.org/ as a reference model. it uses node for the backend.

They use setTimeout on server side classes e.g character, mob, player. Messages are sent client-server (move, attack etc) and server-client (move,spawn,damage etc). There are client and server side versions of classes for major entities in the game world. Numeric constants are used to keep messages light.

Source: https://github.com/mozilla/BrowserQuest

Source Link
acheo
  • 111
  • 4

check out http://browserquest.mozilla.org/ as a reference model. it uses node for the backend.

They use setTimeout on server side.

Source: https://github.com/mozilla/BrowserQuest