Development has moved to my main account @Adzboy: https://scratch.mit.edu/projects/834396466/ Move with the arrow keys There is no point to this, it is just a proof of concept engine. You can remix (with credit to @Adzboy) to turn it into your own game! This project also contains a completely custom data encoder and decoder, allowing the transfer of more than just numbers through cloud variables. This system can be used for many purposes although, in this example it is used to encrypt a username into numbers and then send those numbers to the other player where it is decrypted and displayed Players may start in corners of the screen, just move into view to play. If you cannot connect then try refreshing the project. If you are logged out or a new Scratcher then this will not work. Project changes or maintenance may also cause this project not to function correctly or may cause some variables to show strange values or no values at all.
Releases and Patch Notes: V1.0 (19.02.23): Initial release V1.1 (19.02.23): Fixed Audio Bug and refined code V1.2 (19.02.23): Increased Smoothness of online play V1.3 (19.02.23): Added Music V2.0 (19.02.23): Now shows your player identification number (Player 1 or 2) and username. V3.0 (19.02.23): Now includes opponent username. This is achieved by encrypting data which is stored as a cloud variable then decrypted by the server. This may take a short while to update. In addition, because the variable is not cleared (yet) it may show a username of the last player active in the opposite player slot to you even if they are not active now. Refer to the intro screen before play begins for number of players on the server at that time. V2.0 (19.02.23): Decreased time between encrypted data being encrypted from every 10 seconds to every 5 seconds. This will allow for faster updating but may cause lag or bugs. Any issues should be reported in the comments. Planned Updates: Add a system which would clear the opponent variable on the cloud server every once in a while to prevent a certain bug meaning that the incorrect user may be displayed as the opponent Some credit to the Scratch Wiki for base connection system (although improved and refined it) Engine Developed by CREDIT IS NOT OPTIONAL