forked from onedayitwillmake/RealtimeMultiplayerNodeJs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
DemoHelloWorld.html
executable file
·111 lines (94 loc) · 4.01 KB
/
DemoHelloWorld.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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
<!doctype html>
<!--[if lt IE 7 ]> <html lang="en" class="no-js ie6"> <![endif]-->
<!--[if IE 7 ]> <html lang="en" class="no-js ie7"> <![endif]-->
<!--[if IE 8 ]> <html lang="en" class="no-js ie8"> <![endif]-->
<!--[if IE 9 ]> <html lang="en" class="no-js ie9"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><! <html lang="en" class="no-js"><![endif]-->
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>RealtimeMultiplayerNodeJs</title>
<meta name="description" content="A realtime authoritative server multiplayer game using Node.js">
<meta name="author" content="Mario Gonzalez">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" href="/favicon.ico">
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
<link rel="stylesheet" href="css/style.css?v=2">
<link rel="stylesheet" href="css/application.css?v=2">
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<!--lib-->
<script src="js/lib/caat.js"></script>
<script src="js/lib/Stats.js"></script>
<script src="js/lib/socket.io.js"></script>
<script src="js/lib/SortedLookupTable.js"></script>
<script src="js/lib/RequestAnimationFrame.js"></script>
<!-- RealtimeMultiplayerNodeJs -->
<script src="js/core/RealtimeMutliplayerGame.js"></script>
<script src="js/model/Point.js"></script>
<script src="js/model/Constants.js"></script>
<script src="js/model/NetChannelMessage.js"></script>
<script src="js/network/ClientNetChannel.js"></script>
<script src="js/core/AbstractGame.js"></script>
<script src="js/core/AbstractClientGame.js"></script>
<script src="js/controller/FieldController.js"></script>
<script src="js/controller/traits/BaseTrait.js"></script>
<script src="js/controller/traits/KeyboardInputTrait.js"></script>
<script src="js/input/Keyboard.js"></script>
<script src="js/model/GameEntity.js"></script>
<!--DemoApp-->
<script src="js/DemoHelloWorld/DemoHelloWorld.js"></script>
<script src="js/DemoHelloWorld/DemoHelloWorldConstants.js"></script>
<script src="js/DemoHelloWorld/CircleEntity.js"></script>
<script src="js/DemoHelloWorld/DemoClientGame.js"></script>
<script src="js/DemoHelloWorld/DemoView.js"></script>
</head>
<body>
<p class="info">Fork this project on <a href="http://github.com">http://github.com</a></p>
<div id="header-container">
<header class="wrapper">
<h1 id="title">RealtimeMultiplayerNode.js</h1>
<nav>
<ul>
<li><a href="http://twitter.com/#!/1dayitwillmake">onedayitwillmake</a></li>
<li><a href="https://twitter.com/#!/hikirsch">hikirsch</a></li>
<li><a href="http://ogilvy.com">ogilvy</a></li>
</ul>
</nav>
</header>
</div>
<div id="main" class="wrapper">
<aside>
<h3>Game Statistics:</h3>
</aside>
<article>
<header>
</header>
<div id="gamecontainer"></div>
<footer>
</footer>
</article>
</div>
<div id="footer-container">
<footer class="wrapper">
<h3>About the demo</h3>
<p>This is a demo of creating an realtime mutliplayer game in HTML5 that uses a client-server approach in which the clients send only sampled input to the server</p>
</footer>
</div>
<!--<p id="jquery-test" href="#" class="info">jQuery is not loaded (http://localhost/ needed)</p>-->
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.js"></script>
<script>!window.jQuery && document.write(unescape('%3Cscript src="js/libs/jquery-1.5.1.js"%3E%3C/script%3E'))</script>
<script src="js/DemoHelloWorld/script.js"></script>
<!--[if lt IE 7 ]>
<script src="js/lib/dd_belatedpng.js"></script>
<script> DD_belatedPNG.fix('img, .png_bg');</script>
<![endif]-->
<script>
var _gaq=[['_setAccount','UA-XXXXX-X'],['_trackPageview']]; // Change UA-XXXXX-X to be your site's ID
(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];g.async=1;
g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';
s.parentNode.insertBefore(g,s)}(document,'script'));
</script>
</body>
</html>