-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c632e4a
commit b8cedd6
Showing
10 changed files
with
116 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<link rel="icon" type="image/x-icon" href="/img/newlogo.png" /> | ||
<!-- Google tag (gtag.js) --> | ||
<script | ||
async | ||
src="https://www.googletagmanager.com/gtag/js?id=G-XXGG6SJL6H" | ||
></script> | ||
<script> | ||
window.dataLayer = window.dataLayer || []; | ||
function gtag() { | ||
dataLayer.push(arguments); | ||
} | ||
gtag("js", new Date()); | ||
|
||
gtag("config", "G-XXGG6SJL6H"); | ||
</script> | ||
<meta charset="utf-8" /> | ||
<meta http-equiv="x-ua-compatible" content="ie=edge" /> | ||
<meta | ||
name="viewport" | ||
content="initial-scale=1, maximum-scale=1, user-scalable=no, shrink-to-fit=no" | ||
/> | ||
<title>Vex 5</title> | ||
<link rel="stylesheet" href="assets/css/app.css" type="text/css" /> | ||
<script type="application/javascript" src="/js/main.js"></script> | ||
<link rel="icon" href="vex.jpeg" /> | ||
</head> | ||
<body> | ||
<div id="content"></div> | ||
<div id="loader">Loading...</div> | ||
<div id="orientation"></div> | ||
<script type="text/javascript"> | ||
var gameName = "vex-5.min.js"; | ||
|
||
//This all here is for cache busting; | ||
function addScript(src, buster, callback) { | ||
var s = document.createElement("script"); | ||
s.setAttribute("src", src + "?v=" + buster); | ||
if (typeof callback === "function") { | ||
s.onload = callback; | ||
} | ||
document.body.appendChild(s); | ||
} | ||
|
||
addScript("version.js", Date.now(), function () { | ||
addScript(gameName, version, function () { | ||
// Here we create the game | ||
new Vex5.Game(); | ||
}); | ||
}); | ||
</script> | ||
<script src="/html/settings/js/index.js"></script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
/*! | ||
* phaser-cachebuster - version 2.0.0 | ||
* Simple Phaser plugin for adding a query parameter to assets URL's so that they can be 'cache busted' | ||
* | ||
* Azerion | ||
* Build at 15-03-2019 | ||
* Released under MIT License | ||
*/ | ||
|
||
var __extends=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},PhaserCachebuster;!function(a){var b=function(a){function b(b,c){var d=a.call(this,b,c)||this;return d.patchLoader(),d}return __extends(b,a),b.prototype.patchLoader=function(){Object.defineProperty(Phaser.Loader,"cacheBuster",{value:null}),Phaser.Loader.prototype.transformUrl=function(a,b){return a?(null!==this.cacheBuster&&null===a.match(/^(data:)/)&&(a+="?v="+this.cacheBuster),a.match(/^(?:blob:|data:|http:\/\/|https:\/\/|\/\/)/)?a:this.baseURL+b.path+a):""}},b}(Phaser.Plugin);a.CacheBuster=b}(PhaserCachebuster||(PhaserCachebuster={})); |
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
version="tc-28"; | ||
libs=["./phaser-cachebuster.min.js","./phaser-input.min.js","./phaser-nineslice.min.js","./phaser-spine.min.js","./phaser-super-storage.min.js"]; |
Large diffs are not rendered by default.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.