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
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
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
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
16234491f2
Merge pull request #3863 from tarsupin/patch-2
...
Empty params reset to current texture size
2018-07-31 09:31:05 +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
Richard Davey
a8b605f42d
Zone now calls updateDisplayOrigin
in its constructor, causing the displayOriginX
and displayOriginY
values to now be correct if you create a Zone and then don't resize it. Fix #3865
2018-07-29 12:34:21 +01:00
Richard Davey
189c2c7e0f
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-07-29 12:24:17 +01:00
Richard Davey
7fe9167657
The alpha
value is now always set for Render Textures in canvas mode, regardless of the previous alpha value in the renderer
2018-07-29 12:23:52 +01:00
Richard Davey
a1ae1744ac
RenderTexture.preDestroy
will now release the canvas back to the CanvasPool if running in canvas mode
...
Also removed un-used `drawFrame` references.
2018-07-29 12:20:09 +01:00
Richard Davey
34b27fd57a
ParticleEmitter
would fail to draw a textured particle in Canvas mode
2018-07-29 12:16:42 +01:00
Richard Davey
56e1e04da3
RenderTexture.draw
would fail to draw the frame in Canvas mode
2018-07-29 12:10:28 +01:00
Richard Davey
7e55d5adac
BlitterCanvasRenderer
would fail to render a Bob in Canvas mode if it was flipped
2018-07-29 12:09:03 +01:00
Eirik Slinning Korsnes
09113cb7a3
wrap ({number|string)}
2018-07-29 12:47:33 +02:00
Richard Davey
27d0bd8a9b
Merge pull request #3844 from samme/fix/closest-furthest
...
Fix ArcadePhysics#closest, furthest
2018-07-29 11:45:22 +01:00
ampled
50c787a9c8
- add typedef for SpriteConfig extends GameObjectConfig
...
- allow update-function signature to be overriden by GameObject subclasses
2018-07-29 12:19:04 +02:00
Richard Davey
72dbfcd9f4
jsdoc path fix
2018-07-28 21:37:51 +01:00
Richard Davey
162e910d18
Added intent methods and leaderboard score class
2018-07-27 11:19:41 +01:00
Richard Davey
6749417ef3
lint fix
2018-07-27 11:19:19 +01:00
Richard Davey
08b7d00ce9
Fixed base64 method
2018-07-27 11:19:12 +01:00
Richard Davey
939fc24088
Added lots of new API calls
2018-07-27 09:43:21 +01:00
Richard Davey
c1111753f0
Added getBase64 method
2018-07-27 09:43:12 +01:00
Richard Davey
c65e3c7428
Added FB Instant Games Plugin to core (will prepare for moving to unique build once feature complete)
2018-07-27 08:33:51 +01:00
Richard Davey
1abe90433f
Updated log and docs
2018-07-27 02:49:05 +01:00
Richard Davey
a63acd0427
Updated docs.
2018-07-27 02:40:56 +01:00
Richard Davey
9331c15c48
Updated to use tint object.
2018-07-27 02:14:08 +01:00
Richard Davey
6027b65500
Added fill gradient and line gradient methods
2018-07-27 02:13:58 +01:00
Richard Davey
0c50b0eba8
Typo
2018-07-27 02:13:41 +01:00
Richard Davey
4481795d32
Swapped to using getX / getY
2018-07-27 00:53:00 +01:00
Richard Davey
8873bdcbf6
Fixed pipeline method call
2018-07-26 23:50:54 +01:00
Richard Davey
6877582531
Removed un-used pipeline and shaders
2018-07-26 23:43:49 +01:00
Richard Davey
4bdecf488b
jsdocs tweaks
2018-07-26 23:41:52 +01:00
Richard Davey
a09c2a4958
Now uses customViewports counter to avoid scissor setting and skips box check
2018-07-26 23:05:25 +01:00
Richard Davey
f2290abf9b
Added new customViewports counter
2018-07-26 23:05:08 +01:00
Richard Davey
1a62a3563e
Added refs to config and Scene Manager and new customViewport bool
2018-07-26 23:04:53 +01:00
Richard Davey
1777e16227
Sorting out the scissor stack
2018-07-26 17:50:07 +01:00
Richard Davey
d093f35e5c
Merged all of the required FTP methods into TTP.
2018-07-26 16:34:04 +01:00
Richard Davey
cc3ed1659e
Lint fix.
2018-07-26 16:33:51 +01:00
Richard Davey
e0c0db5f8e
Final bit of tidying up before merging this with the TTP.
2018-07-26 16:33:43 +01:00
Richard Davey
90219d46b3
Removed all references to the FlatTintPipeline.
2018-07-26 16:33:29 +01:00
Richard Davey
5dbd7591cd
Graphics now using the TextureTintPipe. Farewell draw calls!
2018-07-26 16:33:02 +01:00
Richard Davey
e851209b41
Camera effects using the new drawFillRect
method.
2018-07-26 16:32:31 +01:00
Richard Davey
947d301f42
Removed the unit batch from TTP and put it into FDLP
2018-07-26 15:31:44 +01:00
Richard Davey
bda9159cb0
Textures now use the frame UV values.
2018-07-26 15:05:10 +01:00
Richard Davey
d3e07b519a
Added setBlankTexture method
2018-07-26 15:04:46 +01:00
Richard Davey
1cc0e7d5e5
Moved the rendering code from the pipeline to the Graphics object
2018-07-26 15:04:35 +01:00
Richard Davey
620c5a3360
Added Graphics.setTexture and a clear texture command
2018-07-26 15:04:19 +01:00
Richard Davey
7acbbcf58a
Fixed linejoin, added arc and triangle, tidying up code
2018-07-26 13:49:05 +01:00
Richard Davey
39a6622623
Working on joints
2018-07-26 09:58:33 +01:00
Thomas Felix
43f6b1d231
fix: Corrects the wrong JSdoc comments
...
Wrong comments lead to a faulty Typescript Definition file missing
the depth attribute.
2018-07-25 22:13:38 +02:00
Richard Davey
3a2fcd0951
Updated path drawing, sorting out line-cap differences with Canvas
2018-07-25 17:04:44 +01:00
Richard Davey
9d11b93b05
Updated shader
2018-07-25 13:06:22 +01:00
tarsupin
79d64abaa3
Add spaces after ifs
2018-07-24 20:06:18 -05:00
tarsupin
2e72c9966b
Reset body to match current frame
...
When using setSize, empty height and width will automatically assign to match the current frame of the game object.
2018-07-24 20:05:51 -05:00
tarsupin
7af6e5477f
Empty params reset to current texture size
...
If the width and height aren't provided, it resets the body's size to match the current frame of the game object's texture.
2018-07-24 19:53:41 -05:00
Richard Davey
4c25d12b44
Recoding the FTP. Rects and Tris working again.
2018-07-25 01:27:03 +01:00
Richard Davey
9e40b16e4f
Added getX and getY to cut down on code in pipelines.
2018-07-25 01:26:41 +01:00
Richard Davey
7ccd469048
Updated the jsdocs.
2018-07-25 00:18:45 +01:00
Richard Davey
05a6275d9a
Added copyToArray method.
2018-07-25 00:18:33 +01:00
Richard Davey
0516fd47f7
The Flat Tint Pipeline is now using the same shader as the Texture Tint
...
Time to make sure no texture swaps happen and we can finally have Graphics mixed with Sprites in the display list with no swapping cost (and soon, no flush cost either when we unify the pipelines)
2018-07-24 17:07:26 +01:00
Richard Davey
8c19c2bef9
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-07-24 16:40:39 +01:00
Richard Davey
ac108db9cc
Moving towards tidying up the FTP
2018-07-24 16:40:29 +01:00
Richard Davey
50de14b132
Merge pull request #3857 from khaleb85/master
...
Added reverse animation feature (issue: #3837 )
2018-07-24 13:41:10 +01:00
khaleb
2f6f8b2190
fix keyword-spacing
2018-07-24 09:36:15 -03:00
khaleb
6b81bc78a3
added since 3.12.0 in new methods, fixed keywords-spacing issue, renamed 'revert' method to 'reverse'
2018-07-24 09:28:56 -03:00
samme
4c23359fd8
Pass data
value to global plugins
2018-07-23 10:51:00 -07:00
Richard Davey
f2c5f9f4d3
Merge pull request #3853 from Edwin222/master
...
Add ability to play animation reverse(#3837 ) and some comment to TextureManager.js
2018-07-23 14:00:27 +01:00
Richard Davey
9df7fbaa68
Adding an array of children to a Group would cause it to mistakenly think you were passing a config object. Fix #3854
2018-07-23 13:29:39 +01:00
Kwondo Park
a0cc602569
cancel reverse animation
2018-07-23 14:21:31 +09:00
Richard Davey
521138e9d8
setBlendMode now returns a boolean
2018-07-23 01:39:32 +01:00
Richard Davey
fc5eb2511c
Particles using a blend mode wouldn't render correctly after the updates in 3.11. If the blend mode changes during the processing of an emitter manager it'll now correctly rebind the texture, stopping the particles from vanishing. Fix #3851
2018-07-23 01:39:21 +01:00
Shukizu
8da8fbedd1
fix animations with yoyo mode (issue: #3837 )
2018-07-22 14:57:07 -03:00
Shukizu
bb17c82bf9
Added 'playReverse' method, and extracted part of play method (issue #3837 )
2018-07-22 12:42:59 -03:00
Shukizu
ebc9d8d96d
Add a 'revert' function that can revert the flow of a animation at any time (issue #3837 )
2018-07-22 11:44:57 -03:00
Kwondo Park
98ceb32946
Fix trailing space in code
2018-07-21 20:11:07 +09:00
Edwin222
16eae3887e
Add ability to play animations in reverse
2018-07-21 19:50:47 +09:00
Edwin222
9053ca456b
Merge remote-tracking branch 'upstream/master'
2018-07-21 17:26:29 +09:00
Richard Davey
4f6790f450
Trying not rotate. Speed was the same :)
2018-07-20 17:50:01 +01:00
Richard Davey
c1a4fb0092
typo
2018-07-20 17:49:49 +01:00
Polar stoat
44e4e7162d
Add AnimationManager.generateFrameNumbers documentation
2018-07-20 11:55:39 +01:00
Richard Davey
7b50a87c3e
Added getChild methods
2018-07-19 16:22:58 +01:00
Richard Davey
46af5cb24e
Fixed style join
2018-07-19 16:22:51 +01:00
Richard Davey
d16e844910
Removed bind polyfill as it's in IE9+ anyway
2018-07-19 16:22:43 +01:00
Richard Davey
106e32a4f5
Removed un-used imports
2018-07-19 13:26:11 +01:00
Richard Davey
de4428ac52
Added willRender override and start of event handling
2018-07-19 13:22:13 +01:00
Richard Davey
6a3274b483
Removed redundant code
2018-07-19 13:21:59 +01:00
Richard Davey
2a008e6713
FileType.HTML
is a new file type loader that will load an HTML snippet and store it in the new html
cache. Access it via load.html
(this method was previously used to load html to textures, please see load.htmlTexture
for this feature now)
2018-07-19 13:21:51 +01:00
Richard Davey
675cb3b59a
Added HTML Cache
2018-07-19 13:19:24 +01:00
Richard Davey
0ac877be0b
Removed z-index and tidied up style
2018-07-19 13:19:14 +01:00
Richard Davey
ec5bd1912e
GameObject.willRender
now takes a Camera as its only argument and uses it within the check. This has allowed me to remove 23 duplicate checks spread across the various Game Objects, all of which did the same thing, saving both KB and CPU time as the flags were being checked twice in most cases.
2018-07-19 13:19:02 +01:00
Richard Davey
e2dbbcdbb0
Inline and added create methods
2018-07-19 00:42:28 +01:00
samme
7ebc7dd01f
Fix ArcadePhysics#closest, furthest
2018-07-18 16:23:38 -07:00
Richard Davey
ceb466748a
Updated DOM Element to fix transforms
2018-07-19 00:22:38 +01:00
Richard Davey
d6fb66789f
Added getCSSMatrix
2018-07-19 00:22:10 +01:00
Richard Davey
ab35dfab95
The setCrop
method stored its crop object on the prototype chain by mistake, causing all Images or Sprites that were cropped to display the same frame. The crop data has been moved to the Game Object instance, where it should be, fixing this issue
2018-07-19 00:18:09 +01:00
Richard Davey
0ed4766fe3
Added start of the new DOM Element Game Object
2018-07-18 17:23:04 +01:00
Richard Davey
c741469894
Added optional DOM Container parent and config values
2018-07-18 17:22:52 +01:00
Richard Davey
20f1b37256
eslint fix and log update
2018-07-18 15:06:56 +01:00
Richard Davey
b6a1033dbd
Fixed Camera FX for scaled camera sizes
2018-07-18 15:03:06 +01:00
Richard Davey
14ba51d928
Added Text.setResolution methods.
2018-07-18 14:45:10 +01:00
Richard Davey
25e4993e6f
Added x and y getters and new scaled viewport values
2018-07-18 14:32:47 +01:00
Richard Davey
0db16889e6
Use new Camera viewport values
2018-07-18 14:32:06 +01:00
Richard Davey
3bc6eba718
Removed incorrect resolution multiplication and used updated camera viewport
2018-07-18 14:31:45 +01:00
Richard Davey
fb4f28bb01
Testing resolution input
2018-07-17 23:26:40 +01:00
Richard Davey
1c473afa84
Cameras draw their backgrounds correctly at higher resolutions
2018-07-17 23:26:30 +01:00
Richard Davey
e0fdc33928
SM mock
2018-07-17 22:44:21 +01:00
Richard Davey
94540e112e
Text supports high dpi resolution for its internal canvas
2018-07-17 22:44:12 +01:00
Richard Davey
6ddd1644f2
Canvas now uses game config resolution
2018-07-17 22:43:52 +01:00
Richard Davey
16d597c983
Fixed jsdoc references
2018-07-17 11:43:09 +01:00
Richard Davey
5ada70409e
Modified tile sizes.
2018-07-16 15:20:46 +01:00
Richard Davey
7ec36752dc
Merge pull request #3830 from kelostrada/master
...
Update AudioFile.js
2018-07-16 14:57:36 +01:00
Richard Davey
0cc52f6002
Swapped 4 ternaries for a single conditional #3834
2018-07-16 14:55:51 +01:00
Richard Davey
f723d0e18a
Merge pull request #3834 from tarsupin/patch-2
...
Major Optimization for Culling Tilemaps
2018-07-16 14:44:35 +01:00
Richard Davey
c8b058c26a
Renamed object to avoid TS defs conflict
2018-07-16 10:28:28 +01:00
tarsupin
ad24a0b8ec
Removed repetative code.
2018-07-14 20:09:36 -05:00
tarsupin
00a38f744a
Switching tabs to spaces
2018-07-14 14:41:13 -05:00
tarsupin
9ac505d5cc
Build is requiring me to pre-declare x, y, tile.
2018-07-14 14:38:19 -05:00
tarsupin
4fa3dc7159
Update CullTiles.js
2018-07-14 14:30:15 -05:00
tarsupin
e3d64c63b3
Major Optimization for Culling Tilemaps
...
Refine the loop to only scan through the drawn boundaries that are being tested against (except when skipping cull). This eliminates a huge bottleneck / lookup time from the original loop each frame.
The update should affect tilemaps exponentially based on their size. It reduced my culling time to 1/70th for 1000x1000 tilemaps, and by about 1/20th on 250x250 tilemaps. It also reduced my requestAnimationFrame time from over 16ms per frame to ~1ms for the larger map.
2018-07-14 14:14:55 -05:00
samme
b7ca32eb40
Copy custom properties in createFromObjects()
...
Closes #3808
2018-07-14 09:43:21 -07:00
Edwin222
a137883628
Merge remote-tracking branch 'upstream/master'
2018-07-14 17:00:38 +09:00
Bartosz Kalinowski
264c82fbcb
Update AudioFile.js
...
fix error
2018-07-14 07:50:00 +02:00
Richard Davey
41f9277803
Preparing for 3.12 development
2018-07-13 17:28:08 +01:00
Richard Davey
05e6f65d51
3.11 Release
2018-07-13 11:37:57 +01:00
Richard Davey
42c3fc5f6b
Better normal map handling
2018-07-13 11:14:22 +01:00
Richard Davey
66ee2ac973
Bumped version
2018-07-13 11:14:13 +01:00
Richard Davey
eee96cd2d3
setPipeline
returns the Game Object, not the pipeline, to be consistent.
2018-07-13 11:14:08 +01:00
Richard Davey
4843d7eefe
Pipelines have a boot handler now.
2018-07-13 11:13:46 +01:00
Richard Davey
61954dedcb
Added checkDown
method and related properties.
2018-07-13 11:13:32 +01:00
Richard Davey
aa9ba84766
Merge pull request #3741 from TadejZupancic/patch-5
...
Zone inside a Container fix
2018-07-13 08:30:13 +01:00
Richard Davey
b4ddd44105
Added cullCallback
support - the final step in culling. Don't like ours? Roll your own!
2018-07-12 17:06:36 +01:00
Richard Davey
8981cf4a03
Swapped from vec2 to explicit values for cullPadding
2018-07-12 16:51:54 +01:00
Richard Davey
b03d3ff783
Added support for cull padding
2018-07-12 16:44:36 +01:00
Richard Davey
e66cf4e00b
Adjusted bounds +- 1 tile
2018-07-12 16:32:25 +01:00
Richard Davey
4b607a3cca
Removed cull tests
2018-07-12 16:32:12 +01:00
Richard Davey
12c6736c67
Stats recorded in tilesDrawn
and tilesTotal
.
2018-07-12 16:12:55 +01:00
Richard Davey
89db84377e
Added skipCull
property and setSkipCull
method
2018-07-12 15:31:25 +01:00
Richard Davey
a8fa98e39b
Skip all rendering if alpha <= 0
2018-07-12 15:31:00 +01:00
Richard Davey
646861425f
Added Camera.worldView
property and adjusted it to the correct values each frame.
2018-07-12 15:08:29 +01:00
Richard Davey
a447d85401
CullTiles recoded to use Camera worldView - finally, properly culling, regardless of layer scale or camera zoom! Fix #3818
2018-07-12 15:07:45 +01:00
Richard Davey
869087044b
Starting work on proper tile culling
2018-07-12 01:14:34 +01:00
Richard Davey
d9ac16bcb0
Shorter texture path
2018-07-12 01:14:02 +01:00
Richard Davey
2924874236
Added docs
2018-07-12 01:13:47 +01:00
Richard Davey
072cc0e21b
Added dirty Camera support and updated internal properties to set the flag
2018-07-12 01:13:34 +01:00
Richard Davey
a0bf5b6ad2
Removed all the batch functions and consolidated into a single function and callback
2018-07-11 16:55:18 +01:00
Richard Davey
13776e5116
Fixed argument order.
2018-07-11 16:54:48 +01:00
Richard Davey
51f94cd444
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-07-11 16:25:26 +01:00
Richard Davey
efb5eb09c5
Starting refactor
2018-07-11 16:24:58 +01:00
Richard Davey
05985417b3
Allow config setting values. Gets custom pipelines working again.
2018-07-11 16:24:45 +01:00
Richard Davey
5a5bea1ce5
Allow GO to be passed to onBind
2018-07-11 16:24:20 +01:00
Richard Davey
e388b7dae5
Tidy up
2018-07-11 16:23:57 +01:00
Richard Davey
5ba80defb7
Pass GO to setPipeline
2018-07-11 16:23:44 +01:00
Chris Andrew
0858797599
Minor documentation fix for BitmapText.getTextBounds().
2018-07-11 14:50:23 +01:00
Richard Davey
82b15c8695
Removed drawEmitterManager
and moved to emitter render function
2018-07-11 14:40:36 +01:00
Richard Davey
853281fe56
Double flusher
2018-07-11 13:22:07 +01:00
Richard Davey
373d01c602
Fixed emitter batch. Now to optimize it.
2018-07-11 13:20:02 +01:00
Richard Davey
497fa1f2ff
Added copyFromArray method
2018-07-11 12:36:49 +01:00
Richard Davey
ef79edf1ff
New pipeline function call
2018-07-11 12:35:23 +01:00
Richard Davey
b7edbe755f
Tidying up function
2018-07-11 12:35:09 +01:00
Richard Davey
e2efa469ae
Removed drawTexture and added drawTextureFrame - fixed Render Texture flip Y issue
2018-07-11 12:34:53 +01:00
Richard Davey
cced09bad6
Added Pointer.prevPosition and getInterpolatedPosition method
2018-07-11 12:34:00 +01:00
Richard Davey
1a7d726a4b
jsdoc udpate
2018-07-11 12:33:40 +01:00
Richard Davey
5b3a5e115b
Started consolidating drawTexture method
2018-07-10 17:18:00 +01:00
Richard Davey
9c9e9cecbb
Updated log and lint fixes
2018-07-10 16:49:53 +01:00
Richard Davey
5fe74453fe
Extends BitmapText, to save on lots of space
2018-07-10 16:33:13 +01:00
Richard Davey
e145b6b7d3
Fixed Dynamic Bitmap Text Rendering
2018-07-10 16:33:01 +01:00
Richard Davey
340c53875c
Added new temp matrix, fixed typo, removed old function
2018-07-10 16:32:44 +01:00
Richard Davey
5128eecbeb
Cached the drawing buffer height
2018-07-10 16:32:28 +01:00
Richard Davey
469f6b6880
TransformMatrix.multiply
has a new optional argument out
which is a matrix to store the multiplication results in. If not given it will act as before, multiplying the current matrix.
2018-07-10 14:01:14 +01:00
Richard Davey
434c8d1413
Fixed issue with sprite matrix and camera scaling
2018-07-10 13:59:49 +01:00
Richard Davey
6560f51699
Added jsdocs and updated change log
2018-07-09 22:35:48 +01:00