framerate fix with speeds
This commit is contained in:
@@ -253,6 +253,9 @@ function draw() {
|
||||
gameOver();
|
||||
// draw background
|
||||
background(0, 0, 0, 100);
|
||||
ffps = frameRate();
|
||||
shotSpeed = ffps / 4;
|
||||
playerSpeed = ffps / 14;
|
||||
|
||||
if (homescreenOn) {
|
||||
homescreen();
|
||||
|
Reference in New Issue
Block a user