Commit graph

7869 commits

Author SHA1 Message Date
Richard Davey
98a82e3672 Added Input.setTopOnly and fixed process handling when topOnly is used with over / out events (#3136) 2018-01-03 15:09:06 +00:00
Richard Davey
8db93c4cb2 Merge branch 'master' of https://github.com/photonstorm/phaser 2018-01-03 01:55:15 +00:00
Richard Davey
8334826de0 Working through some topOnly debug tests 2018-01-03 01:55:12 +00:00
Felipe Alfonso
9e9b1491d5 Flip forced added if texture is attachment to render target 2018-01-02 21:00:16 -03:00
Felipe Alfonso
bf2a73cb6a Reset RenderPass creation 2018-01-02 17:27:48 -03:00
Felipe Alfonso
1f4f3da7e0 Added resolution uniform to render pass 2018-01-02 16:55:59 -03:00
Felipe Alfonso
a3384230c9 Fixed Flip issue with RenderPass 2018-01-02 15:58:28 -03:00
Richard Davey
c7803e0cd2 Debugging topOnly events 2017-12-28 15:14:16 +00:00
Richard Davey
fb2c2c75b2 Updated passive and capture states of the input handlers 2017-12-27 23:52:46 +00:00
Pavle Goloskokovic
c328d1ea59 Merge remote-tracking branch 'origin/master' 2017-12-22 15:47:44 +01:00
Pavle Goloskokovic
aad8dea41b Added SoundEvent class to index.js 2017-12-22 15:47:37 +01:00
Pavle Goloskokovic
e36e18977e Dispatching loop event when sound loops 2017-12-22 15:47:15 +01:00
Pavle Goloskokovic
0ac51b879d Added SoundEvent class 2017-12-22 15:46:48 +01:00
Pavle Goloskokovic
97e648bea6 Removed debug logging 2017-12-22 15:46:05 +01:00
Pavle Goloskokovic
c569aabc73 Resetting rate updates on sound loop 2017-12-22 15:45:28 +01:00
Pavle Goloskokovic
5635c04da0 Stopping and removing loop source when stopping and removing main source 2017-12-22 15:42:45 +01:00
Pavle Goloskokovic
c15afd2d29 Setting loopTime to 0 when stopping and resetting loop source 2017-12-22 15:42:09 +01:00
Pavle Goloskokovic
9b1db4257c Setting playTime and startTime properties to loopTime value whe sound loops 2017-12-22 15:40:58 +01:00
Pavle Goloskokovic
c1688ddbfe Setting loopTime to loop source start call when parameter value when creating it 2017-12-22 15:37:36 +01:00
Pavle Goloskokovic
54de230ac4 Added loopTime property to keep track of the time at which the sound loop source should actually start playback based on BaseAudioContext.currentTime value 2017-12-22 15:35:57 +01:00
Pavle Goloskokovic
34d0e4f7a6 Setting loop source to be main source when sound loops and creating next loop source 2017-12-22 15:33:19 +01:00
Pavle Goloskokovic
cd6b6bf574 Using the same current time value for updating source playback rate and adding rate update item to the array 2017-12-22 15:29:56 +01:00
Pavle Goloskokovic
13d891893c Setting correct playback rate to loop source buffer when creating it 2017-12-22 15:27:42 +01:00
Pavle Goloskokovic
39f95cf6b4 Resetting loop source when updating sound playback rate if it is playing 2017-12-22 15:24:25 +01:00
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
Richard Davey
e2a92ac084 Fix #3131 2017-12-21 23:01:59 +00: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