Compare commits
2 Commits
5f653d3252
...
fd85d8cd0f
| Author | SHA1 | Date | |
|---|---|---|---|
| fd85d8cd0f | |||
| 32e884ec36 |
@ -49,8 +49,12 @@ public final class ScorePopup {
|
|||||||
int x = sx - fm.stringWidth(text) / 2;
|
int x = sx - fm.stringWidth(text) / 2;
|
||||||
int baseline = sy; // tune if you want it a tad above the exact point
|
int baseline = sy; // tune if you want it a tad above the exact point
|
||||||
|
|
||||||
|
// g.setColor(Color.WHITE);
|
||||||
|
g.setColor(Color.BLACK);
|
||||||
|
g.drawString(text, x + 1, baseline + 1);
|
||||||
g.setColor(Color.WHITE);
|
g.setColor(Color.WHITE);
|
||||||
g.drawString(text, x, baseline);
|
g.drawString(text, x, baseline);
|
||||||
|
g.drawString(text, x, baseline);
|
||||||
|
|
||||||
g.setComposite(oldComp);
|
g.setComposite(oldComp);
|
||||||
g.setFont(oldFont);
|
g.setFont(oldFont);
|
||||||
|
|||||||
@ -62,6 +62,7 @@ public enum TileType {
|
|||||||
TILE_54(54, true, SpriteLocation.MAP, 4, 9, false ,0),
|
TILE_54(54, true, SpriteLocation.MAP, 4, 9, false ,0),
|
||||||
TILE_55(55, true, SpriteLocation.MAP, 4, 10, false ,0),
|
TILE_55(55, true, SpriteLocation.MAP, 4, 10, false ,0),
|
||||||
LARGE_PELLET(56, false, SpriteLocation.ITEM, 1 ,1,true, 50),
|
LARGE_PELLET(56, false, SpriteLocation.ITEM, 1 ,1,true, 50),
|
||||||
|
TUNNEL(57, false, SpriteLocation.ITEM, 1, 0, true, 10),
|
||||||
EMPTY(99, false, SpriteLocation.NONE, 0, 0, false, 0); // No sprite associated with empty tiles
|
EMPTY(99, false, SpriteLocation.NONE, 0, 0, false, 0); // No sprite associated with empty tiles
|
||||||
|
|
||||||
private final int value;
|
private final int value;
|
||||||
|
|||||||
@ -11,7 +11,7 @@
|
|||||||
99,99,99,99,99,22, 0,15,17,99,99,99,99,99,99,99,99,99,99,15,17, 0,20,99,99,99,99,99
|
99,99,99,99,99,22, 0,15,17,99,99,99,99,99,99,99,99,99,99,15,17, 0,20,99,99,99,99,99
|
||||||
99,99,99,99,99,22, 0,15,17,99,34,35,36,37,38,35,35,39,99,15,17, 0,20,99,99,99,99,99
|
99,99,99,99,99,22, 0,15,17,99,34,35,36,37,38,35,35,39,99,15,17, 0,20,99,99,99,99,99
|
||||||
32,32,32,32,32,33, 0,26,28,99,40,99,99,99,99,99,99,41,99,26,28, 0,31,32,32,32,32,32
|
32,32,32,32,32,33, 0,26,28,99,40,99,99,99,99,99,99,41,99,26,28, 0,31,32,32,32,32,32
|
||||||
0, 0, 0, 0, 0, 0, 0, 0, 0,99,40,99,99,99,99,99,99,41,99, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
57,57,57,57,57,57, 0, 0, 0,99,40,99,99,99,99,99,99,41,99, 0, 0,57,57,57,57,57,57,57
|
||||||
10,10,10,10,10,11, 0, 4, 6,99,40,99,99,99,99,99,99,41,99, 4, 6, 0, 9,10,10,10,10,10
|
10,10,10,10,10,11, 0, 4, 6,99,40,99,99,99,99,99,99,41,99, 4, 6, 0, 9,10,10,10,10,10
|
||||||
99,99,99,99,99,22, 0,15,17,99,42,43,43,43,43,43,43,44,99,15,17, 0,20,99,99,99,99,99
|
99,99,99,99,99,22, 0,15,17,99,42,43,43,43,43,43,43,44,99,15,17, 0,20,99,99,99,99,99
|
||||||
99,99,99,99,99,22, 0,15,17,99,99,99,99,99,99,99,99,99,99,15,17, 0,20,99,99,99,99,99
|
99,99,99,99,99,22, 0,15,17,99,99,99,99,99,99,99,99,99,99,15,17, 0,20,99,99,99,99,99
|
||||||
|
|||||||
|
Reference in New Issue
Block a user