-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
75 lines (62 loc) · 2.06 KB
/
Copy pathindex.html
File metadata and controls
75 lines (62 loc) · 2.06 KB
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<!DOCTYPE html>
<html lang="en">
<head>
<title>Data Shmup</title>
<meta charset="UTF-8">
<!--<link href="css/style.css" rel="stylesheet">-->
<!--<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.0.0/jquery.min.js"></script>-->
<script>window.jQuery || document.write('<script src="js/lib/jquery-3.0.0.min.js"><\/script>');</script>
<!--<script src="https://cdnjs.cloudflare.com/ajax/libs/phaser/2.5.0/phaser.min.js"></script>-->
<script>window.Phaser || document.write('<script src="js/lib/phaser.min.js"><\/script>');</script>
<!-- Start Game -->
<!-- ... App container object -->
<script src="js/app.js"></script>
<!-- ... Assets -->
<script src="js/actor/player.js"></script>
<script src="js/actor/boss.js"></script>
<script src="js/prefabs/bullet.js"></script>
<script src="js/prefabs/weapons.js"></script>
<!-- ... States -->
<script src="js/state/boot.js"></script>
<script src="js/state/load.js"></script>
<script src="js/state/menu.js"></script>
<script src="js/state/level01.js"></script>
<!-- ... Adding states and booting -->
<script src="js/main.js"></script>
<style>
canvas {
cursor: none !important;
}
</style>
</head>
<body id="stage"></body>
<script>
// function readData(d) {
// var output = '';
// for (var key of d.statuses) {
// output += key.created_at + '<br>'
// }
// return output;
// }
// // AJAX magic
// $.ajax({
// type: 'POST',
// url: 'php/index.php',
// async: true,
// dataType: 'json',
// data: {
// q: '#shmup',
// count: '10',
// until: '2016-07-02'
// },
// })
// .done(function(data) {
// // console.log(JSON.stringify(data));
// console.log(readData(data));
// })
// .fail(function(jqXHR, textStatus, errorThrown) {
// console.log("error");
// console.log('ajax error: ' + textStatus + '\n' + 'errorThrown: ' + errorThrown);
// }); // END AJAX
</script>
</html>