Commit graph

5768 commits

Author SHA1 Message Date
Richard Davey
134b0f6752 Now handles web audio + html5 audio and config objects properly 2018-05-03 17:13:01 +01:00
Richard Davey
d40b9c2a10 Fixed call 2018-05-03 17:12:44 +01:00
Richard Davey
bce9a4712e Moved to new style of file handling 2018-05-03 17:12:32 +01:00
Richard Davey
669792d3ce Tidying up 2018-05-03 17:12:19 +01:00
Richard Davey
107ca71d6b BitmapText, both static and dynamic, can now take any data-type, including numbers, for the text argument in the constructor. Before they only worked via setText 2018-05-03 15:52:12 +01:00
Richard Davey
47f647206f Added multi atlas support back in. Pack files can now load multi-atlas files too. 2018-05-03 14:19:40 +01:00
Mike Kruk
c0ce45cfa3
Update Base64Decode.js
The array length should be 1/4 the size of the raw binary string, otherwise you end up with a bunch of undefined array values at the end.
2018-05-02 19:39:56 -04:00
Richard Davey
be4303e6e6 Added pack loading support and hardened up loader modifiers. 2018-05-03 00:37:00 +01:00
Richard Davey
04487f7510 Added pendingDestroy method and prefix to the key 2018-05-03 00:36:29 +01:00
Richard Davey
e7f98fc02f No longer needed 2018-05-03 00:35:57 +01:00
Richard Davey
d79db1b739 Added isReadyToProcess method 2018-05-03 00:35:20 +01:00
Richard Davey
267765c72a Refactoring to allow for adding files during load, instant file processing and load packs 2018-05-02 17:25:27 +01:00
Richard Davey
c0f23e119a Removed callback argument and hit the onProcess methods directly 2018-05-02 17:24:56 +01:00
Richard Davey
77dd16dc8d Removed callbacks and added new onProcess methods 2018-05-02 17:24:25 +01:00
Richard Davey
8c51107718 Max Parallel Files limit raised from 4 to 32 2018-05-02 17:23:51 +01:00
Richard Davey
e6a3747291 loader.path doesn't need to be in the config. Added prefix. 2018-05-02 13:11:17 +01:00
Richard Davey
c13c828dc4 lint fix 2018-05-02 11:36:03 +01:00
Richard Davey
28251fd0f5 addToScene added to all Game Object Creators 2018-05-02 10:57:26 +01:00
Richard Davey
a30d5acb9e The Graphics Creator would automatically add the Graphics to the display list by mistake. The default should be to remain hidden. Fix #3637 2018-05-02 10:57:04 +01:00
Richard Davey
a14ce15685 Fixed setActive and setVisible 2018-05-01 12:35:56 +01:00
Richard Davey
80a1ef3a6d Merge branch 'master' of https://github.com/photonstorm/phaser 2018-05-01 12:22:23 +01:00
Richard Davey
e1532b3154 The Scene Systems will emit a ready event when it has fully finished starting up and all plugins are available. Fix #3636 2018-05-01 12:22:18 +01:00
Richard Davey
661ed5f675
Merge pull request #3629 from samme/fix/setEmitZone
Fix `source` checks in ParticleEmitter#setEmitZone
2018-05-01 11:38:52 +01:00
Richard Davey
425acd3f63 Fixed moveAbove and moveBelow 2018-05-01 01:23:34 +01:00
Richard Davey
5d3c06d8b7 ScenePlugin.getIndex will return the index of the given Scene in the Scene List. 2018-05-01 01:23:19 +01:00
Richard Davey
1c4d6551b0
Merge pull request #3635 from snowbillr/arcade-collider-param-types
arcade colliders take gameobjects, not arcade bodies
2018-04-30 14:35:55 +01:00
Bill Reed
a996bbf8df
update collider and overlap param types 2018-04-30 08:44:02 -04:00
Bill Reed
3fc0712451
update collider param types 2018-04-30 08:43:21 -04:00
Bill Reed
e3af569642
update overlap and collide params 2018-04-30 08:42:49 -04:00
Richard Davey
3323b785b2 space-infix fix 2018-04-30 13:03:44 +01:00
Bill Reed
7251824b1d arcade colliders take gameobjects, not arcade bodies 2018-04-30 07:46:46 -04:00
Richard Davey
63dbd9fd12 The Animation Component setProgress method was setting the frame on the wrong object. Fix #3633 2018-04-30 12:37:50 +01:00
Richard Davey
373ebe7d3f Merge branch 'master' of https://github.com/photonstorm/phaser 2018-04-30 12:28:36 +01:00
Richard Davey
9fa74400ab Container.getBounds now checks if it can call getBounds on its children before doing so, as some do not have this method (such as Graphics objects) so they no longer cause the call to crash. Fix #3623 2018-04-30 12:28:26 +01:00
Richard Davey
b9e774cb04
Merge pull request #3632 from snowbillr/fix-arcade-physics-factory-collider-params
Fix arcade physics factory collider params
2018-04-30 12:18:18 +01:00
Richard Davey
abe18a39cf
Merge pull request #3630 from ksmai/fix/jsdoc-grid-align
Fix JSDoc parameter type in Actions.GridAlign
2018-04-30 12:16:30 +01:00
Richard Davey
efe649b318
Merge pull request #3628 from PaNaVTEC/camerajsonbounds-typings
Fix camera bound typings
2018-04-30 12:15:48 +01:00
Richard Davey
eb1c55b91c
Merge pull request #3627 from rexrainbow/master
Remove extra space in each line end
2018-04-30 12:10:16 +01:00
Bill Reed
a50b302216 same for overlap 2018-04-29 11:35:19 -04:00
Bill Reed
b483fc4e1a update arcade collider factory method optional params to match arcade world collider optional params 2018-04-29 11:33:01 -04:00
ksmai
1050deb59f Fix JSDoc parameter type in Actions.GridAlign 2018-04-29 16:25:44 +08:00
samme
5fc6f94c67 Remove source checks in setEmitZone 2018-04-28 13:10:22 -07:00
samme
f59f90d2ca Correct source types in *ZoneConfig definitions 2018-04-28 13:09:59 -07:00
Richard Davey
8d6eb2f9ed More work re-structuring the file types 2018-04-28 18:09:44 +01:00
samme
84ba1ba191 Correct source checks in setEmitZone 2018-04-28 08:41:32 -07:00
Richard Davey
0390af16e9 Moving to unified 'add' structure and removing multiatlas 2018-04-28 12:32:03 +01:00
Christian Panadero
5f03557603 Fix camera bound typings
Bounds where not generated with that syntax so I created an entity to
explictly define the camera bounds.

