Commit graph

1229 commits

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