add a font
This commit is contained in:
+2
-1
@@ -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>
|
||||
|
||||
@@ -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: {
|
||||
|
||||
@@ -10,7 +10,7 @@ function renderCryps() {
|
||||
type: Phaser.AUTO,
|
||||
// backgroundColor: '#181818',
|
||||
resolution: window.devicePixelRatio,
|
||||
// antialias: true,
|
||||
antialias: true,
|
||||
width: 1600,
|
||||
height: 1000,
|
||||
physics: {
|
||||
|
||||
Reference in New Issue
Block a user