Richard Davey
7566236d9b
Added isRenderTexture
property.
2018-08-02 12:34:57 +01:00
Richard Davey
261cb79d0d
Added addRenderTexture
method.
2018-08-02 12:34:01 +01:00
Richard Davey
3efc800bf7
Use global string to cut down on size a little.
2018-08-02 12:33:48 +01:00
Richard Davey
72d54dd1ac
Only clear if dirty. Only render children is visible.
2018-08-01 20:25:55 +01:00
Richard Davey
c9e0963696
Added dirty fag
2018-08-01 20:25:40 +01:00
Richard Davey
a11b059531
Draw a whole Scene now!
2018-08-01 18:28:14 +01:00
Richard Davey
c9efa21cfd
Added getChildren to keep inline with Group
2018-08-01 18:28:06 +01:00
Richard Davey
9bc71dc676
New handler so RenderTextures can draw any game object, group or container
2018-08-01 18:02:21 +01:00
Richard Davey
56a0b3b3bf
Expose more functions (until we tidy this up)
2018-08-01 18:02:05 +01:00
Richard Davey
86b829efa6
Blank the texture after drawing
2018-08-01 18:01:54 +01:00
Richard Davey
d50b72dd14
Fixed Group creation arguments
2018-08-01 18:01:36 +01:00
Richard Davey
46552c8f2e
Remove strict check
2018-08-01 16:04:08 +01:00
Richard Davey
f540d03346
Removed un-needed checks (willRender
handles it now)
2018-08-01 16:03:58 +01:00
Richard Davey
2220faba49
Removed un-used method
2018-08-01 15:20:10 +01:00
Richard Davey
9977497137
Fixed Group config / children detection
2018-08-01 15:19:56 +01:00
Richard Davey
7ebf5766e8
Added docs for blankTexture and setBlankTexture.
2018-08-01 13:23:03 +01:00
Richard Davey
73524df816
The Game boot event flow has changed slightly. The Game will now listen for a texturesready
event, which is dispatched by the Texture Manager when the default textures have finished processing. Upon receiving this, the Game will emit the ready
event, which all the other systems listen for and respond to. The difference is that the Renderer uses the texturesready
event to ensure that it is the first thing to be activated, before any other system.
2018-08-01 13:18:28 +01:00
Richard Davey
94e4411ac1
Testing RenderTexture updates to allow any GameObject to be drawn to it
2018-08-01 00:01:16 +01:00
Richard Davey
a4db967b19
Added 4 temp matrices to the Canvas renderer.
2018-07-31 23:23:04 +01:00
Richard Davey
030911cf60
Log update
2018-07-31 23:22:45 +01:00
Richard Davey
7313573161
The ParticleEmitterManager
now has the Transform component. This means you can now set the position, rotation or scale of the Emitter Manager, and it will influence every Emitter it is rendering. The Managers transform is mixed with that of the Camera. This works in both Canvas and WebGL.
2018-07-31 23:21:07 +01:00
Richard Davey
c3cc4317dd
Particle.color
has been removed as it's now calculated during rendering to allow for Camera alpha support.
2018-07-31 23:18:49 +01:00
Polar stoat
beaedc12e8
Fix documentation formatting
...
Add fullstops to end of each line
Fix JSDoc formatting for properties that take multiple types
2018-07-31 20:36:54 +01:00
Richard Davey
bc40830f00
Log update
2018-07-31 17:10:46 +01:00
Richard Davey
9d7ec132a4
Refactoring RenderTexture to remove the matrix stack and add in support for drawing Game Objects and arrays of them
2018-07-31 17:10:26 +01:00
Richard Davey
be379fd3a1
Added batchTextureFrame method
2018-07-31 17:10:02 +01:00
Richard Davey
a3fc263360
Binding a framebuffer sets the viewport size
2018-07-31 17:09:47 +01:00
Richard Davey
8cb812bbec
Merged jsdocs (re: #3823 )
2018-07-31 15:13:21 +01:00
Richard Davey
84ae027665
lint fix
2018-07-31 12:59:11 +01:00
Richard Davey
718d72b4c8
Container child willRender check. Fix #3881
2018-07-31 12:57:31 +01:00
Richard Davey
98578a61b3
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-07-31 11:53:05 +01:00
Richard Davey
f26f78f0fe
Updated log
2018-07-31 11:53:02 +01:00
Richard Davey
a29aba0a11
Merge pull request #3859 from samme/feature/plugin-data
...
Pass `data` value to global plugins
2018-07-31 11:39:36 +01:00
Richard Davey
eb30a2118b
Merge pull request #3872 from ampled/master
...
add typedef for SpriteConfig and allowed GameObject#update signature override
2018-07-31 11:38:06 +01:00
Richard Davey
fa2b78192c
The CameraManager
was accidentally adding extra destroy event calls when a Scene was restarted, causing an Uncaught TypeError: Cannot read property 'events' of null
when trying to destroy a game instance having swapped from a Scene to another, and back again. Fix #3878
2018-07-31 11:34:59 +01:00
Richard Davey
d0f3d85cbd
Iterate from front to back for destroy
2018-07-31 11:33:38 +01:00
Richard Davey
5aafad5f88
Don't process events if the manager has been removed
2018-07-31 11:33:18 +01:00
Richard Davey
7e73024d83
Added new noReturn
destroy boolean for when you absolutely want to nuke the site from orbit.
2018-07-31 10:29:11 +01:00
Richard Davey
063a432ec9
Destroy will now clear out all custom plugins. Fix #3856
2018-07-31 10:28:36 +01:00
Richard Davey
75db482ec6
Added destroyCustomPlugin and destroyCorePlugin
2018-07-31 10:28:09 +01:00
Richard Davey
3d23013b86
Body setSize changes to fix #3863 PR
2018-07-31 09:39:22 +01:00
Richard Davey
872a7c792f
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-07-31 09:31:16 +01:00
Richard Davey
e799a0557a
Updated log
2018-07-31 09:31:13 +01:00
Richard Davey
16234491f2
Merge pull request #3863 from tarsupin/patch-2
...
Empty params reset to current texture size
2018-07-31 09:31:05 +01:00
Richard Davey
5033eb030f
Merge pull request #3875 from Yudikubota/hotfix/fix-missing-characters-in-the-docs
...
Adding missing ' in the docs
2018-07-31 09:29:55 +01:00
Chris Andrew
1ceec99306
Added missing property documentation to FixedKeyControlConfig ( #3874 , thanks @guzmonne).
2018-07-31 00:36:04 +01:00
Chris Andrew
634edcf538
Fixed Graphics.generateTexture() causing a runtime error ( #3879 ).
...
The Graphics object had new dependencies (1a62a356
) that were not provided when the static Graphics.TargetCamera object was used by the Graphics.generateTexture() method. Providing a Graphics instances scene object to the TargetCamera at texture rendering time resolved the issue.
2018-07-30 23:02:40 +01:00
Chris Andrew
157dc59999
Fixed invalid syntax in the HTMLFile's loader file type documentation example ( #3873 ).
2018-07-30 19:01:53 +01:00
Chris Andrew
3141510fdf
Fixed invalid syntax in some loader file type documentation examples ( #3873 ).
2018-07-30 18:52:53 +01:00
yudi.kubota
5600463264
Adding missing ' in the docs
2018-07-29 15:13:51 -03:00