Making Friends
bearbearmo (106)

Use the WASD keys to move up, left, down and right respectively. There is only one objective to the game, have all the colourful objects overlapping. Feel free to close the game or the browser, your current level will be saved to your computer - no need to do all of those levels again. If you want to restart from the first level click Full Reset button, if you want to retry the current level press F5 or click the Restart Level button. Please comment how far you get, if anyone manages to reach the end I'll make more levels. Good Luck

If you enjoy the game please upvote, also, as with many games Making Friends is not finished if you find any thing you think might be a bug or anything you might like to see added I'll do my best to fix/implement them. Thank you.

Edit -- with requests and recommendations i have added:
a slider to change the speed of the game;
golden coins/moneys/pounds to collect during the game (they're needed to progress from level to level;
automatic reset upon touching a black block

https://making-friends--bearbearmo.repl.co/

You are viewing a single comment. View All
ebest (596)

How did you save the accounts? Also, I was on the last level. 1 gold. I collected 2. Now I'm stuck on the last level forever without restarting.
YOU FORCED ME TO
I restarted

bearbearmo (106)

@ebest

if(Number.isInteger(parseInt(window.localStorage.getItem("speedSave")))){
  slider.value = window.localStorage.getItem("speedSave");
}
else{
  slider.value = 1;
}

if(Number.isInteger(parseInt(window.localStorage.getItem("moneySave")))){
  money = window.localStorage.getItem("moneySave");
}
else{
  money = 10;
}

if(Number.isInteger(parseInt(window.localStorage.getItem("levelSave")))){
  level = window.localStorage.getItem("levelSave");
}
else{
  level = 1;
}

I used window.localStorage whenever something i want to save (speed, money and level) changes I set it in localStorage

slider.oninput = function(){
  window.localStorage.setItem("speedSave", slider.value)
}

function level_up(){
  window.localStorage.setItem("levelSave", level)
}

In hindsight I should have just saved them when you restart the level