-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
39 lines (34 loc) · 891 Bytes
/
index.html
File metadata and controls
39 lines (34 loc) · 891 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<html>
<head>
<title>JumpD</title>
<script src="js/phaser.js"></script>
</head>
<body>
<script src="js/animations.js"></script>
<script src="js/camera.js"></script>
<script src="js/input.js"></script>
<script src="js/Player.js"></script>
<script src="js/ManagePhysics.js"></script>
<script src="js/tileMap.js"></script>
<script src="js/SceneMain.js"></script>
<script>
var scene = new SceneMain()
var config = {
type: Phaser.AUTO,
width: 800,
height: 600,
physics: {
default: 'arcade',
arcade: {
gravity: {
y: 200
}
}
},
pixelArt: true,
scene: scene
};
var Game = new Phaser.Game(config);
</script>
</body>
</html>