mirror of
https://github.com/photonstorm/phaser
synced 2024-12-11 22:03:09 +00:00
8662cd2fd4
New build script now cleanly splits Phaser, Pixi and p2 so they are each UMD wrapped and each available in the global scope (now more requireJS friendly!). phaser-no-libs.js allows you to use your own version of p2.js or pixi.js with Phaser. Warning: This is totally unsupported. If you hit bugs, you fix them yourself. Fixed silly instanceof bug in game objects (sorry guys).
33 lines
No EOL
868 B
PHP
33 lines
No EOL
868 B
PHP
<!doctype html>
|
|
<html>
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="initial-scale=1 maximum-scale=1 user-scalable=0 minimal-ui" />
|
|
<title>phaser</title>
|
|
<base href="../" />
|
|
<script src="_site/js/jquery-2.0.3.min.js" type="text/javascript"></script>
|
|
<script src="../dist/phaser.js" type="text/javascript"></script>
|
|
<?php
|
|
if (isset($_GET['f']))
|
|
{
|
|
$f = $_GET['f'];
|
|
?>
|
|
<script src="wip/<?php echo $f?>" type="text/javascript"></script>
|
|
<?php
|
|
}
|
|
?>
|
|
<style>
|
|
body {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
|
|
<div id="phaser-example"></div>
|
|
|
|
<p><a href="wip/index.php">Back to index</a></p>
|
|
|
|
</body>
|
|
</html>
|