mirror of
https://github.com/wassname/phaser.git
synced 2026-09-12 12:40:47 +08:00
Fixed Firefox audio issue with the Loader and added defined functions for anonymous callbacks
This commit is contained in:
@@ -22,8 +22,10 @@
|
||||
// Finally we set the fill color that is put over the top of the mirror effect.
|
||||
mirror.start(0, 400, new Phaser.Rectangle(0, 0, 800, 400), 'rgba(0, 0, 100, 0.7)');
|
||||
// Experiment with variations on these to see the different mirror effects that can be achieved.
|
||||
mirror.flipX = true;
|
||||
//mirror.flipX = true;
|
||||
//mirror.flipY = true;
|
||||
// The Mirror FX will literally mirror EVERYTHING that was rendered to the camera, in the case of this test it's
|
||||
// just a single image, but when used on a full game it can look really quite neat.
|
||||
game.add.sprite(0, 0, 'backdrop');
|
||||
}
|
||||
function update() {
|
||||
|
||||
@@ -136,6 +136,19 @@ if ($state == false && $mobile == false)
|
||||
<div id="links">
|
||||
<?php
|
||||
$files = dirToArray(dirname(__FILE__));
|
||||
$total = 0;
|
||||
|
||||
foreach ($files as $key => $value) {
|
||||
|
||||
// If $key is an array, output it as an h2 or something
|
||||
if (is_array($value) && count($value) > 0)
|
||||
{
|
||||
$total += count($value);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
echo "<h2>Total Tests: $total </h2>";
|
||||
|
||||
foreach ($files as $key => $value) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user