Bounds are there only when the internal property 'useBounds' is there,
so it can be undefined in some cases.
2018-04-28 12:25:07 +01:00
Rex
0a46d64328 Remove extra space in each line end
Add space only when the word index is greater than last one.
2018-04-28 14:54:59 +08:00
Richard Davey
9a974514ff Added new LinkFile class and updated other file types to use it. 2018-04-27 18:44:12 +01:00
Richard Davey
f289be6bc7
Merge pull request #3625 from iamchristopher/fix-json-loader
Fixed loader isn't passed to JSONFile
2018-04-27 13:00:46 +01:00
Richard Davey
2037cf468b More clarity. #3622 2018-04-27 12:42:37 +01:00
iamchristopher
68687162b5 Fixed JSONFile loader doesn't pass loader to JSONFile 2018-04-26 20:31:32 -04:00
Richard Davey
ef136f684d Polygon.setTo would fail if given an array of arrays as a list of points. Fix #3619 2018-04-26 15:55:27 +01:00
Richard Davey
65c54f4b8d Array.AddAt would fail if it branched to the fast-path within a Container due to an invalid property. Fix #3617 2018-04-26 15:44:56 +01:00
Richard Davey
dbdd5a8d04
Merge pull request #3514 from iamchristopher/feature-multi-image-loader
Fixed loading normals with multi image load
2018-04-26 13:04:49 +01:00
Richard Davey
b2b631534c
Merge pull request #3616 from samme/fix/particles
Fix ParticleEmitter#toJSON() output
2018-04-26 13:03:30 +01:00
Richard Davey
103e0c8727 Updated RandomDataGenerator.shuffle to remove several internal calls as min is always zero 2018-04-26 13:02:13 +01:00
Richard Davey
44314845f5
Merge pull request #3564 from wtravO/master
Added array shuffle method to RDG
2018-04-26 12:38:19 +01:00
Richard Davey
6934d79747
Merge pull request #3613 from samme/fix/3612
Fix no children created from GroupCreateConfig[] (multiple adds)
2018-04-26 12:36:23 +01:00
Richard Davey
17341d3727
Merge pull request #3614 from Fabadiculous/docs
Docs for DegToRad, RadToDeg, Rotate, Within, RoundAwayFromZero and IsEven
2018-04-26 12:34:39 +01:00
Chris Wright
ed51affded
Merge branch 'master' into feature-multi-image-loader 2018-04-25 20:48:06 -04:00
Felipe Alfonso
cf8e2cfd60 added jsdoc comments to WebGLRenderer 2018-04-25 20:30:41 -03:00
Felipe Alfonso
0c90f068fc Added jsdoc comments to WebGLPipeline 2018-04-25 19:52:20 -03:00
Richard Davey
038bbcc7bc Fixed the remaining file types. 2018-04-25 23:16:17 +01:00
Felipe Alfonso
de7568acbb Merge branch 'master' of https://github.com/photonstorm/phaser 2018-04-25 13:18:36 -03:00
Richard Davey
0f0f099326 eslint fixes 2018-04-25 17:18:16 +01:00
Felipe Alfonso
e85c66a2fd Added jsdocs comments to WebGL utils 2018-04-25 13:17:33 -03:00
Richard Davey
074fcbcf2b null references 2018-04-25 17:16:39 +01:00
Richard Davey
9843da1053 Check file cache and pass processing of the file off to the file itself 2018-04-25 17:16:09 +01:00
Richard Davey
a07cc81806 Fixed passing of data for freshly added Scenes 2018-04-25 17:14:10 +01:00
Richard Davey
83a1965cb8 Files types updated to support new cache config value 2018-04-25 17:13:43 +01:00
Richard Davey
75a49d284c Added hasCacheConflict and addToCache methods/ 2018-04-25 17:13:06 +01:00
Richard Davey
1b25755419 The BaseCache has a new method exists that will return a boolean if an entry for the given key exists in the cache or not. 2018-04-25 17:07:39 +01:00
Felipe Alfonso
d2da10c1a9 Added jsdoc comments to TextureTintPipeline 2018-04-25 13:06:19 -03:00
Daniel
78d1c566ef Fix comment alignment 2018-04-25 20:25:29 +10:00
Daniel
9f8d87c23f Fill some description tags in Vector2.js. Fixed some descriptions.
Filled for:
setFromObject
constructor
2018-04-25 20:10:49 +10:00
samme
bd9831912c Don't stringify emitter ops twice 2018-04-24 14:20:23 -07:00
samme
0de5340201 Add 'angle' to configOpMap
It was missing from toJSON() output
2018-04-24 14:20:23 -07:00
Felipe Alfonso
f64b4b9b20 added jsdoc comments to ForwardDiffuseLightPipeline 2018-04-24 16:52:57 -03:00
Felipe Alfonso
7e90dab82f FlatTintPipeline jsdoc comments 2018-04-24 16:30:00 -03:00
Felipe Alfonso
e385d018c5 added comments to ModelViewProjection pipeline component 2018-04-24 16:00:35 -03:00
Felipe Alfonso
426bc4ffd4 BitmapMaskPipeline jsdoc descriptions 2018-04-24 13:53:10 -03:00
Richard Davey
ef24982301 Pending dos 2018-04-24 15:34:55 +01:00
Richard Davey
741d1f5793 Doc pending tags 2018-04-24 15:32:08 +01:00
Daniel
1f50bbd221 Filled many description tags for methods in Vector2.
These include:
reset,dot, normalize, lengthSq, length, distance, distanceSq, negate,
divide, multiply, add, subtract, scale, angle, equals, setTo, set, copy,
clone
2018-04-24 17:40:51 +10:00
Daniel
f347af853f Fix grammar in return statement description DegToRad.js 2018-04-24 16:29:51 +10:00
Daniel
529c35adda Update return statement description in RadToDeg 2018-04-24 16:27:19 +10:00
Daniel
516c8cb29d Update return statement description in DegToRad 2018-04-24 16:26:47 +10:00
Daniel
bad01055e1 Fill description tags in IsEven.js 2018-04-24 16:23:42 +10:00
Daniel
ce4702cbc2 Fill all description tags in RoundAwayFromZero.js 2018-04-24 16:23:26 +10:00
Daniel
bea966f646 Fill in remaining description tags for Within.js 2018-04-24 16:22:52 +10:00
Daniel
2fbb29f79a Fill all description tags in Rotate.js 2018-04-24 16:22:05 +10:00
Daniel
31ed7f7673 Fill all description tags in TadToDeg.js 2018-04-24 13:48:11 +10:00
Daniel
c119d570ee Fill all description tags in DegToRad.js 2018-04-24 13:47:55 +10:00
samme
66f1ff848e Fix no children created from GroupCreateConfig[] (multiple adds)
Fixes #3612
2018-04-23 18:14:36 -07:00
Richard Davey
cd288b33c2 eslint fixes 2018-04-23 23:52:57 +01:00
Richard Davey
84007cd9a4 Merge branch 'master' of https://github.com/photonstorm/phaser 2018-04-23 23:47:18 +01:00
Richard Davey
6ff2cc6ba9 The new CanvasTexture class now working and linked to examples. 2018-04-23 23:46:59 +01:00
Richard Davey
152c68eca3 TextureManager.checkKey will check if a texture key is in-use and log a console warning if it is and then return a boolean. 2018-04-23 23:42:42 +01:00
Richard Davey
649adb51d3 When a TextureSource is destroyed if it's got a canvas texture it's removed from the CanvasPool. 2018-04-23 23:41:05 +01:00