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
Richard Davey
ba4693d140
jsdoc fix
2018-04-05 13:51:37 +01:00
Richard Davey
85671883e8
Tidying up
2018-04-05 11:25:22 +01:00
Richard Davey
c1517d60ed
eslint fixes
2018-04-05 09:28:04 +01:00
Richard Davey
054ceafae0
Added jsdocs to Container and made add
support arrays
2018-04-05 09:23:29 +01:00
Richard Davey
4f6239dadb
jsdoc and eslint fixes
2018-04-05 09:02:36 +01:00
Felipe Alfonso
e02efcfeb3
Merge branch 'master' into containers
2018-04-04 14:06:24 -03:00
Felipe Alfonso
c232642a52
Parent matrix is applied to canvas context on each draw function
2018-04-04 14:05:59 -03:00
Richard Davey
9f9c7dea61
Added setProgress
2018-04-04 17:19:02 +01:00
Felipe Alfonso
eafb488e25
Merge branch 'master' into containers
2018-04-04 13:15:42 -03:00
Felipe Alfonso
96b8db4685
Added parentMatrix to all canvas rendering functions
2018-04-04 13:14:55 -03:00
Felipe Alfonso
7b275e2c62
DrawImage works with parent matrix
2018-04-04 12:31:45 -03:00
Richard Davey
fa2320238e
More jsdocs fixes and staggerPlay fix
2018-04-04 16:27:33 +01:00
Felipe Alfonso
5026566084
Container Canvas Rendering function
2018-04-04 12:22:10 -03:00
Richard Davey
e734e7ef6b
Extensive Animation API changes to use milliseconds, improve docs and access to properties
2018-04-04 16:13:45 +01:00
Felipe Alfonso
bea7ca36ad
Merge branch 'master' into containers
...
# Conflicts:
# src/renderer/webgl/pipelines/TextureTintPipeline.js
2018-04-04 12:07:41 -03:00
Richard Davey
552cfe3c5e
Animation Component overhaul
2018-04-04 14:44:09 +01:00
Richard Davey
c251eceaf6
jsdoc fixes
2018-04-04 14:43:53 +01:00
Richard Davey
51d29b818d
Animation.updateFrame will now call setSizeToFrame
on the Game Object, which will adjust the Game Objects width
and height
properties to match the frame size. Fix #3473
2018-04-04 13:14:41 +01:00
Richard Davey
96507beda1
Added setLetterSpacing
method and exported value in toJSON
( #3480 )
2018-04-04 11:34:39 +01:00
Richard Davey
af12eaac77
Merge branch 'master' into FR3472
2018-04-04 11:28:58 +01:00
Richard Davey
dac030dd3e
Graphics.slice allows you to easily draw a Pacman, or slice of pie shape to a Graphics object.
2018-04-04 11:13:19 +01:00