redirect folder

switched github pages hosting folder
  https://landgreen.github.io/sidescroller/   ->   https://landgreen.github.io/n-gon/

player damage reduction adjustment: 0.905x -> 0.9x per level per difficulty mode (1,2,4,5)
  on easy that's 0.30 -> 0.28 by level 12 (a 6% player damage nerf)
  on why that's 0.0025 -> 0.001797 by level 12 (a 28% player damage nerf)

you can only get applied science 9->1 time
supply chain - spawns a gun, but doesn't give applied science frequency

bug fixes
This commit is contained in:
landgreen
2024-04-02 20:01:16 -07:00
parent 1728b53921
commit fde3a58efb
5 changed files with 64 additions and 73 deletions

View File

@@ -1627,7 +1627,7 @@ const m = {
ctx.lineTo(m.knee.x, m.knee.y);
ctx.lineTo(m.foot.x, m.foot.y);
ctx.strokeStyle = stroke;
ctx.lineWidth = 6 + 2 * Math.sin(m.cycle * 0.0075 + Math.PI);
ctx.lineWidth = 6 + 2 * Math.sin(m.cycle * 0.01 + Math.PI);
ctx.stroke();
//toe lines
@@ -1650,7 +1650,7 @@ const m = {
ctx.arc(m.foot.x, m.foot.y, 6, 0, 2 * Math.PI);
ctx.fillStyle = "#345";
ctx.fill();
ctx.lineWidth = 3 + 3 * Math.sin(m.cycle * 0.0075 + Math.PI);
ctx.lineWidth = 3 + 3 * Math.sin(m.cycle * 0.01 + Math.PI);
ctx.stroke();
ctx.restore();
}