Commit graph

7694 commits

Author SHA1 Message Date
Pavle Goloskokovic
187379ace2 Always topping and removing loop buffer source when setting loop property as it needs to be reset even if setting it to true 2017-12-22 15:21:21 +01:00
Pavle Goloskokovic
4d95cac657 Stopping and removing loop buffer source when setting loop property to false 2017-12-22 15:20:27 +01:00
Pavle Goloskokovic
b9ec8f2dea Added method for stopping and removing loop buffer source 2017-12-22 15:18:35 +01:00
Pavle Goloskokovic
15db2bac74 Moved logic for calculating loop time into separate method 2017-12-21 17:21:59 +01:00
Pavle Goloskokovic
4f6a665451 Moved loop buffer source creation and starting logic into separate method 2017-12-21 17:19:45 +01:00
Pavle Goloskokovic
46a99af255 Calculating correct value for when parameter for loop buffer source start method 2017-12-21 17:17:10 +01:00
Pavle Goloskokovic
b559985b31 Creating and starting loop buffer source only if sound is currently playing 2017-12-21 17:10:57 +01:00
Pavle Goloskokovic
4538ee9af1 Calculating when, offset and duration parameters for buffer source start method and calling it in loop setter method 2017-12-21 17:08:29 +01:00
Pavle Goloskokovic
1779bcb853 Moved loop source creation logic into loop property setter 2017-12-21 17:04:01 +01:00
Pavle Goloskokovic
8e9cc41b36 Moved sound buffer source creation logic into separate method to be able to reuse it 2017-12-21 17:02:44 +01:00
Pavle Goloskokovic
e612e2eaae Creating loop buffer source if looping is set in config 2017-12-21 16:58:43 +01:00
Pavle Goloskokovic
636275bc85 Added loop audio buffer source field 2017-12-21 16:56:19 +01:00
Pavle Goloskokovic
b2d0c72249 Added condition for handling looping in update method 2017-12-21 16:55:05 +01:00
Pavle Goloskokovic
a766ff9c2c Setting hasLooped flag when sound has ended and is supposed to loop 2017-12-21 16:53:03 +01:00
Pavle Goloskokovic
879e52a735 Added hasLooped property for WebAudioSound class 2017-12-21 16:50:44 +01:00
Pavle Goloskokovic
ee9465fedb Merge remote-tracking branch 'origin/master' 2017-12-21 16:50:08 +01:00
Richard Davey
9df082760b Beta 14 bundle 2017-12-21 13:25:19 +00:00
Pavle Goloskokovic
f19262acd4 Replaced setTargetAtTime calls with setValueAtTime calls 2017-12-18 17:29:01 +01:00
Pavle Goloskokovic
7033e1c9f5 Merge remote-tracking branch 'origin/master' 2017-12-18 17:14:55 +01:00
Pavle Goloskoković
2a576bd474
Merge pull request #3125 from orblazer/master
Fix deprecated WebAudio value change on FX
2017-12-18 17:04:41 +01:00
orblazer
09afe0be34 Fix deprecated WebAudio value change on FX 2017-12-16 02:47:30 +01:00
Felipe Alfonso
3b6f3ef3b3 RenderPass fix 2017-12-15 13:03:55 -03:00
Richard Davey
2c9c220f58 Container render 2017-12-15 04:09:20 +00:00
Richard Davey
b4dcbc428f Backface cull can be enabled per type 2017-12-15 04:08:55 +00:00
Richard Davey
d999151d30 Added in start of the support for a parent transform 2017-12-15 04:08:25 +00:00
Richard Davey
76f27ed706 Added parent, setParent and fixed destroy 2017-12-15 04:08:05 +00:00
Richard Davey
912b318d3e Formating 2017-12-15 04:07:45 +00:00
Richard Davey
8632fe5410 Inlined the depth sort 2017-12-15 04:07:32 +00:00
Richard Davey
61769526d4 Skip children that won't render 2017-12-15 04:07:16 +00:00
Richard Davey
d42aa4cffd Updated Container class and factory 2017-12-15 04:06:50 +00:00
Pavle Goloskokovic
c1ba98be96 Merge remote-tracking branch 'origin/master' 2017-12-14 14:09:26 +01:00
Pavle Goloskokovic
287dc70d61 Simplified rate updates logic in setRate method 2017-12-14 14:09:00 +01:00
Pavle Goloskokovic
06362216d1 Fixed issue with changing rate on a sound with delayed playback 2017-12-14 14:04:05 +01:00
Richard Davey
b279308234 Backface culling support added to tris 2017-12-14 02:29:30 +00:00
Richard Davey
c49f7de3ce Updated to use new ParseObj data format 2017-12-14 02:01:30 +00:00
Richard Davey
4a5f4a853e Brand new obj parser - far more complete, handles tris, quads and polys properly and returns a comprehensive model object 2017-12-14 02:01:16 +00:00
Richard Davey
4db457c464 Added Graphics.fillPoints and the option to specify an endIndex argument to strokePoints 2017-12-14 02:00:36 +00:00
Richard Davey
4320524119 Merge branch 'master' of https://github.com/photonstorm/phaser 2017-12-13 22:08:18 +00:00
Richard Davey
8ec688c597 Removed use of offset props and swapped to bounding rect 2017-12-13 22:08:15 +00:00
Pavle Goloskokovic
0c84f78e9e Merge remote-tracking branch 'origin/master' 2017-12-13 22:51:11 +01:00
Pavle Goloskokovic
7adb101d7e Updating rate updates correctly if delay has not yet elapsed 2017-12-13 22:49:13 +01:00
Pavle Goloskokovic
8ea3dbd6af Removed completed TODO 2017-12-13 22:48:27 +01:00
Pavle Goloskokovic
2126381bdd Updated startTime property description 2017-12-13 22:48:05 +01:00
Pavle Goloskokovic
b21331fb1c Returning difference between playTime and startTime from seek getter if delay has not yet elapsed 2017-12-13 22:47:39 +01:00
Pavle Goloskokovic
e173cac7d5 Ignoring seek setter calls on delayed playing sound if delay has not yet elapsed 2017-12-13 22:46:02 +01:00
Michael Hadley
ca7753e611 v2 -> v3, split lines using splitRegExp property 2017-12-13 15:44:59 -06:00
Pavle Goloskokovic
7ee1f78f18 Ignoring resume calls on delayed playing sound if delay has not yet elapsed 2017-12-13 22:44:59 +01:00
Pavle Goloskokovic
a17ffeb5b9 Ignoring pause calls on delayed playing sound if delay has not yet elapsed 2017-12-13 22:43:42 +01:00
Pavle Goloskokovic
1993aabbf4 Resetting startTime when stopping buffer source 2017-12-13 22:42:16 +01:00
Pavle Goloskokovic
b087a92612 Setting startTime to value when sound should start playing and playTime to correct relative value 2017-12-13 22:41:33 +01:00