It will only work if you are a scratcher Use WASD to move Use the arrow keys to shoot Press Z to say Hello! Press X to say Bye! The blue squares are other people The green square is you The red circles are enemies Enemies will have a shield for 3 seconds on spawn to prevent spawnkilling If an error occurs you will get a message. Please notify me in the comments if you do and tell me what you did for it to appear. If it shows when you join, it is likely 2 players are already playing.
All code made by me --- V0.13 (A bunch of bug fixes, highscore added, enemies can no longer collide with each other) Credit to Ataxaos for helping me fix the enemies in multiplayer! Credit to cooking101 for helping me out by testing if the basic multiplayer function works! They helped a ton! If there isn't another player, the game will test to see if one has joined every couple seconds. To come: - More communication options - Fix the bug where when an object's X or Y = 0 they dissapear quickly - More waves of enemies (I need to think of an algorithm that increases the length of enemyData cloud variable depending on how many enemies there are. I could make more waves without this, but it is much more time consuming) - Queue for multiplayer and spectator mode (I will make this if this game becomes popular at any point) What I want this game to be: A co-op shooter where you fight off waves of AI enemies. I am not sure if I am capable of it though, this is my first time making a multiplayer game or doing anything complex with cloud variables. Otherwise, feel free to remix and use this base of a multiplayer game to make your own :D