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
Pavle Goloskokovic
70a07ed793
fixed reference issue
...
added default value for WebAudioSound constructor config
2017-11-14 20:09:44 +01:00
Pavle Goloskokovic
82bcaaf6ca
Merge remote-tracking branch 'origin/master'
2017-11-14 19:35:38 +01:00
Pavle Goloskokovic
2ad39a9a47
added play method to WebAudioSound class
2017-11-14 19:35:18 +01:00
Pavle Goloskokovic
57c602de7f
added audio buffer property to WebAudioSound class
...
printing error if audio with provided key is not present in cache
updating config duration property based on audio buffer duration
2017-11-14 19:30:51 +01:00
Felipe Alfonso
0b91a9e95d
Fix RenderPass render target binding
2017-11-14 14:30:34 -03:00
Pavle Goloskokovic
cae01aacf1
added add method to WebAudioSoundManager class, put super constructor call at the top
2017-11-14 17:35:44 +01:00
Pavle Goloskokovic
2a5326f7a8
Merge remote-tracking branch 'origin/master'
2017-11-14 17:22:10 +01:00
Pavle Goloskokovic
ca1b81ae12
added sounds array initialisation
2017-11-14 17:21:58 +01:00
Richard Davey
a4eac003f6
Merge branch 'master' of https://github.com/photonstorm/phaser
2017-11-14 16:06:58 +00:00
Richard Davey
97efeff751
Removed the Pool classes and Manager as Group can now take on this role
2017-11-14 16:06:56 +00:00
Pavle Goloskokovic
8bc6979c73
swapped properties initialization and base constructor call
2017-11-14 16:49:01 +01:00
Pavle Goloskokovic
98b51cea3d
added WebAudioSound class
2017-11-14 16:27:22 +01:00
Pavle Goloskokovic
ced54044e9
added return value to BaseSound addMarker method
2017-11-14 16:26:52 +01:00