From 3ff4151fbd393be2eecafcce6dc89894b31ff55e Mon Sep 17 00:00:00 2001 From: John Alanbrook Date: Wed, 31 May 2023 15:40:35 +0000 Subject: [PATCH] test --- config.js | 2 +- startmenu.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config.js b/config.js index 71c9c8b..2a60c83 100644 --- a/config.js +++ b/config.js @@ -152,7 +152,7 @@ var paddle = gameobject.clone("paddle", { var xdiff = hit.pos.x - this.pos.x; // if (Math.sign(xdiff) === Math.sign(hit.obj.velocity)) return; var oldvel = hit.obj.velocity; - var scaler = Math.max(Math.abs(xdiff)/30, 1); + var scaler = Math.max(Math.abs(xdiff)/30, 1.05); hit.obj.velocity = hit.obj.velocity.scale(scaler); }, }); diff --git a/startmenu.js b/startmenu.js index 2bd1097..c1c2825 100644 --- a/startmenu.js +++ b/startmenu.js @@ -1,11 +1,11 @@ function startmenu() { GUI.column([ - GUI.text.bind(this,"Press uyyyyy start"), + GUI.text.bind(this,"Press ENTER start"), GUI.image.bind(this,"bigball.png"), GUI.text.bind(this,"Press ESCAPE to exit"), ], Window.dimensions.scale(0.5)); -// GUI.image("bigball.png", [0,0]); + GUI.image("bigball.png", [300,300]); } register_gui(startmenu);