Commit graph

1793 commits

Author SHA1 Message Date
J.C
b6047df1b5
flag which version has this method 2019-04-30 23:29:28 +08:00
J.C
8c3de0897e expose ParseXMLBitmapFont for combined XML font file 2019-04-30 19:31:47 +08:00
Richard Davey
3c655bff3e Improved jsdocs 2019-04-30 11:08:34 +01:00
Richard Davey
14ae8ecf19 Added NOOP 2019-04-29 17:14:05 +01:00
Richard Davey
e07248a403 Use proper elapsed time for the shader 2019-04-26 19:13:45 +01:00
Richard Davey
8620e2303d Added setPointer 2019-04-26 00:56:53 +01:00
Richard Davey
55410038eb Updated factory 2019-04-25 17:48:06 +01:00
Richard Davey
4d16f21c20 re-init uniforms if setShader 2019-04-25 17:13:31 +01:00
Richard Davey
2c4d0d9fd3 Uniforms are now synced properly and attribute is hard coded 2019-04-25 16:57:12 +01:00
Richard Davey
a26a420f23 Added transformOnly flag 2019-04-25 15:44:19 +01:00
Richard Davey
d849031195 Y oh Y :) 2019-04-25 15:08:32 +01:00
Richard Davey
a0ef6e9d1b Added default shader 2019-04-25 15:07:46 +01:00
Richard Davey
27d6bd544f Drop the modelMatrix, it's not needed for this GO. Also only change vertexView elements that need changing. 2019-04-25 14:21:33 +01:00
Richard Davey
5449f7b51d Skip blendMode and add setShader method 2019-04-25 14:03:50 +01:00
Richard Davey
f37a61de27 Shader now using viewLoad2D instead and accounting for origin 2019-04-25 12:12:49 +01:00
Richard Davey
ba8d1adbbb Removing use of Shader pipeline 2019-04-25 11:30:23 +01:00
Richard Davey
7d74425491 Added new Shader Game Object 2019-04-25 03:15:51 +01:00
Richard Davey
ac3fac4ab6 UpdateList.remove will now move the removed child to the internal _pendingRemoval array, instead of slicing it directly out of the active list. The pending list is cleared at the start of the next game frame. Fix #4365 2019-04-24 13:58:05 +01:00
Richard Davey
f4a86fd368 The Container.setScrollFactor method has a new optional argument updateChildren. If set, it will change the scrollFactor values of all the Container children as well as the Container. Fix #4466 #4475 2019-04-24 12:09:16 +01:00
Richard Davey
53c14df798 Changing any aspect of a Text object, such as the font size or content, wouldn't update its hitArea if it had been enabled for input, causing it to carry on using the old hit area size. Now, as long as the Text was created _without_ a custom hitArea, the hitArea size will be changed to match the new texture size on update. If you have provided your own custom hitArea shape, you need to modify it when the Text changes size yourself. Fix #4456 2019-04-24 11:21:36 +01:00
Richard Davey
f65f643a5f Added setClassName method. 2019-04-23 11:21:26 +01:00
Richard Davey
e82e7c6ba0 Formatting fix 2019-04-18 17:55:49 +01:00
Richard Davey
7b438bfd3b Copy paste fix 2019-04-18 17:55:42 +01:00
Richard Davey
14d16b3c06 Add temp matrix to Graphics to avoid sharing issue during mask rendering 2019-04-15 23:38:09 +01:00
Richard Davey
78e1ef9df0 Particle Emitters and Containers can now have geometry masked children 2019-04-15 16:46:47 +01:00
Richard Davey
754ae7caa2 Particle Emitters can now be masked 2019-04-12 17:46:52 +01:00
Richard Davey
9dd3e7cd15 Added missing Mask component 2019-04-12 17:46:39 +01:00
Richard Davey
1a9f6130bf Update DOMElementCSSRenderer.js 2019-04-09 23:43:47 +01:00
Richard Davey
a0c48596b3 Can now create dom elements on creation of the object. 2019-04-09 23:29:32 +01:00
Richard Davey
d823b7b49e More flexible Factory function including element, style and innerText setters 2019-04-09 23:29:14 +01:00
Richard Davey
1b135b2efb Tidying up CSS rendering 2019-04-09 23:28:56 +01:00
Richard Davey
950fc79e2e Took DOM Element out of experimental and hooked to the Scale Manager 2019-04-09 23:28:40 +01:00
Richard Davey
9b29001449 Defaults should be false for closePath, not true. 2019-04-08 13:53:08 +01:00
Richard Davey
1995be80a2 GameObjects.Components.PathFollower is a new component that manages any type of Game Object following a path. The original Path Follower Game Object has been updated to use this new component directly, but it can be applied to any custom Game Object class. 2019-04-08 13:53:08 +01:00
Richard Davey
f0acd2dfaf rgb fix, lint fix and no need for frame argument 2019-04-08 12:49:03 +01:00
Richard Davey
55959500d2 Update RenderTextureConfig.js 2019-04-08 12:44:37 +01:00
Richard Davey
7c0645c1b9
Merge branch 'master' into master 2019-04-08 12:44:04 +01:00
Richard Davey
19c0b47167 Removed Graphics.lineFxTo and moveFxTo and the associated commands. 2019-04-08 12:32:07 +01:00
Richard Davey
05fb7b28e0
Merge pull request #3979 from pixelpicosean/fix-graphics-fx-drawing
Fix graphics moveFxTo and lineFxTo not work
2019-04-08 12:18:09 +01:00
Richard Davey
340df7a748 jsdocs update 2019-04-08 11:45:19 +01:00
Richard Davey
00638ae9ee Swapped to use GetValue instead. 2019-04-08 11:45:08 +01:00
Richard Davey
c89f9a9fde
Merge pull request #4195 from kensleebos/master
Fix for from/to in PathFollower.js
2019-04-08 11:40:26 +01:00
Richard Davey
d13e79a8db
Merge pull request #4427 from rexrainbow/master
Fix bug about counting height of text object
2019-04-05 17:25:27 +01:00
Richard Davey
f1e4ca58ed strokePoints and fillPoints have no closePath argument. 2019-04-05 17:12:31 +01:00
Richard Davey
e017691c68 The ScaleMode Component has been removed from every Game Object, and along with it the scaleMode property and setScaleMode method. These did nothing anyway as they were not hooked to the render pipeline and scale mode should be set on the texture, not the Game Object. Fix #4413 2019-03-24 23:07:27 +00:00
Hua
b562917490 Fix fixedWidth, fixedHeight assignment issue 2019-03-15 17:11:04 +08:00
Hua
3c75872335 Fix word wrap issue 2019-03-15 17:06:39 +08:00
Hua
a1d4417a7a Fix bug about counting height of text object
Drawing lines might not equal to amount of lines
2019-03-15 14:31:05 +08:00
Richard Davey
3456e19815 Updated jsdocs 2019-03-05 09:20:30 +00:00
Richard Davey
8180764cca Added jsdoc override for origin 2019-02-25 17:07:09 +00:00