Commit graph

1301 commits

Author SHA1 Message Date
Richard Davey
6d958c5157 jsdoc udpate 2018-04-23 23:39:24 +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
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
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
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
6299019838 Updated to use typeof DefinePlugin check. 2018-04-20 00:23:24 +01:00
samme
0b881e9a4e Add particles docs 2018-04-19 14:05:21 -07:00
Richard Davey
349a95bc4b Updating to 3.6.0 2018-04-19 14:45:45 +01:00
Richard Davey
cfc4528370 Containers no longer in beta. 2018-04-19 14:35:17 +01:00
Richard Davey
3d0be3e20c Group.remove and clear have optional destroyChild arguments 2018-04-19 14:13:46 +01:00
Richard Davey
e14d0c5054 eslint fixes 2018-04-19 13:57:33 +01:00
Richard Davey
cb4eb9e435 Rescoped RetroFont so it's no longer bound to BitmapText 2018-04-19 13:07:59 +01:00
Richard Davey
5b31a51dd5 Rescoped 2018-04-19 12:42:35 +01:00
Richard Davey
32ce8d7947 jsdoc fixes and removed un-used ResetKey file. 2018-04-19 12:30:38 +01:00
Felipe Alfonso
4496e773a7 Removed particle scroll factor property and calculation from canvas rendering 2018-04-18 18:44:09 -03:00
samme
1c0905a103 Fix incorrect active state selection 2018-04-18 08:44:10 -07:00
Richard Davey
23f353326c jsdoc fix 2018-04-18 13:48:25 +01:00
Richard Davey
6e77557375 jsdoc fixes 2018-04-18 13:34:22 +01:00
Richard Davey
b0544c73b8 jsdoc fixes 2018-04-18 13:29:22 +01:00
Richard Davey
d96382f94d Added getFirstNth and getLastNth 2018-04-18 13:28:57 +01:00
Richard Davey
55965c748f jsdoc fixes 2018-04-18 12:13:49 +01:00
Richard Davey
5b4feedcaf Added Group.GetLast 2018-04-18 04:01:06 +01:00
Richard Davey
1be486fab4 destroy only called once, no matter how many times the Scene restarts. Fix #3581 2018-04-17 12:25:45 +01:00
Richard Davey
348aeec4ec
Merge pull request #3580 from jmcriat/patch-1
Delete Texture only applicable on renderer.gl
2018-04-17 02:36:17 +01:00
Richard Davey
07a55e5d1f Removed debug call and merged Scene Systems boot and start sequences. Fix #3579 2018-04-17 02:34:07 +01:00
José Maria
607ce3a9bb
Delete Texture only applicable on render.gl
There is no deleteTexture on this.renderer when running on canvas.
 Destroying tilesprite (scene shutting down) would throw error.
