mirror of
https://github.com/wassname/phaser.git
synced 2026-09-09 11:28:47 +08:00
Phaser now running on iOS. Also fixed a legacy bug where a pending sound wouldn't play once it was touch unlocked. Also fixed Input not working on WebGL contexts. Added WebGL texture updates to the Group/World swap functions.
This commit is contained in:
+1
-5
@@ -26,7 +26,7 @@
|
||||
|
||||
function create() {
|
||||
|
||||
game.world._stage.backgroundColorString = '#182d3b';
|
||||
game.stage.backgroundColor = '#182d3b';
|
||||
|
||||
music = game.add.audio('boden');
|
||||
music.play();
|
||||
@@ -37,15 +37,11 @@
|
||||
}
|
||||
|
||||
function update() {
|
||||
|
||||
s.rotation += 0.01;
|
||||
|
||||
}
|
||||
|
||||
function render() {
|
||||
|
||||
game.debug.renderSoundInfo(music, 20, 32);
|
||||
|
||||
}
|
||||
|
||||
})();
|
||||
|
||||
Reference in New Issue
Block a user