Commit graph

10677 commits

Author SHA1 Message Date
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
Richard Davey
dd954def9d Updated jsdoc 2018-04-23 23:40:23 +01:00
Richard Davey
0aa071f734 Frame has a new method setSize which allows you to set the frame x, y, width and height and have it update all of the internal properties automatically. 2018-04-23 23:40:12 +01:00
Richard Davey
6d958c5157 jsdoc udpate 2018-04-23 23:39:24 +01:00
Richard Davey
8f2c13f4c8 CanvasPool has a new argument selfParent which allows the canvas itself to be the parent key, used for later removal. 2018-04-23 23:39:12 +01:00
Richard Davey
006d501fbe Added remove method 2018-04-23 19:11:47 +01:00
Richard Davey
54a5bb41c7 Tidying up 2018-04-23 19:11:16 +01:00
Richard Davey
4a58ed3935 The start of a new CanvasTexture class 2018-04-23 18:37:44 +01:00
Richard Davey
d96d677bea TextureSource will automatically create a canvas texture if required and holds a reference to the renderer internally 2018-04-23 18:37:30 +01:00
Felipe Alfonso
1ce2311465 tile culling and clipping progress 2018-04-23 13:45:42 -03:00
Richard Davey
e685c50f8a Clear manager 2018-04-23 17:30:18 +01:00
Richard Davey
649378ed0a Tidied up canvas creation and texture deletion 2018-04-23 17:30:09 +01:00
Richard Davey
e3c28d3cd9 Removed un-needed arguments 2018-04-23 17:28:37 +01:00
Richard Davey
ed2eafb3b3 Code tidying 2018-04-23 00:13:11 +01:00
Richard Davey
ced2d34b34 BitmapMask and GeometryMask both have new destroy methods which clear their references, freeing them for gc. 2018-04-23 00:13:04 +01:00
Richard Davey
d2db5cae89 Merge branch 'master' of https://github.com/photonstorm/phaser 2018-04-22 23:10:18 +01:00
Richard Davey
a7651349f0 Updated change log 2018-04-22 23:10:14 +01:00
Richard Davey
30a0ff02cb
Merge pull request #3600 from samme/docs/particles
Add docs for gameobjects/particles
2018-04-22 23:07:51 +01:00
Richard Davey
f34a507002
Merge pull request #3605 from zilbuz/master
Update GetBounds.getBounds() JSDoc
2018-04-22 23:06:25 +01:00
Richard Davey
0f875359f2
Merge pull request #3607 from Fabadiculous/docs
Docs for GetPhysicsPlugins, Factorial, FloatBetween and Difference
2018-04-22 23:05:29 +01:00
iamchristopher
0b684e5734 Merge remote-tracking branch 'upstream/master' 2018-04-22 15:25:49 -04:00
Daniel
96d1b691fa Add full stop to docs 2018-04-22 17:07:55 +10:00
Daniel
0e3c1064c9 Actually fill in the doc tags, instead of commiting the wrong thing 2018-04-22 17:04:11 +10:00
Daniel
0a422fce0c Add full stops at the end of doc sentences 2018-04-22 17:03:47 +10:00
Daniel
d67559debc Fill all description tags for Phaser.Math.Difference 2018-04-22 17:00:03 +10:00
Daniel
ea1d01b325 Fill all description tags for Phaser.Math.Factorial 2018-04-22 16:59:44 +10:00
Daniel
9701d68af2 Fill all description tags for Phaser.Math.FloatBetween 2018-04-22 16:59:25 +10:00
Daniel
d7c5d8951a Fill all description tags for Phaser.Math.Factorial 2018-04-22 16:53:35 +10:00
Daniel
2c584d3d0e Fill all description tags in GetPhysicsPlugins.js 2018-04-22 16:50:09 +10:00
iamchristopher
674254e5d1 Removed update from CHANGELOG 2018-04-21 16:34:35 -04:00
iamchristopher
85a9014b28 Merge remote-tracking branch 'upstream/master' into feature-multi-image-loader 2018-04-21 16:15:19 -04:00
Pavle Goloskokovic
116e62fafe Setting locked lag only if there are locked audio tags 2018-04-21 20:09:18 +02:00
Pavle Goloskokovic
eec19e146a Removing locked actions from queue before performing it 2018-04-21 20:08:25 +02:00
Pavle Goloskokovic
923ac40d65 No need for resetting lockedActionsQueue 2018-04-21 20:06:14 +02:00
Pavle Goloskokovic
53b69f036c Removed assigning lockedActionsQueue to empty array since it is initialized in constructor 2018-04-21 20:02:48 +02:00
Pavle Goloskokovic
f89a11793f Initializing lockedActionsQueue in constructor 2018-04-21 19:58:52 +02:00
samme
711d2a6193 Minor additions and corrections to docs 2018-04-20 21:00:19 -07:00
Richard Davey
606ba6d8d7 Added new Mask component and added to all relevant Game Objects 2018-04-20 18:57:49 +01:00
Richard Davey
9cd2565c6e Added new SHADER_REQUIRE 2018-04-20 18:57:34 +01:00
Richard Davey
445439e253 The Texture Manager will now emit an addtexture event whenever you add a new texture to it, which includes when you load images files from the Loader (as it automatically populates the Texture Manager). Once you receive an addtexture event you know the image is loaded and the texture is safe to be applied to a Game Object. 2018-04-20 18:57:23 +01:00
Basile Desloges
a7fc306329 Update GetBounds.getBounds() JSDoc so that @generic matches with @param and @return 2018-04-20 17:55:32 +02:00
samme
8b939d7790 Omit EmitterOpEmitConfig, EmitterOpUpdateConfig 2018-04-20 06:51:31 -07:00
Richard Davey
84fa696f97 Merge branch 'master' of https://github.com/photonstorm/phaser 2018-04-20 14:03:10 +01:00
Richard Davey
6626fae27d eslint fix 2018-04-20 14:03:06 +01:00
Richard Davey
1185586b23 Web Audio context.close now picks up the Promise. 2018-04-20 14:01:57 +01:00
Richard Davey
d50cb2505f
Merge pull request #3599 from wtravO/JSDocFix
Fixed bug in AnimationConfig jsdoc and filled in several empty descriptions
2018-04-20 13:55:43 +01:00
Richard Davey
e3aa437340 DataManagerPlugin would throw an error on Game.destroy if you had any Scenes in the Scene Manager had not been run. Fix #3596 2018-04-20 13:34:45 +01:00
Richard Davey
4018d6ab39 Added require.extensions and eslint rule. Fix #3598 2018-04-20 01:10:04 +01:00