2018-04-16 21:50:04 -03:00
Richard Davey
28e2764723 More jsdoc fixes 2018-04-16 16:02:27 +01:00
Richard Davey
b392dee5a9 More jsdoc fixes 2018-04-16 15:11:51 +01:00
Richard Davey
18585de81d Lots of jsdoc fixes 2018-04-16 14:43:24 +01:00
samme
821fff02b5 Group fixes/changes:
- remove() rejects non-members
- createMultiple() stops creating objects if the Group becomes full
- isFull() returns true if the group size *exceeds* maxSize
- Group() calls createMultiple() only if config.key was passed
2018-04-15 10:38:50 -07:00
Richard Davey
ce7d67297f Moving from 3.4.1 to 3.5.0 so we can release new camera fx and scene transitions 2018-04-15 12:44:47 +01:00
Richard Davey
855f38c649 typo 2018-04-14 17:38:20 +01:00
Felipe Alfonso
1058cff4c8 Fixed issue with inverted coordinates on render texture 2018-04-13 17:33:43 -03:00
Richard Davey
a01535ea78 Group.add and Group.addMultiple now respect the Group.maxSize property, stopping you from over-populating a Group. 2018-04-13 17:59:29 +01:00
Richard Davey
0aba433379 Merge branch 'master' of https://github.com/photonstorm/phaser 2018-04-13 17:20:51 +01:00
Richard Davey
59bc9dd0d9 Added GameObject.ignoreDestroy 2018-04-13 17:20:46 +01:00
Richard Davey
6b2307594a Scene plugin flow overhaul
Every Plugin has been updated to correctly follow the same flow through the Scene lifecycle. Instead of listening for the Scene 'boot' event, which is only dispatched once (when the Scene is first created), they will now listen for the Scene 'start' event, which occurs every time the Scene is started. All plugins now consistently follow the same Shutdown and Destroy patterns too, meaning they tidy-up after themselves on a shutdown, not just a destroy. Overall, this change means that there should be less issues when returning to previously closed Scenes, as the plugins will restart themselves properly.
2018-04-13 17:12:17 +01:00
Felipe Alfonso
d3beb043e2 Added parent to game objects that called CanvasPool.create2D 2018-04-13 12:48:34 -03:00
Richard Davey
52fcf7e7c1
Merge pull request #3557 from Antriel/master
Fix Animation component update()
2018-04-13 12:14:21 +01:00
Richard Davey
8000f9298d
Merge pull request #3554 from samme/docs/group
Add descriptions for Phaser.GameObjects.Group
2018-04-13 12:12:01 +01:00
Antriel
6be6f17bfd Add missing letterSpacing to DynamicBitmapText 2018-04-13 10:50:18 +02:00
Antriel
b52707f79d Fix Animation component pause() 2018-04-13 09:58:33 +02:00
samme
470d2bc08a Add descriptions for Phaser.GameObjects.Group 2018-04-12 20:10:03 -07:00
Richard Davey
a6ef9e09dd Shorter warning 2018-04-12 23:12:23 +01:00
Richard Davey
703f04025b Added warning to docs 2018-04-12 22:49:02 +01:00
Richard Davey
5612336d47 Containers flag 2018-04-12 22:46:46 +01:00
Richard Davey
1802f8b30b GetBounds getTopLeft, getTopRight, getBottomLeft and getBottomRight all have a new optional argument includeParent which will factor in all ancestor transforms to the returned point. 2018-04-12 17:42:16 +01:00
Richard Davey
9269aa7a73 Swapped to using public properties 2018-04-12 16:28:05 +01:00
Richard Davey
f13bbca9c3 Fix getWorldBounds clash 2018-04-12 14:25:46 +01:00
Richard Davey
c57112414a eslint override 2018-04-12 02:18:01 +01:00
Richard Davey
9c0c037d79 Added getIndexList method. 2018-04-12 02:11:17 +01:00
Richard Davey
38626f8556 Added originX/Y properties. Fix #3545 2018-04-11 21:07:41 +01:00
Richard Davey
223c94a783 Merge branch 'master' of https://github.com/photonstorm/phaser 2018-04-11 16:58:52 +01:00
Richard Davey
0e14b43623 Added maxSize, jsdocs and ts def fixes 2018-04-11 16:58:48 +01:00
Felipe Alfonso
5e2699f1a4 Merge branch 'master' of https://github.com/photonstorm/phaser 2018-04-11 12:55:54 -03:00
Felipe Alfonso
23cd9868b4 Added getWorldTransformMatrix to Container and added support to parent container transform to GetBounds component. 2018-04-11 12:55:32 -03:00
Richard Davey
a1e10a4bbc Added missing extends and removed setSF because defaults are 1,1 anyway 2018-04-11 15:39:30 +01:00
Felipe Alfonso
091d947eae Container scroll factor implemented to the render functions 2018-04-11 11:02:04 -03:00
Richard Davey
30d73a0197 Container can now be assigned an arcade physics body 2018-04-11 13:37:38 +01:00
Richard Davey
276ae03aff TODO 2018-04-11 13:17:42 +01:00
Richard Davey
e2a0a4a5a7 Start of getBounds 2018-04-11 13:17:35 +01:00
Richard Davey
2c37ce106d Added default TMs 2018-04-11 13:17:26 +01:00
Richard Davey
e135f132d9 Added missing properties needed for input to work 2018-04-11 11:25:11 +01:00
Sean Bohan
b6480a0db7 Fix animationcomplete event name typo 2018-04-11 04:51:34 +08:00
Felipe Alfonso
14a651e509 Fixed inverted rotation on TransformMatrix 2018-04-10 14:13:23 -03:00
Richard Davey
1fa909081c eslint fixes 2018-04-10 17:35:14 +01:00
Felipe Alfonso
1eaee870c7 Set rotation of container to be negative at render time. Removed unnecessary call to multiply on TransformMatrix rotate 2018-04-10 13:25:13 -03:00
Richard Davey
be7b52b1b9 No longer extends List, but implements its own methods directly. 2018-04-10 15:21:46 +01:00
Richard Davey
68ef6f8630 Removed parentContainer reference 2018-04-10 15:21:04 +01:00
Richard Davey
bf81a7dd06 TransformMatrix.destroy is a new method that will clear out the array and object used by a Matrix internally. 2018-04-10 15:20:50 +01:00
Richard Davey
cdfe2e0ea2 Fixed references 2018-04-10 04:13:38 +01:00
Richard Davey
3c5d3db267 Testing exclusive setting 2018-04-09 17:33:55 +01:00
Richard Davey
ca2a575726 Added jsdocs 2018-04-09 16:46:03 +01:00
Richard Davey
12b6b26838 Merge branch 'master' of https://github.com/photonstorm/phaser 2018-04-09 16:43:37 +01:00
Richard Davey
5c69bd054e Added property getters 2018-04-09 16:42:33 +01:00
Felipe Alfonso
9d39bd7b45 Container alpha added 2018-04-09 12:32:08 -03:00
Richard Davey
381963c014 Removed localToWorld (no longer needed) 2018-04-09 16:01:16 +01:00
Evan Cobb
4270660c31 adding documentation to some files with only one [description] tag 2018-04-08 14:13:02 -05:00
Richard Davey
70bedbdce0 Check if animation exists 2018-04-08 17:01:43 +01:00
Richard Davey
cc1dba4ba9
Merge pull request #3511 from hexus/fix/graphics-generate-texture
Fixed renderCanvas() call in Graphics.generateTexture()
2018-04-07 16:09:32 +01:00
Richard Davey
d1788d8a4c Updated jsdocs 2018-04-07 15:58:08 +01:00
Richard Davey
777325c046 Removed callbacks, added events and added new stop methods 2018-04-07 12:36:35 +01:00
Richard Davey
e0dc28e4ba Fixed lint errors and added jsdocs 2018-04-06 11:15:15 +01:00
Chris Andrew
f70f92b038 Fixed explicit check for undefined GraphicsCanvasRenderer's parentMatrix, which meant null could not be passed as an argument. 2018-04-05 21:07:45 +01:00
Chris Andrew
9293891c82 Fixed renderCanvas() call in Graphics.generateTexture().
Introduced by altering the signature of the Canvas renderers (c232642a).
2018-04-05 19:08:54 +01:00
Felipe Alfonso
0e401bb6fe Fixed order on getWorldTransformMatrix 2018-04-05 14:11:48 -03:00
Richard Davey
eb0f3c3ec1 Added missing Container components 2018-04-05 16:53:40 +01:00
Richard Davey
da6db3f29e Added transform methods 2018-04-05 16:50:37 +01:00
Richard Davey
c3ba80c4e5 Added jsdocs 2018-04-05 16:50:21 +01:00
Richard Davey
7e64b4d624 Automatically remove from display list 2018-04-05 15:28:34 +01:00
Richard Davey
fb04cd4869 Containers are now exclusive 2018-04-05 14:59:57 +01:00
Richard Davey
183896f8ff Added parentContainer property 2018-04-05 14:56:43 +01:00
Richard Davey
13df64c01f Extends List 2018-04-05 13:52:42 +01:00
Richard Davey
6ccb0f2dc4 Accepts optional children array 2018-04-05 13:52:24 +01:00
Richard Davey
e0f95bb3fa Now using proper array 2018-04-05 13:52:11 +01:00