Richard Davey
|
1b5f084640
|
Added jsdoc
|
2018-08-03 00:34:21 +01:00 |
|
Richard Davey
|
eff01adbc9
|
Added divide argument to the Snap methods.
|
2018-08-03 00:34:11 +01:00 |
|
Richard Davey
|
318cc87e59
|
Use proper matrix for static layer, so we can do fun things with Render Textures
|
2018-08-02 22:15:08 +01:00 |
|
Richard Davey
|
8135b687fb
|
Added all the missing cull methods and properties into the Static Tilemap Layer, which is used by the Canvas Renderer
|
2018-08-02 22:14:51 +01:00 |
|
Richard Davey
|
f1d3412c38
|
Corrected data types
|
2018-08-02 22:14:32 +01:00 |
|
Richard Davey
|
66f6f9abc1
|
Removed un-used matrix
|
2018-08-02 22:14:23 +01:00 |
|
Richard Davey
|
0967bfcab4
|
Should use currentContext, not gameContext
|
2018-08-02 17:59:30 +01:00 |
|
Richard Davey
|
217bfd2343
|
Sorting out frame access
|
2018-08-02 17:59:19 +01:00 |
|
Richard Davey
|
96509e4ca4
|
Tidying p
|
2018-08-02 17:59:11 +01:00 |
|
Richard Davey
|
2a8dbb0c42
|
Removed un-used vars
|
2018-08-02 17:33:01 +01:00 |
|
Richard Davey
|
9ccb594958
|
Fixed Graphics Canvas Renderer so it uses the matrix values properly.
|
2018-08-02 17:24:29 +01:00 |
|
Richard Davey
|
c4c8b9e6ea
|
Added copyToContext method
|
2018-08-02 17:23:52 +01:00 |
|
Richard Davey
|
674fc487ec
|
Added missing commands
|
2018-08-02 17:03:41 +01:00 |
|
Richard Davey
|
20b74e746a
|
Fixed parent order
|
2018-08-02 16:19:14 +01:00 |
|
Richard Davey
|
2a66e01577
|
Added source property so we can purge TSs based on origin
|
2018-08-02 16:16:46 +01:00 |
|
Richard Davey
|
7965c7aae4
|
Removed un-needed files.
|
2018-08-02 15:59:29 +01:00 |
|
Richard Davey
|
51163e6d4e
|
If you set window.FORCE_WEBGL or window.FORCE_CANVAS in the window in which the Phaser game is loaded it will over-ride the renderer type setting in your game config, and force either WebGL or Canvas. This is handy for quickly testing the differences between renderers without having to do a new build each time.
|
2018-08-02 15:58:36 +01:00 |
|
Richard Davey
|
b83c8cf513
|
Merged all the functions into the single class and tidied up the naming.
|
2018-08-02 14:58:09 +01:00 |
|
Richard Davey
|
286f36cd1e
|
Added ability for the Canvas Renderer to change context.
|
2018-08-02 14:57:37 +01:00 |
|
Richard Davey
|
122e6cab8a
|
Fixed frame var
|
2018-08-02 12:35:26 +01:00 |
|
Richard Davey
|
affe47714f
|
Render Textures can now save themselves to the Texture Manager.
|
2018-08-02 12:35:17 +01:00 |
|
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 |
|