Pavle Goloskokovic
1c896ba1f7
Removed fadeTo method
2018-01-03 20:31:33 +01:00
Pavle Goloskokovic
92ee1bb7e0
Removed fade tween property from destroy method
2018-01-03 20:31:07 +01:00
Pavle Goloskokovic
36f918c26b
Removed fade tween property
2018-01-03 20:28:22 +01:00
Richard Davey
176b9c0fed
We can move the topOnly
check into the update and be done with it
2018-01-03 17:05:51 +00:00
Richard Davey
7695afd1fe
Fix #3144
2018-01-03 16:30:51 +00:00
Richard Davey
b85ae018dd
Removed rogue log
2018-01-03 15:09:45 +00:00
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
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
Pavle Goloskokovic
d4645313f4
Added startTime property to keep track of the time when the sound actually started playing music
2017-12-13 22:39:24 +01:00
Pavle Goloskokovic
52d2be65f3
Updated playTime property description
2017-12-13 22:36:57 +01:00
Pavle Goloskokovic
ca3a4b9373
Renaming startTime property to playTime
2017-12-13 22:32:34 +01:00
Michael Hadley
be74f40df9
Updating v2 comments to match v3 style
2017-12-13 15:30:43 -06:00
Pavle Goloskokovic
e8617a87a3
Taking delay config setting into account when playing sound source
2017-12-13 22:29:55 +01:00
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
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
Pavle Goloskokovic
f347bcc45a
Limiting seek value to be between 0 and current duration in seek property setter
2017-12-05 19:57:07 +01:00
Pavle Goloskokovic
7920ad3b6d
Setting config seek value to value provided to seek property setter
2017-12-05 19:55:48 +01:00
Pavle Goloskokovic
d7f65cc003
Added comments to make it easier to figure out isPaused and isPlaying current values at any time
2017-12-05 19:51:15 +01:00
Pavle Goloskokovic
1590ab2dda
Returning config seek value in seek property getter if is not playing
2017-12-05 19:48:52 +01:00
Pavle Goloskokovic
5a5444e936
Returning value from getCurrentTime in seek property getter only if sound is currently playing
2017-12-05 19:47:41 +01:00
Pavle Goloskokovic
6c7f7ae732
Setting pausedTime to current seek value
2017-12-05 19:45:33 +01:00
Pavle Goloskokovic
aa503131a4
Returning value from getCurrentTime in seek property getter
2017-12-05 19:44:37 +01:00
Pavle Goloskokovic
a27f32b3a3
Added getCurrentTime method to WebAudioSound class to precisely calculate current sound time
2017-12-05 19:43:08 +01:00
Pavle Goloskokovic
0543b8d5ef
Calling resetConfig after starting buffer sound
2017-12-05 19:41:07 +01:00
Pavle Goloskokovic
344aec2b86
Added resetConfig method where seek config, and later delay config, are reset
2017-12-05 19:40:25 +01:00
Pavle Goloskokovic
b2950775a1
Applying config right before calling start on buffer source
2017-12-05 19:36:59 +01:00
Pavle Goloskokovic
7bde818fa5
Override applyConfig method and moved rateUpdates resetting logic there
2017-12-05 19:35:26 +01:00
Pavle Goloskokovic
dc4bb51b93
Updated few members access modifiers from private to protected
2017-12-05 19:31:58 +01:00
Pavle Goloskokovic
00c2fd3189
Moved totalRate initialisation above setting config options since it is used in some of the config options' setters (detune, rate)
2017-12-05 19:28:08 +01:00
Pavle Goloskokovic
fd96a329de
Moved isPlaying and isPaused flags initialisation above setting config options since they are used in some of the config options' setters (detune, rate)
2017-12-05 19:24:17 +01:00
Pavle Goloskokovic
97441f3bc8
Adding initial rate update to help calculate seek
2017-12-05 19:21:23 +01:00
Pavle Goloskokovic
ad687016ad
Included config seek into calculation when playing sound
2017-12-05 19:19:19 +01:00
Pavle Goloskokovic
3176293f53
Resetting rateUpdates before playing sound source
2017-12-05 19:14:53 +01:00
Pavle Goloskokovic
fb9bc44685
Save rate updates only when sound is playing
2017-12-05 19:13:09 +01:00
Pavle Goloskokovic
7dd0a877ec
Save sound current time instead of context current time
2017-12-05 19:12:18 +01:00
Pavle Goloskokovic
54f5e6141d
Adding an item to rateUpdates every time setRate method is called
2017-12-05 19:11:30 +01:00
Pavle Goloskokovic
bc486daaa3
Adding rateUpdates field to WebAudioSound class to keep track of all rate changes
2017-12-05 19:09:34 +01:00
Pavle Goloskokovic
6e85e6a419
Adding seek property to WebAudioSound class
2017-12-05 19:07:40 +01:00
Pavle Goloskokovic
de1657de01
Updated comments with private and readonly descriptors
2017-12-04 22:09:41 +01:00
Pavle Goloskokovic
0f6ac299e0
Merge remote-tracking branch 'origin/master'
2017-12-04 22:05:43 +01:00
Pavle Goloskokovic
fe36e80f24
Removing detune range limitation
2017-12-04 22:05:29 +01:00
Richard Davey
caabe65f04
Beta 13
2017-12-04 13:15:23 +00:00
Michael Hadley
55492e8940
Typo fix
2017-12-03 15:31:05 -06:00
Richard Davey
5e69f0e51f
You can now optionally set a gameobject as being inactive and invisible when disabling a body
2017-12-03 17:12:43 +00:00
Richard Davey
50b1a67043
Added Group.countActive
2017-12-03 17:12:22 +00:00
Michael Hadley
f7cd3deb93
Newsletter addition: WeightedRandomize
2017-12-03 08:56:12 -06:00
Michael Hadley
d686cd7140
Fix: use globalAlpha since renderer.setAlpha doesn't work with ctx manipulation
2017-12-03 08:55:53 -06:00
Richard Davey
e53fa0e716
Added Body.Enable component
2017-12-03 11:06:21 +00:00
Richard Davey
7d5608740a
Global 'remove' call which is passed on to the world
2017-12-02 04:05:39 +00:00
Richard Davey
b2ca8e17dd
Fixed Composite removal
2017-12-02 04:05:27 +00:00
Richard Davey
dd3db88960
preDestroy now handled in GameObject.destroy
2017-12-02 04:05:13 +00:00
Richard Davey
44bb628381
The Pairs come out of objects
2017-12-02 04:04:55 +00:00
Richard Davey
4023880efd
Added World.remove
2017-12-02 04:04:30 +00:00
Richard Davey
23993bb318
Added setBoundsCollision method and World.remove to kill a body
2017-12-02 04:04:15 +00:00
Richard Davey
3aa609ddf6
Physics Groups will now call refresh automatically for you after a config creation
2017-12-02 04:03:57 +00:00
Richard Davey
11d89cdb1f
Added default value
2017-12-02 04:03:31 +00:00
Richard Davey
8a2ea673b6
Group.createMultipleCallback added
2017-12-02 04:03:22 +00:00
Richard Davey
011ebb5968
Destroy resorts children and sets invisible
2017-12-02 04:03:06 +00:00
Richard Davey
ed56fbce37
Merge branch 'master' of https://github.com/photonstorm/phaser
2017-12-02 01:24:52 +00:00
Richard Davey
04844a77e0
Updated now that x/y is ellipse center
2017-12-02 01:24:50 +00:00
Richard Davey
55bfc9adb3
Ellipse x/y is now its center and the bounds properties adjust position, not dimension
2017-12-02 01:24:36 +00:00
Richard Davey
84c86e23f0
strokePoints has new autoClose argument which strokeEllipse takes advantage of
2017-12-02 01:24:18 +00:00
Michael Hadley
10dfa0a7da
Reverting last change - making it easier to access collision groups from Tileset
2017-12-01 18:57:27 -06:00
Michael Hadley
cff6c11ca0
Merge branch 'master' of https://github.com/photonstorm/phaser
2017-12-01 18:09:00 -06:00
Michael Hadley
8adce2ed2e
Tidying: making it easier to access collision objects from a tile
2017-12-01 18:08:58 -06:00
Michael Hadley
806c9d3237
Stroke ellipse fixes
...
- Circumference points should calculate point based on top left of ellipse
- Graphics missing Ellipse class
- Ellipse stroke not "closed"
2017-12-01 18:05:39 -06:00
Felipe Alfonso
1c689639c1
Removed unnecessary check on setBlendMode
2017-12-01 18:56:44 -03:00
Felipe Alfonso
b1e49059ec
Fixed alpha blending issue with textured renderer
2017-12-01 18:55:27 -03:00
Michael Hadley
195ea19ea7
Extra tilemap method findTile (matches Array.prototype.find)
2017-12-01 13:46:27 -06:00
Michael Hadley
a8fdcbc56b
Small fix: use base tile size for tile <-> XY transforms. This only matters for maps with different size tiles.
2017-12-01 13:26:09 -06:00
Michael Hadley
37767ebde1
Tidy: fix v2 linting errors and move Tiled parser bits into modules
2017-12-01 13:26:09 -06:00
Michael Hadley
ed5cdf0bdb
Tidy up - remove old skipIndexZero property on layers
2017-12-01 13:26:09 -06:00
Michael Hadley
742ff1a439
Internal terminology change to make API clearer: tile.worldXY -> tile.pixelXY
2017-12-01 13:26:09 -06:00
Richard Davey
3a0c276810
preDestroy added and event fix.
2017-12-01 18:19:25 +00:00
Richard Davey
81275a6197
Fixed transform issue with Text padding.
2017-12-01 16:53:02 +00:00
Pavle Goloskokovic
66d216af19
Reading total rate value directly from totalRate property in setRate
2017-12-01 15:41:24 +01:00
Pavle Goloskokovic
a3dbb51d3e
Removed return value for setRate method as it is not needed because that value is now stored in totalRate property
2017-12-01 15:40:35 +01:00
Pavle Goloskokovic
411fdd48b2
Setting totalRate value in setRate method
2017-12-01 15:33:02 +01:00
Pavle Goloskokovic
fe9c9c0819
Added totalRate property to BaseSound class
2017-12-01 15:32:03 +01:00
Pavle Goloskokovic
4721d074e8
Merge remote-tracking branch 'origin/master'
2017-12-01 13:16:59 +01:00
Richard Davey
f2c05d2b0d
Merge branch 'master' of https://github.com/photonstorm/phaser
2017-12-01 03:12:00 +00:00
Richard Davey
d0fb5a69f4
Allows for 'font' and 'fill' overrides
2017-12-01 03:11:57 +00:00
Richard Davey
b393aed2e3
Fixed setPadding and padding value assignment
2017-12-01 03:11:41 +00:00
Richard Davey
025c9dc131
Padding now passed in the style object and avoids double call to updateText
2017-12-01 03:11:23 +00:00
Michael Hadley
01f34e18b7
Recalculate faces: make this reset faces on non-colliding tiles
...
This handles edge cases where things like copy can make a tile become non-colliding w/o reseting faces
2017-11-30 17:19:19 -06:00
Pavle Goloskokovic
42b47d2674
Fixed few references
2017-11-30 22:56:54 +01:00
Pavle Goloskokovic
c1adc63ffd
Merge remote-tracking branch 'origin/master'
2017-11-30 22:16:03 +01:00
Pavle Goloskokovic
786c6913ac
Removing WebAudioSpriteSound class, audio sprite creation logic is generic and can be used in base sound manager class, no need for adding more classes and making class hierarchy more complex
2017-11-30 22:15:47 +01:00
Pavle Goloskokovic
9e90b9eec2
Moved logic for audio sprite creation to BaseSoundManager addAudioSprite method
2017-11-30 22:14:20 +01:00
Felipe Alfonso
ef942fb204
Premultiplied Alpha blending
2017-11-30 16:05:45 -03:00
Michael Hadley
0993af649a
Bug fix: extend from empty object
2017-11-30 12:26:07 -06:00
Pavle Goloskokovic
9a3d0a4140
Added hasOwnProperty check for traversing spritemap object
2017-11-30 18:56:38 +01:00
Pavle Goloskokovic
5c3a3ebef2
Improve readability with local variable
2017-11-30 18:56:12 +01:00
Pavle Goloskokovic
9a156ec898
Adding marker for each key in spritemap object
2017-11-30 18:55:21 +01:00
Pavle Goloskokovic
d65cf17a4d
Added spritemap property to WebAudioSpriteSound that holds reference to 'spritemap' object form json file generated by audiosprite tool.
2017-11-30 18:54:27 +01:00
Pavle Goloskokovic
39edc8a9ac
Defaulting config to empty object and calling super method in WebAudioSpriteSound constructor
2017-11-30 18:53:12 +01:00
Pavle Goloskokovic
6412a3c3c2
Added WebAudioSpriteSound class - a Web Audio implementation of audio sprite sound
2017-11-30 18:50:54 +01:00
Pavle Goloskokovic
0bce624170
Merge remote-tracking branch 'origin/master'
2017-11-30 18:18:24 +01:00