mirror of
https://github.com/wassname/phaser.git
synced 2026-08-18 12:20:33 +08:00
Brand new Grunt task - creates each core library as its own file and a combined phaser.js.
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).
This commit is contained in:
@@ -64,7 +64,10 @@
|
||||
$value2 = substr($value, 0, -3);
|
||||
$file = urlencode($value);
|
||||
|
||||
$output .= "<tr><td><a href=\"wip/index.php?f=$file\">$value2</a></td><td><a href=\"wip/index-fs.php?f=$file\">(full screen)</a></td><td><a href=\"wip/index-cocoon.php?f=$file\">(cocoon)</a></td></tr>";
|
||||
$output .= "<tr><td><a href=\"wip/index.php?f=$file\">$value2</a></td>";
|
||||
$output .= "<td><a href=\"wip/index-lib.php?f=$file\">[ single lib ]</a></td>";
|
||||
$output .= "<td><a href=\"wip/index-fs.php?f=$file\">[ full screen ]</a></td>";
|
||||
$output .= "<td><a href=\"wip/index-cocoon.php?f=$file\">[ cocoon ]</a></td></tr>";
|
||||
}
|
||||
|
||||
return $output;
|
||||
@@ -103,14 +106,9 @@
|
||||
|
||||
<div id="phaser-example"></div>
|
||||
|
||||
<input type="button" id="step" value="step" />
|
||||
<input type="button" id="start" value="start" style="margin-left: 32px" />
|
||||
|
||||
<div style="padding: 32px">
|
||||
|
||||
<h2>work in progress examples</h2>
|
||||
|
||||
<table>
|
||||
<table cellpadding="8">
|
||||
<?php
|
||||
echo printJSLinks('wip', $files);
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user