Navigation

  • Recent
  • Tags
  • Users
  • Search
  • Login
Colyseus
  • Login
  • Search
  • Recent
  • Tags
  • Users

Documentation GitHub

We're migrating to GitHub Discussions. This forum does not accept new registrations since April 6, 2023.
  1. Home
  2. timothympace
T

timothympace

@timothympace

Chat Follow Unfollow
0
Reputation
1
Posts
450
Profile views
0
Followers
0
Following
Joined 6 Sept 2022, 18:38 Last Online 20 Sept 2022, 17:08

  • Profile
  • More
    • Continue chat with timothympace
    • Flag Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups
timothympace Follow

Posts made by timothympace

Designing a Colyseus app for online & local play

I'd like to use Colyseus app to create an online game server, but I'd also like to support a local co-op mode while reusing any game state logic for the server. Is this possible with Colyseus and any thoughts of how I could about this? I looked into using a custom transport for the Colyseus server, but the JS client assumes that WebSockets will always be used for connection. Is there any subset of the core package that can be reused client side in the browser? Wondering if I can create a custom "local" room that leverages the server room & schema code in the browser.

Maybe this is just outside the scope of Colyseus and I should be designing game logic outside of the Colyseus framework and keeping a thin interface between it and the Room/Schema code.

Thoughts?

posted in Questions & Help • 6 Sept 2022, 18:47

© 2023 Endel Dreyer