Commit graph

7306 commits

Author SHA1 Message Date
Pavle Goloskokovic
dd17f6083f moved sounds array declaration above other properties 2017-11-16 16:04:07 +01:00
Pavle Goloskokovic
372983a7e4 defined rate property on WebAudioSoundManager prototype
and _rate field to actually hold that value
2017-11-16 15:44:56 +01:00
Pavle Goloskokovic
716a1d4652 updated field descriptions for BaseSoundManager class 2017-11-16 15:23:35 +01:00
Pavle Goloskokovic
e38adfed79 updated description for rate property for BaseSound class
setting rate value when applying config
2017-11-16 15:23:04 +01:00
Pavle Goloskokovic
15367e813d defined rate property on WebAudioSound prototype 2017-11-16 15:21:57 +01:00
Pavle Goloskokovic
e7177c5731 handling the case when only config object is passed to the play method 2017-11-16 14:54:08 +01:00
Pavle Goloskokovic
5796cd4bc8 moved setting current config reference before setting default values in BaseSound class 2017-11-16 14:29:28 +01:00
Pavle Goloskokovic
77880d1352 added missing methods to WebAudioSound class 2017-11-16 14:23:04 +01:00
Pavle Goloskokovic
872d93b788 moved validation ad marker logic from WebAudioSound class play method to BaseSound class play method 2017-11-16 14:19:04 +01:00
Pavle Goloskokovic
4c85ed62fe Merge remote-tracking branch 'origin/master' 2017-11-16 13:32:49 +01:00
Pavle Goloskokovic
25bd3816c7 added applyConfig method to BaseSound class and calling it inside of WebAudioSound class play method 2017-11-16 13:32:35 +01:00
Twilrom
c304957714 Bugfix in DataStore 2017-11-16 13:17:06 +01:00
Twilrom
2b9c0f4cd3 Bugfix in deleteAll 2017-11-16 13:17:06 +01:00
Twilrom
6a38244bbe This should probably use "removeAttribute", and we need to use typeof to check if a variable exists. 2017-11-16 13:17:06 +01:00
Twilrom
0770172664 Fix weird else statement 2017-11-16 13:17:06 +01:00
Pavle Goloskokovic
928487f7b1 setting current config value in property setters for WebAudioSound class 2017-11-16 13:09:43 +01:00
Michael Hadley
efae7f5796 DynamicTilemapLayer updates that should have been in the last commit 2017-11-15 20:16:43 -06:00
Michael Hadley
355d9accf3 More tilemap & layer fun: Copy, FIll, Randomize, Shuffle, GetTilesWithin
Note: methods that mutate the tiles are not installed on StaticTilemapLayer
2017-11-15 20:06:07 -06:00
Michael Hadley
db5cab8494 Fix: wrong sign for canvas translation 2017-11-15 19:15:12 -06:00
Richard Davey
1ac94f0aba Merge branch 'master' of https://github.com/photonstorm/phaser 2017-11-16 00:42:11 +00:00
Richard Davey
ccb2878102 Physics Group now added to the update list properly 2017-11-16 00:42:03 +00:00
Michael Hadley
b714e2afdf Add methods for looping over & accessing groups of tiles to map & layers 2017-11-15 16:36:41 -06:00
Michael Hadley
74842aae1d Tilemap & Layers: hasTileAt & better naming 2017-11-15 15:28:15 -06:00
Michael Hadley
1be6847a87 Tilemap: better naming, currentLayer -> currentLayerIndex 2017-11-15 15:05:11 -06:00
Michael Hadley
48f1e60743 Tilemap: reorder and add get/set layer 2017-11-15 14:55:26 -06:00
Michael Hadley
84a86ae0f7 Share GetTileAt across tilemap layers and tilemap 2017-11-15 13:50:56 -06:00
Felipe Alfonso
c3b31d7843 Small fix on BitmapMask rendering 2017-11-15 15:04:51 -03:00
Pavle Goloskokovic
165ce9011b updated logic for using correct config when playing sound for WebAudioSound class 2017-11-15 18:12:11 +01:00
Pavle Goloskokovic
05d131236c reversed the order of mute and volume logic to make code more consistent for WebAudioSoundManager class 2017-11-15 17:49:23 +01:00
Pavle Goloskokovic
18aa1653eb reversed the order of mute and volume logic to make code more consistent for WebAudioSound class 2017-11-15 17:37:22 +01:00
Pavle Goloskokovic
0363116383 updated BaseSound fields docs
updated sound config initialization
2017-11-15 17:26:20 +01:00
Felipe Alfonso
62b2cad911 Geometry Mask Rendering 2017-11-15 13:09:07 -03:00
Pavle Goloskokovic
f11dcf3979 added source field for WebAudioSound class 2017-11-15 16:55:13 +01:00
Pavle Goloskokovic
2d91fe2d14 defined mute property on WebAudioSound prototype 2017-11-15 16:14:04 +01:00
Pavle Goloskokovic
049dd4aada properly connect nodes for WebAudioSound class 2017-11-15 16:03:40 +01:00
Pavle Goloskokovic
9381ab0305 added muteNode field for WebAudioSound class 2017-11-15 16:02:11 +01:00
Pavle Goloskokovic
18ca26e50b defined volume property on WebAudioSound prototype
connected properly WebAudioSound nodes
2017-11-15 15:58:38 +01:00
Pavle Goloskokovic
c4f09de225 added volumeNode field for WebAudioSound class 2017-11-15 15:42:37 +01:00
Pavle Goloskokovic
6811ba56a5 defined mute property on WebAudioSoundManager prototype 2017-11-15 15:31:24 +01:00
Pavle Goloskokovic
7a3b288219 added masterMuteNode field for WebAudioSoundManager class 2017-11-15 15:20:01 +01:00
Pavle Goloskokovic
e5a5ee847f defined volume property on WebAudioSoundManager prototype 2017-11-15 15:11:37 +01:00
Pavle Goloskokovic
3820e75a5a added destination property to WebAudioSoundManager class
setting destination to be master volume node and connecting mater volume node to context destination
connecting individual sounds to manager destination node instead of context destination
2017-11-15 14:46:12 +01:00
Pavle Goloskokovic
11c3b0a057 Merge remote-tracking branch 'origin/master' 2017-11-15 14:38:54 +01:00
Pavle Goloskokovic
031f40999e added masterVolumeNode to WebAudioSoundManager class 2017-11-15 14:38:45 +01:00
Michael Hadley
6d1b17258b Add flip capability to dynamic webgl & canvas tilemap renderers 2017-11-14 20:45:05 -06:00
Michael Hadley
6f4f571f98 Canvas tilemap layers: add alpha support 2017-11-14 16:13:07 -06:00
Michael Hadley
ece0bf7811 Tilemap layers WIP - both layers now use new Tile class 2017-11-14 15:35:18 -06:00
Michael Hadley
13ded52c6b New Tile class to be shared across static and dynamic layers 2017-11-14 15:34:33 -06:00
Michael Hadley
3f08689c44 Tilemap parsers: remove width & height parameters since they are inferred 2017-11-14 15:33:13 -06:00
Michael Hadley
bf19553135 Tilemap parsers: add ability to insert null instead of blank tile 2017-11-14 15:02:19 -06:00