Michael Hadley
9357b835b4
Jsdoc wrapping methods
2017-12-13 15:28:52 -06:00
Michael Hadley
0415a9bc01
Remove accidental duplicate of GetValue
2017-12-13 15:28:36 -06:00
Pavle Goloskokovic
58da23987c
Removing completed TODO
2017-12-13 22:26:54 +01:00
Pavle Goloskokovic
f7ab4ca402
Resetting delay value in resetConfig method
2017-12-13 22:26:32 +01:00
Pavle Goloskokovic
e87fdb71ec
Added default delay value to initial sound marker config
2017-12-13 22:25:58 +01:00
Pavle Goloskokovic
7369f04b99
Added default delay value to initial sound config
2017-12-13 22:25:22 +01:00
Michael Hadley
58b00a12e1
Make word wrap functions more pure so they are easier to share with other GOs later
2017-12-13 15:14:16 -06:00
Michael Hadley
d003945a66
v2's PrecalculateWordWrap -> getWrappedText
2017-12-13 15:09:06 -06:00
Michael Hadley
2fe60ffbf9
Add wrapping to Text & ensure context's font stays in sync
2017-12-13 15:08:43 -06:00
Michael Hadley
f6bd7ecb1b
Add TextStyle wrap properties & parse with GetValue over GetAdvancedValue
2017-12-13 15:07:37 -06:00
Michael Hadley
0c3f144f88
Port v2 text wrapping functions to Text
2017-12-13 15:04:57 -06:00
Pavle Goloskokovic
7aa519c5e4
Merge remote-tracking branch 'origin/master'
2017-12-12 20:30:18 +01:00
Pavle Goloskokovic
a13f90b4a1
Removed completed TODO
2017-12-12 20:26:11 +01:00
Pavle Goloskokovic
dca07e84fb
Setting loop value at the end of applyConfig method
2017-12-12 20:21:42 +01:00
Pavle Goloskokovic
0e5b2594c5
Removing unneeded logic from loop property setter
2017-12-12 20:20:45 +01:00
Pavle Goloskokovic
95abc59e3e
Resetting config when looping sound in order to reset any non-zero seek value
2017-12-12 20:18:51 +01:00
Pavle Goloskokovic
bb281605c6
Checking if looping is enabled when sound ends and if it is creating and playing source sound again
2017-12-12 20:17:42 +01:00
Pavle Goloskokovic
1f5d4f2769
Removed createBufferSource method since its logic was used only in one place
2017-12-12 20:13:58 +01:00
Pavle Goloskokovic
67477708b2
Ditching loopSource approach as logic would be too complicated when taking playback rate into account
2017-12-12 20:11:46 +01:00
Pavle Goloskokovic
47522af035
Reordering setting loop value in applyConfig before rate and detune to enable rate and detune to update loop source as well
2017-12-12 20:02:17 +01:00
Pavle Goloskokovic
c06a2bc78c
Setting loop source rate in setRate method if looping is enables
2017-12-12 20:00:49 +01:00
Pavle Goloskokovic
dbc4b8b6f2
Renamed createLoopBufferSource to createAndStartLoopBufferSource and added some logic for starting loop source
2017-12-12 20:00:04 +01:00
Pavle Goloskokovic
d13bdfde62
Added createBufferSource to reuse buffer source creation logic
2017-12-12 19:58:44 +01:00
Pavle Goloskokovic
648187295e
Added method for creating loop buffer source
2017-12-12 19:56:18 +01:00
Pavle Goloskokovic
d788ed3a44
Stop and remove loopSource in stopAndRemoveBufferSource
2017-12-12 19:52:24 +01:00
Pavle Goloskokovic
bca40391fe
If value set to loop property is the same as config value skip any further commands
2017-12-12 19:47:57 +01:00
Pavle Goloskokovic
c8f43e7a5a
Added a bit of logic and couple of TODOs to handle loop source when setting loop property value
2017-12-12 19:46:08 +01:00
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
Richard Davey
a79abf436b
Merge pull request #3122 from rblopes/upgrade-development-dependencies
...
Upgrade development dependencies.
2017-12-12 17:06:18 +00:00
Richard Davey
8d6a868d84
Swapped argument name
2017-12-12 17:02:53 +00:00
Richard Davey
cb9506c00b
Merge pull request #3117 from Twilrom/static
...
Removing use of reserved keyword 'static'
2017-12-12 17:01:55 +00:00
Rafael Barbosa Lopes
dece45d731
Upgrade development dependencies.
...
- eslint: ^4.3.0 → ^4.13.1
- fs-extra: ^4.0.0 → ^5.0.0
- uglifyjs-webpack-plugin: ^0.4.6 → ^1.1.2
- webpack: ^3.4.1 → ^3.10.0
2017-12-12 12:49:58 -02: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
Twilrom
8ab43f35d2
Removing use of reserved keyword 'static'
2017-12-08 10:38:13 +01: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