Commit graph

9055 commits

Author SHA1 Message Date
Pavle Goloskokovic
6c7b73b0dc Removed webkit flag as it is not used (polyfill handles the differences) 2018-01-06 15:13:56 +01:00
Pavle Goloskokovic
6b291e890e Reverting compatibility changes as they are handled by a polyfill 2018-01-06 15:12:39 +01:00
Pavle Goloskokovic
b151ba518a Reverting compatibility changes as they are handled by a polyfill 2018-01-06 15:12:12 +01:00
Pavle Goloskokovic
2d2bf4c0e3 Added check for touch events when trying to unlock web audio on iOS devices 2018-01-06 15:03:28 +01:00
Pavle Goloskokovic
01e5274c76 Removed completed webkit implementation compatibility TODO 2018-01-06 15:02:30 +01:00
Pavle Goloskokovic
0645145010 Added fallback to noteOff method call for webkit implementation when stopping loop buffer source 2018-01-06 15:01:41 +01:00
Pavle Goloskokovic
7f04143b7c Added fallback to noteOff method call for webkit implementation when stopping buffer source 2018-01-06 15:01:24 +01:00
Pavle Goloskokovic
cd0c6b27a7 Added fallback to noteGrainOn method call for webkit implementation when starting loop buffer source 2018-01-06 15:00:43 +01:00
Pavle Goloskokovic
00c90eb81a Added fallback to noteGrainOn method call for webkit implementation when starting buffer source 2018-01-06 14:59:56 +01:00
Pavle Goloskokovic
9665ab2f7c Added fallback to createGainNode method call for webkit implementation when creating global volume node 2018-01-06 14:58:15 +01:00
Pavle Goloskokovic
e66f1b7030 Added fallback to createGainNode method call for webkit implementation when creating global mute node 2018-01-06 14:57:50 +01:00
Pavle Goloskokovic
e635351f0b Added fallback to createGainNode method call for webkit implementation when creating sound volume node 2018-01-06 14:56:59 +01:00
Pavle Goloskokovic
a508d7ef4c Added fallback to createGainNode method call for webkit implementation when creating sound gain node 2018-01-06 14:56:39 +01:00
Pavle Goloskokovic
7c2bd98e44 Simplified logic for removal of destroyed sounds 2018-01-05 20:14:34 +01:00
Pavle Goloskokovic
efbf276dc9 Merge remote-tracking branch 'origin/master' 2018-01-05 19:39:01 +01:00
Pavle Goloskokovic
51aaa3e35a Fixed bug with EventBinding which gets destroyed mid execution - removed logic that was already executed either through binding destroy call or dispatcher destroy call
Fixed issue where comparison was performed instead of assignment
2018-01-05 19:38:51 +01:00
Pavle Goloskokovic
78c74739fc Fixed sounds array truncate logic in update method 2018-01-05 19:35:44 +01:00
Richard Davey
6687c0f57a Removed redundant file and method and tidied up uv setter (#3119) 2018-01-05 17:27:39 +00:00
Richard Davey
32bc4927da Camera won't scroll out of bounds if bounds smaller than camera size. Fix #3133. 2018-01-05 17:09:47 +00:00
Richard Davey
30e9699bb6 Zone.setSize now has a resizeInput argument (re: #3124) 2018-01-05 16:18:10 +00:00
Felipe Alfonso
7959656a58 Merge branch 'master' of https://github.com/photonstorm/phaser 2018-01-04 19:04:15 -03:00
Felipe Alfonso
29bafd1137 Progress RenderPass SpriteBatch function 2018-01-04 19:04:06 -03:00
Richard Davey
1f07ad203a Fix #3112 2018-01-04 22:02:29 +00:00
Felipe Alfonso
2f5f9629b8 RenderPass specific SpriteBatch function 1 2018-01-04 18:40:41 -03:00
Felipe Alfonso
5dc403aafd RenderPass specific SpriteBatch render function 2018-01-04 16:31:12 -03:00
Pavle Goloskokovic
7e223685b3 Dispatching event when stopAll is called 2018-01-04 20:01:19 +01:00
Pavle Goloskokovic
734ce7e628 Dispatching event when resumeAll is called 2018-01-04 20:01:07 +01:00
Pavle Goloskokovic
4c172b6ffa Dispatching event when pauseAll is called 2018-01-04 20:00:43 +01:00
Pavle Goloskokovic
ec657a6517 Using forEachActiveSound method when updating global rate and detune settings 2018-01-04 19:53:47 +01:00
Pavle Goloskokovic
55f8ca51af Using forEachActiveSound method when destroying BaseSoundManager 2018-01-04 19:53:15 +01:00
Pavle Goloskokovic
2572b01e61 Using forEachActiveSound method for global playback methods 2018-01-04 19:52:44 +01:00
Pavle Goloskokovic
c424b61939 Added utility method forEachActiveSound that enables traversing only active (not destroyed) sounds 2018-01-04 19:51:54 +01:00
Pavle Goloskokovic
b3fad218bc Added logic for removing destroyed sounds from sounds array on BaseSoundManager update call 2018-01-04 19:50:06 +01:00
Pavle Goloskokovic
cf31ed9a4d Implemented destroy method for BaseSoundManager class 2018-01-04 19:48:00 +01:00
Pavle Goloskokovic
c919d331a6 Added docs for remove and removeByKey methods 2018-01-04 19:44:22 +01:00
Pavle Goloskokovic
267cfed1d0 Implemented removeByKey method 2018-01-04 19:43:41 +01:00
Pavle Goloskokovic
5f56d038f5 Implemented remove method 2018-01-04 19:41:43 +01:00
Pavle Goloskokovic
5790fe9a4f Reordered destroy method calls 2018-01-04 19:39:21 +01:00
Pavle Goloskokovic
03187ae8b5 Using pendingRemove flag when destroying BaseSound 2018-01-04 19:38:51 +01:00
Pavle Goloskokovic
5d5acb40a9 Added pendingRemove flag that indicates if destroy method was called on this sound 2018-01-04 19:37:20 +01:00
Pavle Goloskokovic
1a38273cd8 Implemented resumeAll method 2018-01-04 19:32:10 +01:00
Pavle Goloskokovic
17dee3cd8d Implemented pauseAll method 2018-01-04 19:30:29 +01:00
Pavle Goloskokovic
13f752baca Implemented global playAudioSprite method to enable playing audiosprite sprites on the fly 2018-01-04 19:28:34 +01:00
Pavle Goloskokovic
6a64693257 Updated global play method to accept sound config and sound marker as second argument 2018-01-04 19:27:12 +01:00
Pavle Goloskokovic
66936490a1 Implemented global play method to enable playing sounds on the fly 2018-01-04 19:24:28 +01:00
Richard Davey
9c9b4f69b3 GetCamera will return a camera based on its name. 2018-01-04 16:40:04 +00:00
Richard Davey
3a3c24c7c4 Camera controls can change camera. 2018-01-04 16:39:52 +00:00
Richard Davey
27db941662 You can now specify a name when making a camera. 2018-01-04 16:39:42 +00:00
Richard Davey
a8213f07b9 Recoded HitTest so it no longer needs a matrix or matrix operations. 2018-01-04 15:42:15 +00:00
Richard Davey
f0ea5bfca2 Tidying up the global input manager. 2018-01-04 15:42:14 +00:00