forked from FOSS/BangleApps
Pong: Keep display on during game
parent
7b59f2f821
commit
4635cd92bc
|
@ -1541,7 +1541,7 @@
|
||||||
"name": "Pong",
|
"name": "Pong",
|
||||||
"shortName": "Pong",
|
"shortName": "Pong",
|
||||||
"icon": "pong.png",
|
"icon": "pong.png",
|
||||||
"version": "0.02",
|
"version": "0.03",
|
||||||
"description": "A clone of the Atari game Pong",
|
"description": "A clone of the Atari game Pong",
|
||||||
"tags": "game",
|
"tags": "game",
|
||||||
"type": "app",
|
"type": "app",
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
0.01: New App!
|
0.01: New App!
|
||||||
0.02: 2 players local + improve ai
|
0.02: 2 players local + improve ai
|
||||||
|
0.03: Keep display on during gameplay
|
||||||
|
|
|
@ -337,6 +337,7 @@ function onFrame() {
|
||||||
ai.show();
|
ai.show();
|
||||||
net();
|
net();
|
||||||
ball.show();
|
ball.show();
|
||||||
|
g.flip()
|
||||||
} else if (state === 3) {
|
} else if (state === 3) {
|
||||||
g.clear();
|
g.clear();
|
||||||
g.setColor(0);
|
g.setColor(0);
|
||||||
|
|
Loading…
Reference in New Issue