This is my kajam submission. I hope you like it!
The game is fairly simple, become the hugest player of them all.
Well, it's simple, you have to collect coins that are scattered around the map. Coins make you slower, but make you bigger, make your sword longer, and makes your sword more stronger. You can move around the map with WASD or Arrow Keys!
Collecting coins takes so long, that's why each player comes with a ka-sword. Just kill other players by clicking with your mouse and they will drop all their coins!
Well you have to get huge. Really huge
Well that's all I have to say about this game, the past 1 week has been amazing. Normally I lose motivation for my projects quickly, but kajam kept me going..
"money can do weird things to people" -@Coder100
Anyways, I hope you enjoy Multiplayer Sword.io, See ya!
I MADE A DEVLOG, PLEASE WATCH: https://youtu.be/59mjZehbvHA
I then run "chooseTarget()" until a valid target is found.
I then set an interval (1ms) that first checks if the target is valid (prevent following dead/left server players) then follows them based on the difference between my and their position.
I also set a seperate interval that just spams attack.