forked from onedayitwillmake/RealtimeMultiplayerNodeJs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
DemoBox2DApp.html
112 lines (95 loc) · 4.02 KB
/
DemoBox2DApp.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
111
<!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> Realtime Multiplayer Node.js </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>
<!-- RealtimeMultiplayer -->
<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/core/AbstractGameView.js"></script>
<script src="js/model/GameEntity.js"></script>
<!--DemoApp-->
<script src="js/DemoBox2D/DemoBox2DApp.js"></script>
<script src="js/DemoBox2D/DemoBox2DConstants.js"></script>
<script src="js/DemoBox2D/DemoBox2DEntity.js"></script>
<script src="js/DemoBox2D/DemoBox2DClientGame.js"></script>
<script src="js/DemoBox2D/DemoBox2DView.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="#">onedayitwillmake</a></li>
<li><a href="#">hikirsch</a></li>
<li><a href="#">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/lib/jquery-1.5.1.js"%3E%3C/script%3E'))</script>
<script src="js/DemoBox2D/script.js"></script>
<!--[if lt IE 7 ]>
<script src="js/libs/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>