mirror of
https://github.com/photonstorm/phaser
synced 2024-11-23 21:24:09 +00:00
8dcfef8db0
Group.sendToBottom(child) is the handy opposite of Group.bringToTop() Group.moveUp(child) will move a child up the display list, swapping with the child above it. Group.moveDown(child) will move a child down the display list, swapping with the child below it.
33 lines
No EOL
869 B
PHP
33 lines
No EOL
869 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="../build/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>
|