This repository has been archived by the owner on Aug 24, 2022. It is now read-only.
/
Soulcaster.html
88 lines (75 loc) · 2.96 KB
/
Soulcaster.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
<!DOCTYPE html>
<html>
<head>
<title>Soulcaster 1</title>
<link rel="stylesheet" href="../Common/browser.css">
<link rel="stylesheet" href="Soulcaster.css">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
</head>
<body onload="onLoad()">
<script type="text/javascript">
var jsilConfig = {
printStackTrace: false,
webgl2d: true,
winForms: true,
xna: 4,
localStorage: true,
manifests: [
"Soulcaster.exe",
"Soulcaster1Content.contentproj"
],
showProgressBar: true,
showStats: true,
showFullscreenButton: true
};
</script>
<script src="../Libraries/JSIL.js" type="text/javascript"></script>
<!-- 320x240 -->
<canvas id="canvas" width="640" height="480">
</canvas><br>
<div id="welcomeMessage">
<p align="center"><a href="http://jsil.org/"><img src="http://jsil.org/images/jsil_48px.png" alt="JSIL logo" border="0"></a></p>
</div>
<div id="log"><center><span style="font-size: 16pt; text-align: center; display: inline-block">
Use mouse to move and interact with menus.<br>
For best performance, play in <a href="https://www.google.com/chrome">Google Chrome</a>.<br>
</span></center><br></div>
<script type="text/javascript">
var scriptRoot = "";
var libraryRoot = "../Libraries/";
var fileRoot = "Soulcaster1Content/";
var contentRoot = "Soulcaster1Content/";
var assetsToLoad = [
// Used to read the levels
["Script", "TarchonData.XmlSerializers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null.js", { "sizeBytes": 10127 }],
];
function runMain () {
try {
document.getElementById("welcomeMessage").setAttribute("style", "display: none");
} catch (ex) {
}
// Crisp square pixels!
integralFullscreenScaling = true;
// We default the canvas to 2x native framebuffer size, but we want fullscreen scaling to be based on 1x
overrideFullscreenBaseSize = [352, 272]
// Set up the localStorage backend
JSIL.LocalStorage.Initialize("Soulcaster");
// We can't invoke Main() since it disposes the Game immediately, breaking everything.
var asm = JSIL.GetAssembly("Soulcaster", true);
var game = new asm.Tarchon.SoulcasterOne();
game.Run();
};
</script>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-6375004-2']);
_gaq.push(['_setDomainName', '.luminance.org']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</body>
</html>