Commit graph

7129 commits

Author SHA1 Message Date
Pavle Goloskokovic
928487f7b1 setting current config value in property setters for WebAudioSound class 2017-11-16 13:09:43 +01: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
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
Pavle Goloskokovic
22a4dac09c Merge remote-tracking branch 'origin/master' 2017-11-14 16:00:42 +01:00
Pavle Goloskokovic
b5db604ae6 added BaseSound class 2017-11-14 16:00:24 +01:00
Richard Davey
ac4f05bc6e Large Group refactor (which will break lots of examples)
Removed all of the Action helpers. It just bulks the class out and you can call them directly with Phaser.Actions anyway. Also added Pool support so you can now easily use a Group as an object pool, with fast recycling, creation, seeding and max sizes.
2017-11-13 23:32:14 +00:00
Richard Davey
b869618fb3 UpdateList returns the child added and checks before insertion 2017-11-13 23:31:13 +00:00
Pavle Goloskokovic
d43eb0de50 added basic methods and properties to the BaseSoundManager class 2017-11-13 19:39:32 +01:00
Felipe Alfonso
812638a966 BitmapMask WebGL Rendering Working 2017-11-13 14:21:34 -03:00
Richard Davey
3a9f663296 Beta 10 tag. 2017-11-13 12:27:52 +00:00
Pavle Goloskokovic
7d33534323 passing audio context to AudioFile constructor instead of sound manager 2017-11-13 13:19:07 +01:00
Richard Davey
3a14d6600e Merge branch 'master' of https://github.com/photonstorm/phaser 2017-11-13 01:04:48 +00:00
Richard Davey
a40f566a47 Exposed Arcade Physics in the namespace 2017-11-13 01:04:45 +00:00
Richard Davey
620c9d9771 Condensed collide check 2017-11-13 01:04:35 +00:00
Michael Hadley
a7424fa750 Progress on Tilemap - can now link tileset images and create layers 2017-11-11 10:38:52 -06:00
Richard Davey
beb652a6c8 Merge branch 'master' of https://github.com/photonstorm/phaser 2017-11-11 03:52:26 +00:00
Richard Davey
1637272578 Body.setSize will now center the new body onto the gameobject by default (much easier to use!) 2017-11-11 03:52:23 +00:00