Skip to content

Commit 0a08e1a

Browse files
committed
Removed un-needed file and added SoundManager fix.
1 parent e39073d commit 0a08e1a

4 files changed

Lines changed: 4 additions & 76 deletions

File tree

Phaser/SoundManager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ module Phaser {
111111
var tempSound: Sound = new Sound(this._context, this._gainNode, null, volume, loop);
112112

113113
// this is an async process, so we can return the Sound object anyway, it just won't be playing yet
114-
this.decode(key, () => this.play(key), tempSound);
114+
this.decode(key, () => tempSound.play(), tempSound);
115115

116116
return tempSound;
117117
}

Phaser/system/Sound.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ module Phaser {
5454

5555
this._buffer = data;
5656
this.isDecoding = false;
57-
this.play();
57+
//this.play();
5858

5959
}
6060

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Phaser
22
======
33

4-
Version: 0.9.5 - Released: XXX 2013
4+
Version: 0.9.5 - Released: 2nd May 2013
55

66
By Richard Davey, [Photon Storm](http://www.photonstorm.com)
77

@@ -50,6 +50,7 @@ V0.9.5
5050
* Added TilemapLayer.fillTiles - fills the given region of the map with the tile specified.
5151
* Added TilemapLayer.randomiseTiles - fills the given region of the map with a random tile from the list specified.
5252
* Added fun new "map draw" test - reflect those carrots! :)
53+
* Changed SoundManager class to respect volume on first place (thanks initials and hackmaniac)
5354

5455
Requirements
5556
------------

Tests/Flash.js

Lines changed: 0 additions & 73 deletions
This file was deleted.

0 commit comments

Comments
 (0)