Client-side Playground is now available! #585
Replies: 4 comments 5 replies
-
Awesome to found this Client-side Playground is now available. |
Beta Was this translation helpful? Give feedback.
-
I was under the impression that this would also show existing rooms, or is this designed with another goal in mind? |
Beta Was this translation helpful? Give feedback.
-
Hello! I'm playing around with Colyseus and I like it so far. Is there a way to share state only partially with a client? Let's say I have Room with locations that needed to be actually reached before client would be able to see what items in there |
Beta Was this translation helpful? Give feedback.
-
Hi @endel , Recently, I have been using colyseus/colyseus as a game server and colyseus/playground to test messages between client-room-server. Displaying schemas is a necessary feature to allow clients (game clients) to know which properties they will use in the schema to make requests and receive corresponding responses. I want to use my code to contribute to the colyseus/playground repository. For those who might want to use a similar feature in the future. Currently, I have only created a pull request here, you can review the code and the attached image. If possible, please let me know the process for contributing to the colyseus/playground repository, including code conventions, etc. I will follow them. Thanks, |
Beta Was this translation helpful? Give feedback.
-
playground.mp4
How to test it
The playground tool is installed by default on new projects created via
npm create colyseus-app
.To manually install on an existing project, please do:
Then, import and bind it to your express app instance:
Your feedback is welcome!
Is there a feature you'd like to see, or an improvement that would make your life easier inspecting/debugging your room implementation?
Beta Was this translation helpful? Give feedback.
All reactions