-
Notifications
You must be signed in to change notification settings - Fork 207
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
Multiplayer + Raycasting? #5702
Comments
@jwunderl Looks like the way the raycasting extension renders the screen doesn't work with how the multiplayer board reads it. |
It looks to me like it plays as expected https://arcade.makecode.com/--multiplayer?host=59169-39428-75390-60169 / nothing clashing between the two, it just looks like another instance of #5113 as this explicitly different views per player to work in a way that supports multiple people playing together; when we have multiple cameras we'd have to have player specific renderables & raycasting should be relatively simple to update to work there in the same way any player specific ui would be done. |
Here's one that repros for me: https://arcade.makecode.com/--multiplayer?host=S27122-90434-15832-10838 |
@bmarslandCN what was your repro case? |
Ah I see, looks like it must have been an older version of the extension in the link I shared, it now digs a bit deeper than I expected and is overriding the actually place where we call into the sim to render: https://github.com/AqeeAqee/pxt-raycasting/blob/master/render_raycasting.ts#L395-L403 I'm not sure I see the benefit in that right away -- it looks like it's done when swapping between top down / raycasting view, but that should work fine to either render directly onto screen or as a renderable without too much change. (But even with that fixed there won't be many things you could implement until there is multi cam, which would also need updates at that point.) |
I believe the multi-cam is what is needed - I made a simple tilemap maze then used the raycast and multiplayer extensions to try creating a multiplayer version, but only one player was able to use the "myself sprite" function to navigate the raycasted tilemap. The other players had blank screens until the raycasted player toggled the view to the regular tilemap, then all players could see and navigate through the tilemap. |
Sounds like a fix should be made in the raycasting extension, if I read that right. |
Hi all ! Sorry for "late reply", I just happened to this. Hi @bmarslandCN @jwunderl
|
Is your feature request related to a problem? Please describe.
This is not a problem, just a future feature request :)
We love the multiplayer extension and we love the raycasting extension, and would love to see multiplayer ability available in a game that uses raycasting in the future!
Describe the solution you'd like
Allow for multiplayer in a game that incorporates raycasting!
Describe alternatives you've considered
We tried using it currently, and it is not possible while in raycasting mode.
Additional context
Thanks for considering our request!
The text was updated successfully, but these errors were encountered: