-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindexSC.html
63 lines (58 loc) · 2.03 KB
/
indexSC.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
<html>
<head>
<title>CCC mini game</title>
<style type="text/css">
@import "http://ajax.googleapis.com/ajax/libs/dojo/1.5/dojo/resources/dojo.css";
@import "http://ajax.googleapis.com/ajax/libs/dojo/1.5/dijit/themes/claro/claro.css";
html, body, .dijitBorderContainer {width: 100%; height: 100%;}
canvas{
outline:0;
border:1px solid #000;
margin-left: auto;
margin-right: auto;
}
</style>
<script type="text/javascript">
var djConfig = {
isDebug: false,
parseOnLoad: true,
baseUrl: './',
modulePaths: { }
};
</script>
<script type="text/javascript"
src="http://ajax.googleapis.com/ajax/libs/dojo/1.5/dojo/dojo.xd.js">
</script>
<script type="text/javascript" src="/libs/uow.js"></script>
<script type="text/javascript" src="raphael.js"></script>
<script type="text/javascript" src="miniGame_raphael.js"></script>
<script type="text/javascript" src="maps/maps2.js"></script>
<script type="text/javascript" src="SC_raphael.js"></script>
<script type="text/javascript">
// kick off the game by creating the object
function main() {
var h1 = Raphael("holder", 500, 500);
var h2 = Raphael("holder", 500, 500);
var s = new seeker(h2, h1);
}
// don't start until everything is loaded
dojo.ready(main);
</script>
</head>
<body>
<form>
X Pos:
<input type="text" id="form1" />
<form>
Y Pos:
<input type="text" id="form2" />
<form>
Number on BG grid:
<input type="text" id="form3" />
<form>
Current Tile:
<input type="text" id="form4" />
<div id="holder">
</div>
</body>
</html>