FAZA 1: Terrain generation with Perlin noise and isometric view - Ready for testing
This commit is contained in:
20
index.html
20
index.html
@@ -1,5 +1,6 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="sl">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
@@ -10,13 +11,13 @@
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
|
||||
body {
|
||||
background: #000;
|
||||
overflow: hidden;
|
||||
font-family: 'Courier New', monospace;
|
||||
}
|
||||
|
||||
|
||||
#game-container {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
@@ -26,16 +27,25 @@
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="game-container"></div>
|
||||
|
||||
|
||||
<!-- Phaser 3 -->
|
||||
<script src="node_modules/phaser/dist/phaser.js"></script>
|
||||
|
||||
|
||||
<!-- Utilities -->
|
||||
<script src="src/utils/PerlinNoise.js"></script>
|
||||
<script src="src/utils/IsometricUtils.js"></script>
|
||||
|
||||
<!-- Systems -->
|
||||
<script src="src/systems/TerrainSystem.js"></script>
|
||||
|
||||
<!-- Game Files -->
|
||||
<script src="src/scenes/BootScene.js"></script>
|
||||
<script src="src/scenes/PreloadScene.js"></script>
|
||||
<script src="src/scenes/GameScene.js"></script>
|
||||
<script src="src/game.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user