SCRATCH MULTIPLAYER PLATFORMER + CLOUD 3-8
- Views
- 1.3K
- Likes
- 9
- Comments
- 0 comments
- Shares
- 0
- Saves
- 2
Show more details Subtitles, video quality and playlist
Transcript
Through eight. And without going back into the other sprite, create a new variable. Oh, my! This purple and blue is a little clashing. And we add cloud one back into our project. Remember to Mark it as a cloud variable. Brilliant. And of course, do the same for cloud two. 3, 4, 5, 6, 7 and cloud eight. All cloud parabolas. And as long as you delete and create them from the stage, none of the other Sprite parabolas get messed up, and everything will work as expected. Great. Hide all them vulnerable reporters and find those orphaned game loop scripts we prepared a moment ago. Those are the ones we want to copy into the main player Sprite now. So drag them over and the fun begins. Click into the player's flight and let's see where these new scripts should go. Well, the initial broadcaster to set up the Cloud Scripts should only run once, so we'll drop that under the when green flag clicked. But before we launch the main menu. This leaves us with the scripts that record the player's position and broadcast. To run the cloud scripts, these will need to go into the main game loop. So bring them down. Here's the main game loop. As you can see, we already have a forever loop here. We can transfer our scripts over to the existing one. We just want to ensure we broadcast cloud tick after moving the player. But before that tick, last Broadcast. Splendid. That's the initial integration complete. And so it's already testing time. Make sure the project is saved, and from the project page, size the window to the left side of the screen. Then we're gonna duplicate the tab and pop it over to the right. This makes testing easy. Okay, running the left project. Good. And the right project. Cool. Wow. Oh, my. Have my scratch cat just swelled in size. Yeah. So there was a