add a font

This commit is contained in:
ntr
2019-01-19 20:24:19 +11:00
parent 607cb4de1c
commit d102348d91
6 changed files with 28 additions and 21 deletions
+3 -3
View File
@@ -53,9 +53,9 @@ const logX = () => combatWidth() * 0.2;
module.exports = {
TEXT: {
NORMAL: { fontFamily: 'monospace', fontSize: 16, color: '#ffffff' },
LEARNABLE: { fontFamily: 'monospace', fontSize: 12, color: '#ffffff' },
HEADER: { fontFamily: 'monospace', fontSize: 24, color: '#ffffff', fontStyle: 'bold' },
NORMAL: { fontFamily: 'Jura', fontSize: 18, color: '#ffffff' },
LEARNABLE: { fontFamily: 'Jura', fontSize: 18, color: '#ffffff' },
HEADER: { fontFamily: 'Jura', fontSize: 24, color: '#ffffff', fontStyle: 'bold' },
},
POSITIONS: {
+1 -1
View File
@@ -10,7 +10,7 @@ function renderCryps() {
type: Phaser.AUTO,
// backgroundColor: '#181818',
resolution: window.devicePixelRatio,
// antialias: true,
antialias: true,
width: 1600,
height: 1000,
physics: {