adjusted speed formula
This commit is contained in:
@@ -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();
|
||||||
|
Reference in New Issue
Block a user