adjusted speed formula

This commit is contained in:
sam
2024-01-23 12:59:02 +01:00
parent 81b7c82d2a
commit 7f4aa65edb

View File

@@ -254,8 +254,8 @@ function draw() {
// draw background // draw background
background(0, 0, 0, 100); background(0, 0, 0, 100);
ffps = frameRate(); ffps = frameRate();
shotSpeed = ffps / 4; shotSpeed = 1000 / ffps;
playerSpeed = ffps / 14; playerSpeed = 300 / ffps;
if (homescreenOn) { if (homescreenOn) {
homescreen(); homescreen();