-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
65 lines (60 loc) · 2.14 KB
/
index.html
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
<html>
<head>
<title>Pine - Open Source game</title>
<link rel="stylesheet" type="text/css" media="all" href="assets/css/main.css" />
<link rel="icon" href="favicon.ico" type="image/x-icon" />
<!--<link href="//netdna.bootstrapcdn.com/font-awesome/4.0.0/css/font-awesome.css" rel="stylesheet">-->
<link rel="stylesheet" type="text/css" media="all" href="assets/font-awesome-4.0.0/css/font-awesome.min.css" />
</head>
<body>
<div align="center"><img src="assets/img/logo.png" alt="Pine" border="0" /></div>
<p align="center" id="loading"><i class="fa fa-spinner fa-spin fa-5x"></i></p>
<div id="container"></div>
<p style="text-align:center">
<small>
WASD or arrows to move • t or enter for chat • <a href="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/Open-RPG/pine-client">Fork on Github</a><br />
Using <a href="https://sheetengine.codeplex.com">sheetengine</a> and <img src="assets/img/node.png" alt="Node.js" style="vertical-align:middle; padding-bottom: 9px;" />
</small>
</p>
<script src="assets/js/require_2_1_8.js"></script>
<!--
Now we have the option to go for development or production versions
Simple add a <!-- before the <script> for the version you don't want
-->
<!-- Production version -->
<!--
<script type="text/javascript" src="build/pine-0.0.1.js"></script> <!-- Leave this here -->
<!-- Development version -->
<script type="text/javascript">
// Remember to update build-config.js too
require.config({
baseUrl: 'assets/js/',
paths: {
'app' : 'app',
'socket': "socket.io",
'jquery': "jquery-2.0.3.min",
'main': "pine/main",
'chat' : 'pine/chat',
'map' : 'pine/map',
'tree' : 'pine/tree',
'character' : 'pine/character',
'sheetengine': "sheetengine-src-1.2.0",
'gui' : 'pine/gui'
},
shim: {
'sheetengine': {
'exports': 'sheetengine'
},
}
});
</script><!-- Leave this here -->
<!-- App starter (Common to production/development) -->
<script type="text/javascript">
require(["app"],function(App){
var game = document.getElementById('container');
// Launch
App.init(game, {w:900,h:500});
});
</script>
</body>
</html>