--------------------------------Controls--------------------------------- Arrow keys to move Shift + click flag to turn on turbo mode (runs faster) --------------Welcome to My First Cloud Engine!--------------- I have been working on this project on and off for a couple days now and I could not be more happy to see that it actually works! This is my first version so expect bugs and point them out in the comments if you want. ----------------------Nerdy Technical Stuff-------------------------- Adapting for your own use: This project was not coded to be versatile and adaptable to anyone's cloud storage needs, by this I mean that the only values that are stored in the cloud are X, Y, Direction, and username. Adding another variable such as Z, would take a bit of work. How it works: First, the project "connects" to the cloud by checking for other players and uses that to determine its Player ID. for example, if the player 1 slot is full, but the player 2 slot is not, you will be assigned the player 2 slot. All of your data will be transferred through the 2nd cloud variable. Once connected, 5 main steps are repeated: 1. variable format, this basically means that the variables, such as x and y, are prepped for a cloud variable format. for example: if x is = -43, then it will be formatted into 1043 (the 1 in the front represents a negative. if it were positive then it would be lead by 2) 2. The username is encrypted using my double digit encrypter that I shared a while ago 3. The formatted x, y, direction, and encrypted username are smashed into one long number. for example: Formatted x = 1043, y = 2127, direction = 2090, encrypted user = 101112. Final data = 104321272090101112 4. Our data (example above) is uploaded to a cloud variable 5. now that we have shared our cloud data to other players, we have to interpret their cloud data (yay more complexity -_-) I will not go into detail on this process, but basically steps 1 - 3 are repeated in reverse to convert cloud data format into useable variables (x, y, etc.) Those last five steps are repeated in a forever loop to constantly update player positions. Congrats! you have now made a cloud engine in five easy steps (I write this with a headache from hardcore coding earlier today lol) If you are reading this, you survived the nerdy technical stuff section! I hope you learned something from this project. I put a lot of work into these projects so a heart and Star would be greatly appreciated :) As always, happy coding :) - master-0-code
------------------------------CREDITS--------------------------------- Code: master-0-code Art: master-0-code, some from the scratch sprite library Sounds: Scratch sound library Attention remixers please give credit :)