Discuss Scratch

CRAZEBOY101
Scratcher
6 posts

Mulitplayer Game Issues

So I'm making my first ever online-mulitplayer game on scratch, and I've figured out how to connect players, but I have a few problems that I don't know how to solve:
1. When a player changes direction, the other player/s don't see them switch around, so they just kepp facing one to everyone else, but on that player's screen, they ARE moving.

2. In this game, there's a punching mechanic, where the player plays a little punch animating for about 5 frames. It's the same problem as the first one, where none of the other players are seeing one another go through that animation.

3. I don't know how to get the game to show each player's individual usernames. (Example: above a player's head, it shows their unique scratch username. I also want all the other players to be able to see this)

Thank you so much if you can help me out with these issues!!
when green flag clicked
set [Big brain v] to [true]
say [Woaahhh, I get it now!!] for (2) secs
deck26
Scratcher
1000+ posts

Mulitplayer Game Issues

You don't say what info you're passing via the cloud or how you're handling that. You probably need to pass the current direction or at least a basic 0/1 for left/right if that's enough. The username also needs to be encoded and passed and then it's a case of using a text engine to write the name to screen.

Powered by DjangoBB