Commit graph

2018 commits

Author SHA1 Message Date
Pavle Goloskokovic
bcda86c566 Setting config value when setting loop property 2017-12-12 19:44:41 +01:00
Pavle Goloskokovic
48f86abb65 Returning config value when getting loop property 2017-12-12 19:43:21 +01:00
Pavle Goloskokovic
02962f316e Defined loop property for WebAudioSound class 2017-12-12 19:42:21 +01:00
Pavle Goloskokovic
121672d442 Added loopSource field for timed loop sound source 2017-12-12 19:40:36 +01:00
Felipe Alfonso
1cb3c0c4d4 Fixed tint issue width textured shader 2017-12-10 19:32:15 -03:00
Felipe Alfonso
b71edc2b34 Added support to RenderPass to use untextured shader 2017-12-10 11:03:29 -03:00
Pavle Goloskokovic
4df9bfd503 Merge remote-tracking branch 'origin/master' 2017-12-10 13:18:13 +01:00
Pavle Goloskokovic
429d86ba31 Added TODO for handling removed or destroyed sounds 2017-12-10 13:18:03 +01:00
Pavle Goloskokovic
c9868d5408 Implemented destroy method for WebAudioSound class 2017-12-10 13:17:39 +01:00
Pavle Goloskokovic
594d1512aa Implemented destroy method for BaseSound class 2017-12-10 13:17:17 +01:00
Michael Hadley
cf300ecd4a Comment phrasing fix 2017-12-08 17:08:04 -06:00
Michael Hadley
d563cabadd Improved pointer lock api
Some improvements over v2:
- You can access movementXY on pointer without needing to perform a manual `resetMovement()`
- Fixes bug where `releasePointerLock` would unregister event listeners before a final `pointerLockChange` could be called. Results in mouse.locked not having the right state and a final 'POINTER_LOCK_CHANGE_EVENT' not firing.
2017-12-08 17:05:05 -06:00
Pavle Goloskokovic
b5e8a60530 Saving seek value only when sound is playing or paused, for consistency 2017-12-07 20:58:54 +01:00
Pavle Goloskokovic
8d161ac06d Returning config value when paused and 0 when stopped when getting seek value 2017-12-07 20:58:07 +01:00
Pavle Goloskokovic
e4ca4d4b75 Updated description for mute property 2017-12-07 20:57:05 +01:00
Pavle Goloskokovic
361ff7ff94 Updated description for volume property 2017-12-07 20:56:51 +01:00
Pavle Goloskokovic
42003ca74c Updated description for seek property 2017-12-07 20:56:34 +01:00
Pavle Goloskokovic
d856a97e98 Reverting to resetting config on every play method call 2017-12-07 20:55:47 +01:00
Pavle Goloskokovic
11d9d5455d Resetting config on stop call 2017-12-07 20:17:38 +01:00
Pavle Goloskokovic
1973781052 Resetting config when calling play method only if current call plays different marker than previous (to enable setting seek before replaying same sound) 2017-12-07 20:17:00 +01:00
Pavle Goloskokovic
75d480ffba Added protected access modifier to overridden applyConfig method 2017-12-07 20:14:58 +01:00
Pavle Goloskokovic
c3107ca629 Setting paused time (seek) before calling stopAndRemoveBufferSource since getCurrentTime depends on startTime value and it gets reset in stopAndRemoveBufferSource method 2017-12-07 20:13:52 +01:00
Pavle Goloskokovic
bf3a0167f9 Merge remote-tracking branch 'origin/master' 2017-12-07 20:11:20 +01:00
Pavle Goloskokovic
039ed52cf2 Resetting startTime value inside of stopAndRemoveBufferSource method to have more consistent sound state 2017-12-07 20:11:09 +01:00
Felipe Alfonso
f5232da4c0 Merge branch 'master' of https://github.com/photonstorm/phaser 2017-12-07 11:58:50 -03:00
Felipe Alfonso
2423b4c5fa Fixed alpha on graphics shader 2017-12-07 11:58:24 -03:00
Richard Davey
71d6f8a085 Added fillMesh and strokeMesh. 2017-12-07 05:31:31 +00:00
Richard Davey
28260cca66 Added stroke and fill support. 2017-12-07 05:31:23 +00:00
Richard Davey
d89b6ba6b6 Added Mesh methods, camera and projection matrix. 2017-12-07 04:52:59 +00:00
Richard Davey
302559f3e1 Fixed order of multiply translation / scaling 2017-12-07 04:52:45 +00:00
Richard Davey
4f8d7bc413 Added new Geom.Mesh class. 2017-12-07 04:52:23 +00:00
Richard Davey
0b84b06e48 ESLint fixes 2017-12-07 04:52:07 +00:00
Richard Davey
3d4b3c1369 Added zero, multiplyLocal, perspectiveLH, yawPitchRoll and setWorldMatrix. 2017-12-07 02:21:16 +00:00
Richard Davey
98eba628a0 hint fix 2017-12-07 02:21:15 +00:00
Richard Davey
7d05addcb5 Added Vector3.transformCoordinates and Vector3.up as well as removing short-hand aliases. 2017-12-07 02:21:14 +00:00
Richard Davey
8b453f4dba Removed short-hand aliases. 2017-12-07 02:21:13 +00:00
Richard Davey
ff3e3d9cc9 New Wavefront OBJ File Loader added 2017-12-07 02:21:13 +00:00
Richard Davey
38cb89cf64 Added new obj cache. 2017-12-07 02:21:12 +00:00
Felipe Alfonso
ea0c1ab81c Fixed shader so blending is applied properly. Textures now have a premultiplied alpha property flag and unpacking property is set at creation. 2017-12-06 20:52:09 -03:00
Pavle Goloskokovic
0a5e8de376 Using subclass values for duration properties if available 2017-12-06 18:07:43 +01:00
Pavle Goloskokovic
58d0be5279 Setting duration properties before calling super method 2017-12-06 18:06:39 +01:00
Pavle Goloskokovic
0338d6f7c0 Initializing duration properties before config because some config options' setters use those values (seek) 2017-12-06 18:06:05 +01:00
Pavle Goloskokovic
b01859eb06 Moved config initialization right before config options initializations 2017-12-06 18:04:18 +01:00
Pavle Goloskokovic
260d519a7e Resetting config before merging it with config provided to play method 2017-12-05 20:25:31 +01:00
Pavle Goloskokovic
99aa2b22c4 Resetting sound playback at seek time if sound is playing 2017-12-05 20:22:49 +01:00
Pavle Goloskokovic
06b7ad91fd Updated a TODO to add delay config setting 2017-12-05 20:21:14 +01:00
Pavle Goloskokovic
b3f5b03e6f Calling getCurrentTime directly when setting seek as paused time since we don't want to self-assign it 2017-12-05 20:20:33 +01:00
Pavle Goloskokovic
4e0c274ca4 No need to reset config seek value since it is reset in resetConfig method 2017-12-05 20:19:02 +01:00
Pavle Goloskokovic
44ce0edd82 Moved the same logic for calculating offset duration and startTime into createAndStartBufferSource method 2017-12-05 20:17:14 +01:00
Pavle Goloskokovic
25a11687c2 Replaced pausedTime field with config seek value 2017-12-05 20:01:06 +01:00