Commit graph

2091 commits

Author SHA1 Message Date
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
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
Pavle Goloskokovic
1e10ab2f1f Added case for loading audioSprite files with generic file loader method 2017-11-30 18:18:13 +01:00
Richard Davey
2e7a336ef9 Handling new style settings for fonts and padding. 2017-11-30 17:17:29 +00:00
Richard Davey
5e975eda2c font has been removed and replaced with fontFamily, fontSize and fontStyle.
fill has been replaced with color as it just makes more sense.
2017-11-30 17:17:28 +00:00
Richard Davey
4d71806bea Text padding is passed to the Text.setPadding method to handle. 2017-11-30 17:17:27 +00:00
Richard Davey
7bd8bf2075 The testString can now be set in the Text config. 2017-11-30 17:17:27 +00:00
Pavle Goloskokovic
c1010bd446 Added support for passing in json object instead of url to json file directly to audioSprite loader method 2017-11-30 18:15:51 +01:00
Michael Hadley
b53f68c84a Factor layer scale into tile culling 2017-11-30 11:15:35 -06:00
Pavle Goloskokovic
6145ff5869 Loading audioSprite only if audio is enabled and AudioFile instance is returned from AudioFile.create method 2017-11-30 18:12:08 +01:00
Pavle Goloskokovic
1ed35dfc17 Added audioSprite case for handling audio and json files after loading finishes 2017-11-30 18:09:11 +01:00
Pavle Goloskokovic
449ca11ffd Linking audio and json files when loading audioSprite and setting their linkType to audioSprite 2017-11-30 18:07:27 +01:00
Pavle Goloskokovic
8dc987b7fc Creating AudioFile in audio loader method and adding it if it's not null
Returning loader reference for call chaining
2017-11-30 18:03:16 +01:00
Pavle Goloskokovic
8de108ce68 Returning null of AudioFile instance from AudioFile create method 2017-11-30 18:01:28 +01:00
Pavle Goloskokovic
dc8ef8a148 Added audioSprite multifile loader 2017-11-30 17:59:08 +01:00
Pavle Goloskokovic
5e89c9b1c7 Merge remote-tracking branch 'origin/master' 2017-11-30 16:42:23 +01:00
Michael Hadley
85e75eafa8 Fix for coord transform between world <-> tile + expose tile -> world methods 2017-11-30 09:22:54 -06:00
Pavle Goloskokovic
9ec1fb4cd1 Removing touche events when unlocking only after promise returned from resume method gets resolved 2017-11-30 14:41:46 +01:00
Pavle Goloskokovic
5f21646e6c Merge remote-tracking branch 'origin/master' 2017-11-30 14:39:33 +01:00
Pavle Goloskokovic
1b94d7eac3 Trying to unlock Web Audio on both touchstart and touchend events 2017-11-30 14:39:24 +01:00
Michael Hadley
bde77f7b95 Blank layers - pass along map's base tile size 2017-11-30 06:56:35 -06:00
Michael Hadley
76b74c677c Tile culling: use tile's worldXY and w/h so maps with different tileset sizes work 2017-11-30 06:56:13 -06:00
Pavle Goloskokovic
26956d3172 Merge remote-tracking branch 'origin/master' 2017-11-30 13:37:41 +01:00
Pavle Goloskokovic
f692aad1b1 Replaced touchstart with touchend event when unlocking Web Audio 2017-11-30 13:37:31 +01:00
Michael Hadley
a3b8a25521 Allow tilemap to change base tile size for all tiles 2017-11-29 23:16:48 -06:00
Michael Hadley
1be6d7a681 Tilemap & Dynamic: new method for putting a 2D array of tiles at a location 2017-11-29 21:59:11 -06:00
Michael Hadley
e548b73e80 Proper support for multiple tile sizes in a tilemap
- Adds base tile size to Tile class. Tiled positions tiles based on the base size.
- Supports proper translation of Tiled's bottom left coord system to Phaser's top left coord for tiles that are bigger or smaller than the base tile size.
- Update static renderer to read position/size from tile
2017-11-29 20:06:52 -06:00
Michael Hadley
2ae4bfa85a Jsdocs: StaticTilemapLayer & DynamicTilemapLayer 2017-11-29 19:23:42 -06:00
Michael Hadley
36a92d15e7 Add note about ImageCollection being a direct v2 port 2017-11-29 19:23:42 -06:00
Michael Hadley
59cdf89836 Jsdocs: Tilemap 2017-11-29 19:23:42 -06:00
Richard Davey
d1cc12693c If a GameObject has a preDestroy method then call it before running the standard destroy calls. 2017-11-30 01:20:22 +00:00
Richard Davey
3964c7a2ac Added in support for RTL text in the Text Game Object. 2017-11-30 01:20:02 +00:00
Richard Davey
3c8a5b4132 Fixed issue where an array passed in the constructor wasn't properly displayed
fix #3094
2017-11-30 00:03:22 +00:00
Richard Davey
309cf610bb Physics Manager now calls shutdown and destroy.
Matter World properly clears out the world and its Engine on shutdown. Also fixed incorrect localWorld.remove calls (fix #3110)
2017-11-29 23:36:35 +00:00
Richard Davey
31d2262cb4 Fixed HitTest 2017-11-29 23:35:53 +00:00
Richard Davey
a45554d630 Merge branch 'master' of https://github.com/photonstorm/phaser 2017-11-29 22:24:02 +00:00
Richard Davey
a86b68e361 Removed un-needed WorldToCamera, implemented GetWorldPoint across the board 2017-11-29 22:23:58 +00:00
Michael Hadley
d6f8812f49 Jsdoc: Tile 2017-11-29 15:37:23 -06:00
Michael Hadley
a76e270c78 Jsdoc fixup: Number -> Integer, array -> Type[] 2017-11-29 15:07:56 -06:00
Michael Hadley
191f621dad Jsdocs: Tileset 2017-11-29 14:39:30 -06:00
Michael Hadley
5f3156e2b8 Jsdocs: Tilemap parsing 2017-11-29 14:02:45 -06:00
Michael Hadley
0ee08b76a8 Jsdocs: ParseToTilemap 2017-11-29 13:53:05 -06:00
Michael Hadley
382d8edfcc Jsdocs: Tilemap Creator & Factor 2017-11-29 13:46:29 -06:00
Michael Hadley
f0e59b3d3d Blank Layer: remove unnecessary setting of tile size 2017-11-29 13:23:01 -06:00
Michael Hadley
b8695342e1 Prefer UK spelling over US: indices -> indexes 2017-11-29 13:22:30 -06:00
Michael Hadley
80a16065e2 Update to allow multiple tileset sizes within one map
Tileset is source of truth for tile size, so this update makes sure that layers are sync'd with the tileset
2017-11-29 12:52:34 -06:00
Michael Hadley
184cfd1979 When creating a Tilemap layer, use Tiled layer offset if no xy specified 2017-11-29 11:59:25 -06:00
Michael Hadley
a7df7c2df9 Tidying up linting, notes and comments 2017-11-29 11:46:19 -06:00
Michael Hadley
f4a6888d86 Tilemap: add method for converting layer from dynamic to static 2017-11-29 11:36:36 -06:00
Michael Hadley
0b4a08730c Adding debug rendering method to tilemap and layers 2017-11-29 09:05:53 -06:00
Michael Hadley
60f20aa05b setTileLocationCallback 2017-11-29 08:20:24 -06:00
Michael Hadley
da79734b22 SetTileIndexCallback 2017-11-29 07:53:04 -06:00
Michael Hadley
b4d89fb554 createFromObjects: return an array of sprites 2017-11-29 07:35:26 -06:00
Michael Hadley
a0b4362979 createFromObjects: allow sprite to have any origin while still matching Tiled 2017-11-29 07:25:04 -06:00
Michael Hadley
ee5190660c Tilemap: upgraded version of createFromObjects from v2 2017-11-28 22:40:48 -06:00
Michael Hadley
e5a8600686 BuildGameObject bug: origin was being set to position xy 2017-11-28 21:57:52 -06:00
Michael Hadley
68634a0deb Tilemap & layer methods: FilterTiles & CreateFromTiles 2017-11-28 20:49:24 -06:00
Richard Davey
3129950d34 Updated call 2017-11-29 02:25:14 +00:00
Felipe Alfonso
3b296162cf Camera input transform update 2017-11-28 19:18:05 -03:00
Pavle Goloskokovic
e9a71beba7 Merge remote-tracking branch 'origin/master' 2017-11-28 16:34:48 +01:00
Richard Davey
c58b295fcc Added positionToCamera method (but still needs fixing) 2017-11-28 11:16:35 +00:00
Richard Davey
e194b95654 PointerConstraint now takes the scene camera it should use as a config option. 2017-11-28 11:16:23 +00:00
Richard Davey
d9a9c7a5a1 esline tidy-up. 2017-11-28 11:15:45 +00:00
Richard Davey
4969bf37e6 The local input manager has a reference to the active pointer. 2017-11-28 11:15:35 +00:00
Richard Davey
f9cda636c5 Added Camera.screenToCamera and setAngle methods. 2017-11-28 11:15:22 +00:00
Pavle Goloskokovic
6f7f5f6144 Merge remote-tracking branch 'origin/master' 2017-11-27 18:13:26 +01:00
Richard Davey
1380af61a1 Added render visible flag. 2017-11-27 17:01:27 +00:00
Pavle Goloskokovic
35e25ab633 Merge remote-tracking branch 'origin/master' 2017-11-27 17:38:51 +01:00
Pavle Goloskokovic
65c30b9f7a Removed detune property as it is now defined in BaseSoundManager class 2017-11-27 17:38:43 +01:00
Pavle Goloskokovic
e4cebbf29c Removed rate property as it is now defined in BaseSoundManager class 2017-11-27 17:38:28 +01:00
Pavle Goloskokovic
3c2670a2f9 Removed _detune field as it is now set in BaseSoundManager class 2017-11-27 17:37:41 +01:00
Pavle Goloskokovic
c84a00e248 Removed _rate field as it is now set in BaseSoundManager class 2017-11-27 17:37:11 +01:00
Pavle Goloskokovic
28ae0811e6 Defining detune property in BaseSound class so it can be used in both Web Audio and HTML5 Audio implementations 2017-11-27 17:35:35 +01:00
Pavle Goloskokovic
1c1e75ac85 Defining rate property in BaseSound class so it can be used in both Web Audio and HTML5 Audio implementations 2017-11-27 17:35:09 +01:00
Pavle Goloskokovic
27ad50d276 Setting _detune field in BaseSound class so it can be used in both Web Audio and HTML5 Audio implementations 2017-11-27 17:34:27 +01:00
Pavle Goloskokovic
92ac9d41c5 Setting _rate field in BaseSound class so it can be used in both Web Audio and HTML5 Audio implementations 2017-11-27 17:33:37 +01:00
Pavle Goloskokovic
cf46145d7c Calling super method in setRate method of WebAudioSound class, setting returned value to source playback rate audio param and returning the same value to match method signature 2017-11-27 17:32:16 +01:00
Pavle Goloskokovic
f389176362 Added setRate method to BaseSound class that contains logic for applying rate and detune settings to sound so it can be reused in both Web Audio and HTML5 Audio implementations 2017-11-27 17:30:55 +01:00
Richard Davey
6da5409688 Added in all of the Composites helpers. 2017-11-27 16:29:43 +00:00
Richard Davey
f24b808ee5 Added setGravity defaults and fixed nextGroup method. 2017-11-27 16:29:33 +00:00
Pavle Goloskokovic
c253e01cac Merge remote-tracking branch 'origin/master' 2017-11-27 17:22:32 +01:00
Pavle Goloskokovic
881474b7cd Added a TODO to take into account playback rate when pausing and resuming sound 2017-11-27 16:50:45 +01:00
Pavle Goloskokovic
ffc205b400 Calling setRate method on all sound objects when updating global detune value 2017-11-27 16:50:05 +01:00
Pavle Goloskokovic
c57f692c85 Calling setRate method on all sound objects when updating global rate value 2017-11-27 16:49:28 +01:00
Pavle Goloskokovic
9fffd57ad3 Moved sound source not null check from properties' setter methods to setRate method 2017-11-27 16:48:20 +01:00
Pavle Goloskokovic
db06b3d742 Calling setRate in WebAudioSound detune property's setter method 2017-11-27 16:46:42 +01:00
Pavle Goloskokovic
074c60c270 Calling setRate in WebAudioSound rate property's setter method 2017-11-27 16:45:58 +01:00
Pavle Goloskokovic
1fddd3de2a Added setRate method to WebAudioSound class that calculates and sets playback rate based on sound's and manager's detune and rate values 2017-11-27 16:44:23 +01:00
Richard Davey
ac9f5c4360 Added quick support for setCircle, setRectangle, setPolygon and setTrapezoid. 2017-11-27 14:48:09 +00:00
Richard Davey
036e7aecc9 If property is undefined fall back to the default value. 2017-11-27 14:48:09 +00:00
Michael Hadley
bd8a2fa39b More tilemap jsdocs 2017-11-27 07:33:30 -06:00
Michael Hadley
e45bc5c71d PutTileAt: copy all tile properties from source tile 2017-11-27 07:19:20 -06:00
Richard Davey
da5bb7d199 Merge branch 'master' of https://github.com/photonstorm/phaser 2017-11-27 03:46:10 +00:00
Richard Davey
15a2280813 Added basic Graphics debug, fromPath, isPaused and postUpdate. 2017-11-27 03:45:46 +00:00
Richard Davey
af9f7380e8 Added property 2017-11-27 03:45:12 +00:00
Richard Davey
f8fe81dfa1 New setBody component for setting and change body shape 2017-11-27 03:45:03 +00:00
Richard Davey
ff316be41e setFriction can now set all 3 values. 2017-11-27 03:44:31 +00:00
Richard Davey
cd629248d0 fix inertia change in Body.setMass 2017-11-26 23:25:49 +00:00
Richard Davey
bccad674b7 fix point argument of Body.scale 2017-11-26 23:24:16 +00:00
Richard Davey
5862949a4c fix centroid for static compound bodies 2017-11-26 23:19:45 +00:00
Richard Davey
dc7289e539 Fix Vertices.chamfer radius argument 2017-11-26 23:17:12 +00:00
Pavle Goloskokovic
d13fae2260 Preventing negative values for source start call 2017-11-26 18:12:55 +01:00
Pavle Goloskokovic
150c29a8a0 Merge remote-tracking branch 'origin/master' 2017-11-26 17:25:47 +01:00