Richard Davey
|
9971c9f940
|
Fixed component
|
2023-03-09 18:33:54 +00:00 |
|
Richard Davey
|
c8acb16fa7
|
Added { willReadFrequently } to every canvas context, no matter where it comes from
|
2023-03-09 17:30:04 +00:00 |
|
Richard Davey
|
36e6bc8a05
|
Added PostPipeline component
|
2023-02-03 17:52:36 +00:00 |
|
Pavle Goloskokovic
|
15ffe6aaff
|
optional config param for Phaser.GameObjects.GameObjectCreator#graphics method
|
2023-01-20 21:36:00 +01:00 |
|
samme
|
9db1aa2349
|
Docs: make Graphics defaults read only
|
2023-01-11 09:31:00 -08:00 |
|
Richard Davey
|
468bf7821d
|
Updated copyright year
|
2023-01-02 17:36:27 +00:00 |
|
Rex
|
3a0a521d25
|
Support concave corner in round rectangle
|
2022-12-19 10:35:51 +08:00 |
|
Artem
|
754ed600d1
|
fix function Graphics -> strokeRoundedRect
added max radius
|
2022-09-03 16:50:29 +03:00 |
|
Richard Davey
|
a4d8e87095
|
Fixed lint errors
|
2022-05-10 17:06:53 +01:00 |
|
Richard Davey
|
919fa39faa
|
Merge pull request #6067 from TJ09/commonjs-import-change
Don't reassign the return values from require()
|
2022-05-09 16:49:58 +01:00 |
|
Richard Davey
|
3d0ff83c51
|
Updated jsdocs.
|
2022-05-06 15:27:37 +01:00 |
|
T.J. L
|
ff4ef2872b
|
Don't overwrite the return values from require()
|
2022-04-02 01:49:19 -07:00 |
|
Richard Davey
|
59fbcc5ca3
|
Updated copyright year
|
2022-02-28 14:29:51 +00:00 |
|
Richard Davey
|
93db763f69
|
Merge pull request #5340 from 16patsle/Fix_object_types
Add more specific 'object' types, including GO Configs
|
2021-09-23 15:30:43 +01:00 |
|
Richard Davey
|
2712e87ca2
|
Graphics and Shape now use the new Multi Pipeline
|
2021-04-16 18:19:39 +01:00 |
|
Richard Davey
|
1c8662dc1f
|
Call addToRenderList
|
2021-01-07 14:52:08 +00:00 |
|
Richard Davey
|
00d8b6a009
|
Invoke camera.addToRenderList method
|
2021-01-07 12:31:31 +00:00 |
|
Patrick Sletvold
|
f1836738a0
|
Merge remote-tracking branch 'origin/master' into Fix_object_types
|
2020-12-10 11:23:35 +01:00 |
|
Richard Davey
|
0ee1338765
|
Better post pipeline call (less code)
|
2020-11-26 09:51:40 +00:00 |
|
Richard Davey
|
d2e2e86ef1
|
Updated accessor
|
2020-11-23 16:22:11 +00:00 |
|
Richard Davey
|
ec5da6930c
|
Added post pipeline support to all Game Objects
|
2020-11-23 16:17:13 +00:00 |
|
Richard Davey
|
02c34cd64e
|
Replace integer with number
|
2020-11-23 10:22:13 +00:00 |
|
Richard Davey
|
26421bde82
|
Removed Graphics.setTexture and related commands as no longer supported
|
2020-11-03 11:47:42 +00:00 |
|
Richard Davey
|
e0295e8521
|
Make use of GetCalcMatrix and remove texture related stuff
|
2020-11-02 22:40:12 +00:00 |
|
Richard Davey
|
881019e55d
|
No longer requires temp matrices
|
2020-11-02 22:39:42 +00:00 |
|
Richard Davey
|
47ec3d33c7
|
Remove texture setters
|
2020-11-02 16:20:22 +00:00 |
|
Richard Davey
|
60c834e2c8
|
Use the new Graphics Pipeline
|
2020-10-28 17:39:06 +00:00 |
|
Richard Davey
|
48d9eb6321
|
The GameObjects.Graphics.fillGradientStyle method can now accept a different alpha value for each of the fill colors. The default is still 1. If you only provide a single alpha, it'll be used for all colors. Fix #5044
|
2020-10-16 18:08:31 +01:00 |
|
Patrick Sletvold
|
c1d63d32dd
|
Add Config typedefs for a bunch of GO Creators
|
2020-10-03 10:40:24 +02:00 |
|
Richard Davey
|
f16e1c09f3
|
Lint fix
|
2020-09-23 12:39:21 +01:00 |
|
Richard Davey
|
e7926674b8
|
The Graphics WebGL Renderer will now default to pathOpen = true . This fixes issues under WebGL where, for example, adding an arc and calling strokePath , without first calling beginPath will no longer cause rendering artefacts when WebGL tries to close the path with a single tri.
|
2020-09-23 12:34:20 +01:00 |
|
Richard Davey
|
559127a53f
|
Graphics.strokeRoundedRect now issues moveTo commands as part of the drawing sequence, preventing issues under WebGL where on older Android devices it would project additional vertices into the display. Fix #3955
|
2020-09-23 12:34:06 +01:00 |
|
Richard Davey
|
6a966e3f3b
|
Removed interpolationPercentage parameter from all render methods, as it has never been used.
|
2020-09-14 15:33:58 +01:00 |
|
Richard Davey
|
8d25510b61
|
GameObjects.GetCalcMatrix is a new function that is used to calculate the transformed Game Object matrix, based on the given Game Object, Camera and Parent. This function is now used by the following Game Objects: BitmapText (Static and Dynamic), Graphics , Mesh , Rope , Shader , Arc , Curve , Ellipse , Grid , IsoBox , IsoTriangle , Line , Polygon , Rectangle , Star and Triangle . This dramatically reduces the amount of duplicate code across the API.
|
2020-09-14 15:01:40 +01:00 |
|
Richard Davey
|
d198818d80
|
Game Objects now call the new Pipeline Manager methods directly
|
2020-09-09 13:05:18 +01:00 |
|
Richard Davey
|
0266c7f0a2
|
Updated docs #5231
|
2020-08-03 10:37:01 +01:00 |
|
Richard Davey
|
5db55a85d7
|
The Graphics Game Objects now support rendering in Light2d. You can even use normal map textures for the texture fills.
|
2020-07-16 15:10:45 +01:00 |
|
Jason Kwok
|
494ddf431d
|
Fixed this return types for Phaser.GameObjects.Graphics
|
2020-01-26 21:01:00 +08:00 |
|
Richard Davey
|
ff65e69cd1
|
Changed copyright date to 2020
|
2020-01-15 12:07:09 +00:00 |
|
Richard Davey
|
4892cc7feb
|
The Graphics Game Object now uses the AlphaSingle component, allowing you to uniformly set the alpha of the element, rather than a quad alpha, which never worked for these objects.
|
2019-12-28 17:37:13 +00:00 |
|
Richard Davey
|
13180b9a9a
|
If you had a Graphics object in the display list immediately after an object with a Bitmap Mask it would throw an error Uncaught TypeError: Cannot set property 'TL' of undefined . Fix #4581
|
2019-06-11 17:58:57 +01:00 |
|
Richard Davey
|
2c8a5d3446
|
Renamed translate, rotate and scale to make them more explicit
|
2019-06-06 17:41:42 +01:00 |
|
Richard Davey
|
c91ed91ce3
|
License link update
|
2019-05-10 16:15:04 +01:00 |
|
Richard Davey
|
32b4e6b04e
|
Graphics Types
|
2019-05-09 11:55:40 +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
|
9b29001449
|
Defaults should be false for closePath , not true .
|
2019-04-08 13:53:08 +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
|
f1e4ca58ed
|
strokePoints and fillPoints have no closePath argument.
|
2019-04-05 17:12:31 +01:00 |
|
Richard Davey
|
e7b1d086e7
|
Moving all of the typedefs to properly namespaced scopes, rather than globals
\o/ ~ "Someone, save me!"
|
2019-02-13 12:35:12 +00:00 |
|