Skip to content

Issue with phaser tutorial #838

Closed Answered by endel
AlonsoGD asked this question in Q&A
Mar 14, 2025 · 1 comments · 1 reply

You must be logged in to vote

HI @AlonsoGD, I hope you're doing great!

The tutorials from the docs hasn't been updated to match latest version (0.16) yet. You can check out the sources using version 0.16 here: https://github.com/colyseus/tutorial-phaser/blob/b9459544ab7bf5f907df88edd7f828f51a45a9b6/client/src/scenes/Part1Scene.ts#L43-L45

(The callbacks have been decoupled from the Schema instances on 0.16. I'm still not 100% happy with the callback API - it is now possible to come up with your own callback style if you'd like to, but the default should serve everyone's needs 🙌)

Please let me know if you have any other issues 🙏

Replies: 1 comment 1 reply

You must be logged in to vote
1 reply
@AlonsoGD

Answer selected by AlonsoGD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants