41 lines
1.4 KiB
HTML
41 lines
1.4 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en-us">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf8">
|
|
<title>Slope City Unblocked</title>
|
|
<link rel="icon" href="./slope-city-logo.png" />
|
|
|
|
<link rel="shortcut icon" href="unity/favicon.ico">
|
|
<link rel="stylesheet" href="unity/style.css">
|
|
<script>
|
|
window.open = function (url, windowName, windowFeatures) {
|
|
//window.open caught!
|
|
console.log("--fx--window.open--", url, windowName, windowFeatures);
|
|
return false;
|
|
};
|
|
</script>
|
|
<script src="unity/dummy.js"></script>
|
|
<script src="unity/unity-mod.js"></script>
|
|
<script src="unity/UnityProgress.js"></script>
|
|
<script src="Build/UnityLoader.js"></script>
|
|
<script>
|
|
var gameInstance = UnityLoader.instantiate(
|
|
"gameContainer",
|
|
"Build/SlopeCity.json",
|
|
{
|
|
onProgress: UnityProgress,Module:{
|
|
onRuntimeInitialized: function() {
|
|
UnityProgress(gameInstance, "complete")
|
|
}
|
|
}
|
|
});
|
|
</script>
|
|
</head>
|
|
<body style="overflow:hidden; margin:0; padding:0;">
|
|
<div id="gameView" class="webgl-content" style="position: absolute; width: 100%; height: 100%; margin: 0px; padding:0px;">
|
|
<div id="gameContainer" style="width: 100%; height: 100%; margin: 0px; padding:0px;"></div>
|
|
</div>
|
|
</body>
|
|
</html>
|