8000 lower fps in example-sprite · GameJs/gamejs@608dc10 · GitHub
[go: up one dir, main page]

Skip to content

Commit 608dc10

Browse files
committed
lower fps in example-sprite
1 parent 2ae1b75 commit 608dc10

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/example-sprite/main.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* A bare bones Sprite and sprite Group example.
33
*/
4-
4+
55
var gamejs = require('gamejs');
66

77
/**
@@ -50,7 +50,7 @@ function main() {
5050
gShips.update(msDuration);
5151
gShips.draw(mainSurface);
5252
};
53-
gamejs.time.fpsCallback(tick, this, 30);
53+
gamejs.time.fpsCallback(tick, this, 15);
5454
}
5555

5656
/**

0 commit comments

Comments
 (0)
0