Commit graph

7543 commits

Author SHA1 Message Date
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