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
+2 -1
View File
@@ -3,8 +3,9 @@
<head>
<title>cryps.gg - mnml pvp atbs</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<link rel="stylesheet" href="./node_modules/izitoast/dist/css/iziToast.min.css"></script>
<link href="https://fonts.googleapis.com/css?family=Jura" rel="stylesheet">
</head>
<body>
</body>
+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: {