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
|
4914e3ca36
|
DynamicTexture RenderTarget will autoResize. Fix #6411
|
2023-03-03 13:09:25 +00:00 |
|
Richard Davey
|
e699fef68b
|
Typo
|
2023-02-01 18:27:32 +00:00 |
|
Bambosh
|
7cbf56c3ae
|
Fixed SpriteSheetFromAtlas out of range sourceIndex
|
2023-01-26 16:28:15 +11:00 |
|
samme
|
cc8dcaaded
|
Fix Texture#has()
|
2023-01-18 17:29:14 -08:00 |
|
Richard Davey
|
2faa1dd824
|
Merge pull request #6337 from samme/feature/canvastexture-update
Add optional update argument to CanvasTexture methods
|
2023-01-18 16:27:40 +00:00 |
|
Richard Davey
|
8dccc85208
|
Updated docs
|
2023-01-11 17:35:17 +00:00 |
|
samme
|
190c3af510
|
Add optional update to CanvasTexture methods
|
2023-01-08 09:25:45 -08:00 |
|
Richard Davey
|
468bf7821d
|
Updated copyright year
|
2023-01-02 17:36:27 +00:00 |
|
Richard Davey
|
a39cebf7dc
|
Removed old code
|
2022-12-09 18:19:53 +00:00 |
|
Richard Davey
|
96bbc1dfd5
|
Revised jsdoc return type
|
2022-12-08 16:23:56 +00:00 |
|
Richard Davey
|
890cf74e8d
|
Move here until it goes into its own example
|
2022-12-05 22:58:30 +00:00 |
|
Richard Davey
|
064e8a3ec2
|
Fixed type issues
|
2022-11-10 16:05:20 +00:00 |
|
Richard Davey
|
e878cebd16
|
Force it to return Color object
|
2022-10-31 22:17:39 +00:00 |
|
Richard Davey
|
598921b638
|
If in debug mode, add texture key to Spector meta data
|
2022-10-28 17:53:55 +01:00 |
|
Richard Davey
|
147479c992
|
Update TextureSource.js
|
2022-10-19 15:33:57 +01:00 |
|
Richard Davey
|
27a4804978
|
Consolidate vars
|
2022-10-19 15:22:53 +01:00 |
|
Richard Davey
|
051dadd02a
|
Add 'willReadFrequently' to CanvasTexture
|
2022-10-14 13:25:01 +01:00 |
|
Richard Davey
|
ead9de5c04
|
Drawing a frame via draw , drawFrame or batchDrawFrame and specifying a tint value would inverse the Red and Blue channels. These are now handled properly. Fix #5509
|
2022-10-10 17:44:00 +01:00 |
|
Richard Davey
|
a970e0bcfb
|
Using DynamicTexture.fill in CANVAS mode only, after using the erase method, wouldn't reset the global composite operation correctly, resulting in fills. Fix #6124
|
2022-10-10 15:39:16 +01:00 |
|
Richard Davey
|
b318cd734f
|
Removed use of UUID from RenderTexture and fixed saveTexture method.
|
2022-10-09 16:01:06 +01:00 |
|
Richard Davey
|
4a44bd6024
|
Update Texture.js
|
2022-10-07 16:23:34 +01:00 |
|
Richard Davey
|
c9e37ed373
|
Remove calls to resetTextures
|
2022-10-07 16:09:23 +01:00 |
|
Richard Davey
|
bfa0a7298a
|
Update TextureSource.js
* The `Textures.TextureSource.glIndex` property has been removed.
* The `Textures.TextureSource.glIndexCounter` property has been removed.
|
2022-10-07 16:08:50 +01:00 |
|
Richard Davey
|
5641bfe48c
|
Update index.js
|
2022-10-07 15:27:50 +01:00 |
|
Richard Davey
|
5aa1584360
|
TextureManager.silentWarnings is a new boolean property that, when set, will prevent the Texture Manager from emiting any warnings or errors to the console in the case of missing texture keys or invalid texture access. The default is to display these warnings, this flag toggles that.
|
2022-10-06 22:04:21 +01:00 |
|
Richard Davey
|
6f68e075ba
|
Update DynamicTexture.js
|
2022-10-04 14:49:10 +01:00 |
|
Richard Davey
|
4db20ffa9e
|
Allow a DynamicTexture to be used as a BitmapMask
|
2022-10-03 23:15:53 +01:00 |
|
Richard Davey
|
c2869d2eb6
|
Scale 1
|
2022-10-03 23:15:40 +01:00 |
|
Richard Davey
|
95cd4f294d
|
Camera is for textures only
|
2022-10-03 18:50:09 +01:00 |
|
Richard Davey
|
dcb1c8a9dd
|
Allowing custom resolution for mask shader
|
2022-09-29 23:35:06 +01:00 |
|
Richard Davey
|
e2c9838896
|
Update StampConfig.js
|
2022-09-29 18:51:31 +01:00 |
|
Richard Davey
|
9ba74e9f8c
|
Added scale, blendMode and erase support
|
2022-09-29 18:51:27 +01:00 |
|
Richard Davey
|
f7196a07c2
|
Added stamp method docs and swap to using config object
|
2022-09-29 17:42:52 +01:00 |
|
Richard Davey
|
4b14d3d6c6
|
Create StampConfig.js
|
2022-09-29 17:42:40 +01:00 |
|
Richard Davey
|
3528354a4b
|
Added handy 'stamp' method
|
2022-09-28 22:43:29 +01:00 |
|
Richard Davey
|
064a1e0f4f
|
Added resetStamp
|
2022-09-28 22:43:20 +01:00 |
|
Richard Davey
|
0d951029b6
|
No need for 'this.frame'
|
2022-09-28 20:57:50 +01:00 |
|
Richard Davey
|
a60660a474
|
Create on READY
|
2022-09-28 20:57:42 +01:00 |
|
Richard Davey
|
e3503ef8b4
|
All of the following Texture Manager methods will now allow you to pass in a Phaser Texture as the source parameter: addSpriteSheet , addAtlas , addAtlasJSONArray , addAtlasJSONHash , addAtlasXML and addAtlasUnity . This allows you to add sprite sheet or atlas data to existing textures, or textures that came from external sources, such as SVG files, canvas elements or Dynamic Textures.
|
2022-09-28 20:34:34 +01:00 |
|
Richard Davey
|
8bfe54287a
|
Updated documentation
|
2022-09-28 19:53:59 +01:00 |
|
Richard Davey
|
676f0db838
|
Added Stamp
|
2022-09-28 19:53:49 +01:00 |
|
Richard Davey
|
0e57db40d4
|
Improved docs
|
2022-09-28 19:09:35 +01:00 |
|
Richard Davey
|
f9ecb2461b
|
Update DynamicTexture.js
|
2022-09-28 17:51:09 +01:00 |
|
Richard Davey
|
d64878736f
|
Testing out the new DynamicTexture
|
2022-09-27 23:39:23 +01:00 |
|
Richard Davey
|
62f3315b1c
|
Trying DynamicTexture (to replace RenderTexture)
|
2022-09-27 18:42:46 +01:00 |
|
Richard Davey
|
e15f2414d6
|
Update TextureManager.js
|
2022-09-26 23:18:12 +01:00 |
|
Richard Davey
|
1283ca8198
|
The TextureManager.get methof can now accept a Frame instance as its parameter, which will return the frames parent Texture.
|
2022-09-26 17:18:04 +01:00 |
|
Richard Davey
|
25ab9f329d
|
TextureManager.parseFrame is a new method that will return a Texture Frame instance from the given argument, which can be a string, array, object or Texture instance.
|
2022-09-26 15:28:41 +01:00 |
|
Richard Davey
|
5320402a07
|
The endFrame and startFrame properties of the SpriteSheet parser wouldn't correctly apply themselves, the Texture would still end up with all of the frames. It will now start at the given startFrame so that is frame zero and end at endFrame , regardless how many other frames are in the sheet.
|
2022-09-24 21:35:58 +01:00 |
|