Gamepad Massage

Gamepad Massage

Not enough ratings
Gamepad Massage - Solutions + 100% Achievements
By Hanni
Guidance for completing the game and obtaining 100% achievements!
2
   
Award
Favorite
Favorited
Unfavorite
Introduction


Gamepad Massage is a programming game featuring 5 Steam achievements.

Notes
  • You can paste the solutions into the in-game editor by pressing Ctrl + V.
  • Make sure to clear the editor before writing or pasting solutions inside.
  • Achievements might not unlock until closing the game.
  • If the game freezes, use the Task Manager to terminate the process.
Achievements
Newbie
Pass any level.


Graduate
Pass all tutorial levels.


Seeker of the Cyan
Pass all levels.



After launching the game, choose 'Gamepad Message' and compete all levels.



Be Polite
Be polite, and exit through the right way.



Close the game using the red exit button.



Refuse Coding.
Enter pure massage mode.



After launching the game, choose 'Pure Massage Mode'.
Solutions
Tutorial Level 1
var f = function(time){ return "0 0"; };

Tutorial Level 2
var f = function(time){ return "65535 65535"; };

Tutorial Level 3
piggy

Tutorial Level 4
var f = function(time){ return "0 0"; };

Tutorial Level 5
var f = function(time){ return "0 0"; };

Tutorial Level 6
var f = function(time){ return "0 0"; };

Tutorial Level 7
var f = function(time){ var temp = -25000 + time * 5; return "" + temp + " " + temp; };

Tutorial Level 8
var f = function(time){ var temp = 55000 + 10000 * Math.random(); return "" + temp + " " + temp; };

Tutorial Level 9
var f = function(time){ var temp = time * time / 10000; return "" + temp + " " + temp; };

Tutorial Level 10



Level 1 - From left to right, then from right to left, then...
var f = function(time){ return "0 0"; };

Level 2 - That reminds me of sharks.
var f = function(time){ return "0 0"; };

Level 3 - Sin!
var f = function (time) { var temp = Math.sin(time / 1000) * 10000 + 10000; return "" + temp + " " + temp; };

Level 4 - Wide line again.
var f = function(time){ var temp = time + 10000 * Math.random(); return "" + temp + " " + temp; };

Level 5 - Stairs
var f = function(time){ return "0 0"; };

Level 6 - Stairs and another stairs
var f = function(time){ var temp = 5000 * (Math.round(time / 1000) % 1); return "" + temp + " " + temp; }

Level 7 - Another stairs
var f = function(time){ return "0 0"; };

Level 8 - 1/4 circle
var f = function(time){ var temp = Math.sqrt(65535 * 65535 - time * time * 70); return "" + temp + " " + temp; };

Level 9 - A
var f = function(time){ if(time < 5000){ return "0 0"; }else if(time > 15000){ return "0 0"; }else if(time < 7500){ var temp = (time - 5000) * 10; return "" + temp + " " + temp; }else if(time > 12500){ var temp = (15000 - time) * 10; return "" + temp + " " + temp; }else if(Math.random() < 0.5){ return "25000 25000"; }else if(time < 10000){ var temp = (time - 5000) * 10; return "" + temp + " " + temp; }else{ var temp = (15000 - time) * 10; return "" + temp + " " + temp; }; };

Level 10 - E<-
var f = function(time){ if(time < 2000){ return "0 0"; }else if(time < 4000){ return "60000 60000" }else if(time < 6000){ return "10000 10000" }else if(time < 8000){ return "60000 60000" }else if(time < 10000){ return "10000 10000" }else if(time < 12000){ return "60000 60000" }; };

Level 11 - Rolling ball.
var f = function (time) { var temp1 = Math.round((1 + Math.sin(time / 500)) / 2 * 65535); if (temp1 > 65535){ temp1 = 65535; }if (temp1 < 0){ temp1 = 0; }; var temp2 = 65535 - temp1; return "" + temp1 + " " + temp2; };

Level 12 - One, two, one!
var f = function(time){ return "0 0"; };

Level 13 - Bat
var f = function (time) { var temp = (1 + Math.sin(time / 500)) * 30000; if(temp > 50000){ temp = 45000; }else if(temp < 10000){ temp = 15000; }; return "" + temp + " " + temp; };

Level 14 - Sharp
var f = function(time){ return "0 0"; };

Level 15 - Music
var f = function(time){ return "0 0"; };

Level 16 - Fibonacci with Modulo
var f = function(time){ return "100000 100000"; };

Level 17 - 2019-nCoV
var arr1 = new Array(); var func = function(index){ if(arr1[index] > 0){ return arr1[index]; }; arr1[index] = arr1[index - 1] + arr1[index - 2]; return arr1[index]; }; var arr2 = new Array(); var get = function(p){ if(arr2

) return arr2

;
arr2

= arr2[p-1]*1.5;
return arr2

;
};
arr2[0]=1;
var f = function(time){
var temp1 = Math.round(time/200);
var temp2 = get(temp1);
var temp3 = temp2 / 10000;
return "" + temp3 + " " + temp3 ;
};[/code]

20 Comments
Hanni  [author] 6 Sep, 2023 @ 12:52pm 
Thanks @ApochWeiss.ttv, I've updated the guide :)
ApochWeiss.ttv 3 Sep, 2023 @ 3:38pm 
Just a heads up: Level 6 Stairs and more stairs code in Main and > Update above doesn't work. Code:

var f = function(time){
var temp = 5000 * (Math.round(time / 1000) % 10);
return "" + temp + " " + temp;
}


I looked at the deviation and manipulatd the time from 10% to 1% and it worked. Code:

var f = function(time){
var temp = 5000 * (Math.round(time / 1000) % 1);
return "" + temp + " " + temp;
}


Might just be a typo, but figured I'd post the resolution for anyone who may get to this game as late as I did haha
YouGotHitByGunner 19 Dec, 2020 @ 2:09am 
I had an issue with one of the later levels, I contacted Hanni and he immediately jumped in the game and wasted over 30 minutes figuring out what was causing the problem. What an amazing person. Thank you!
チェリーパイ CherryPie 28 Jul, 2020 @ 4:41am 
Thanks! :thumbs:
Hanni  [author] 4 Feb, 2020 @ 4:13pm 
Gern! :ori:
xRaiden 4 Feb, 2020 @ 6:17am 
Danke Hanni! :horns:
Hanni  [author] 5 Feb, 2019 @ 3:55pm 
You are welcome! :metalhorns:
bigh XCX 5 Feb, 2019 @ 3:51pm 
Thanks man. Glad we could figure it out
Hanni  [author] 5 Feb, 2019 @ 3:51pm 
That's very odd! I'll add this information to the guide :)
bigh XCX 5 Feb, 2019 @ 3:48pm 
Ah now it works if I copy from Steam browser directly. Firefox not works