Richard Davey
|
fdd4a8f8f3
|
Tidied up DrawImage to re-use vars and cut down code
|
2018-07-06 15:55:20 +01:00 |
|
Richard Davey
|
45208202ae
|
Added canvas props
|
2018-07-06 15:55:05 +01:00 |
|
Richard Davey
|
e620f3e308
|
Updated to use matrix and support crop
|
2018-07-06 15:34:25 +01:00 |
|
Richard Davey
|
6483cdacb5
|
Added canvas crop data
|
2018-07-06 15:34:12 +01:00 |
|
Richard Davey
|
901a75d053
|
setCrop will accept numbers or a Rectangle object
|
2018-07-06 12:57:42 +01:00 |
|
Richard Davey
|
3e64d1b2e0
|
Merge branch 'master' of https://github.com/photonstorm/phaser
|
2018-07-06 12:33:44 +01:00 |
|
Richard Davey
|
dfebd940c2
|
Trim flip fixed and function tidied up
|
2018-07-06 12:33:39 +01:00 |
|
Richard Davey
|
4e1cbc01d8
|
Removed object creation
|
2018-07-06 12:22:05 +01:00 |
|
Richard Davey
|
cca6cd0b83
|
Fixed trimmed frame crop
|
2018-07-06 12:14:25 +01:00 |
|
Richard Davey
|
d21dada78e
|
Merge pull request #3815 from JamesBie/edit_README
fix minor typo in readme
|
2018-07-06 10:46:36 +01:00 |
|
james-bie
|
f959e17dff
|
fix minor typo in readme
|
2018-07-05 19:40:40 -07:00 |
|
Richard Davey
|
9ead9705c4
|
Preparing for trim crop support
|
2018-07-05 23:55:12 +01:00 |
|
Richard Davey
|
325fb4681e
|
Tidying up
|
2018-07-05 23:55:00 +01:00 |
|
Richard Davey
|
f195a09530
|
Rectangle.Intersection will take two Rectangle objects and return the area of intersection between them. If there is no intersection, an empty Rectangle is returned.
|
2018-07-05 23:54:51 +01:00 |
|
Richard Davey
|
5063fe30e5
|
Fixed cropping when texture frame is flipped
|
2018-07-05 23:01:26 +01:00 |
|
Richard Davey
|
f3a446797d
|
Added new TextureCrop component
|
2018-07-05 13:06:28 +01:00 |
|
Richard Davey
|
341ecf42cd
|
Testing flip + atlas frame + trim cropping
|
2018-07-04 17:01:45 +01:00 |
|
Richard Davey
|
9bd8fb34a4
|
Changed canvasData to remove duplicate properties.
|
2018-07-04 17:01:29 +01:00 |
|
Richard Davey
|
08564e861b
|
Merge branch 'master' of https://github.com/photonstorm/phaser
|
2018-07-04 15:18:12 +01:00 |
|
Richard Davey
|
43fc988034
|
Moved crop UV handler to the Frame method. Cleaner and easier.
|
2018-07-04 15:18:08 +01:00 |
|
Richard Davey
|
ee8c1b403a
|
Fixed cropping with flipped images
|
2018-07-04 14:50:26 +01:00 |
|
Richard Davey
|
e6fc6db0ee
|
Merge pull request #3804 from AleBles/patch-2
Fixed dataManager redefining previously (re)set property
|
2018-07-04 11:03:47 +01:00 |
|
Richard Davey
|
d44c54e5ed
|
batchSprite supports cropping (flipXY todo)
|
2018-07-03 16:48:14 +01:00 |
|
Richard Davey
|
744e161d22
|
Added setCrop support
|
2018-07-03 16:48:01 +01:00 |
|
Richard Davey
|
436d92831c
|
Added getCropUVs method
|
2018-07-03 16:47:53 +01:00 |
|
Richard Davey
|
d328f14be0
|
Fixed vertex calculation
|
2018-07-03 12:38:45 +01:00 |
|
Richard Davey
|
4b0ed8a0da
|
Merge branch 'master' of https://github.com/photonstorm/phaser
|
2018-07-03 00:14:28 +01:00 |
|
Richard Davey
|
187328ea1a
|
UVs are passed directly now
|
2018-07-03 00:14:23 +01:00 |
|
Richard Davey
|
afec945c94
|
Pass in the UV values
|
2018-07-02 23:52:00 +01:00 |
|
Richard Davey
|
c82c09914e
|
Updated UV values
|
2018-07-02 23:51:42 +01:00 |
|
Chris Andrew
|
3360825ec3
|
Fixed minor change log typos.
|
2018-07-02 23:10:16 +01:00 |
|
Richard Davey
|
265852fc75
|
Removed test code
|
2018-07-02 17:09:21 +01:00 |
|
Richard Davey
|
35686657ce
|
Tidied up the batchVertices method and removed old stuff
|
2018-07-02 17:06:49 +01:00 |
|
Richard Davey
|
89bf09d19d
|
Swapped to unified batchVertices method
|
2018-07-02 17:06:34 +01:00 |
|
Richard Davey
|
a02d5ffdc8
|
Updated change log
|
2018-07-02 16:44:32 +01:00 |
|
Richard Davey
|
c1020c6dbb
|
Refactoring TTP to remove so much redundant stuff
|
2018-07-02 16:44:24 +01:00 |
|
Richard Davey
|
d3df3436e4
|
Blitter now hits the renderer directly
|
2018-07-02 16:44:09 +01:00 |
|
Richard Davey
|
f57ecc0d81
|
Moved method
|
2018-07-02 16:43:43 +01:00 |
|
Richard Davey
|
cf008e612c
|
Added e and f properties and multiplyWithOffset and copyFrom
|
2018-07-02 15:33:54 +01:00 |
|
Richard Davey
|
8a7ead03a8
|
Frame.glTexture is a new property that maps to the WebGL Texture for the Frames Texture Source image. It's used internally by the renderer to avoid expensive object look-ups and is set automatically in the Frame constructor.
|
2018-07-02 13:43:35 +01:00 |
|
Richard Davey
|
ea53e832c2
|
Added tintEffect property
|
2018-07-02 13:33:15 +01:00 |
|
Richard Davey
|
5fdf51ce59
|
Using direct pipeline calls
|
2018-07-02 13:32:56 +01:00 |
|
Richard Davey
|
17112ecd20
|
Tileset.glTexture is a new property that maps to the WebGL Texture for the Tileset image. It's used internally by the renderer to avoid expensive object look-ups and is set automatically in the Tileset.setImage method.
|
2018-07-02 13:32:35 +01:00 |
|
Richard Davey
|
0ac0bc18d3
|
Set tint on setters
|
2018-07-02 13:32:27 +01:00 |
|
Richard Davey
|
390ae5f683
|
Update
|
2018-07-02 13:32:20 +01:00 |
|
Richard Davey
|
fe61cfe2d1
|
You can now set the WebGL batch size in the Game Config via the property batchSize . The default is 2000 before the batch will flush, which is a happy average between desktop and mobile. If targeting desktop specifically, you may wish to increase this value to reduce draw calls.
|
2018-07-02 12:33:46 +01:00 |
|
Richard Davey
|
1941d8a494
|
Removed drawStaticTilemapLayer method and updated layer vertex code
|
2018-07-02 12:07:39 +01:00 |
|
Richard Davey
|
4d30de536e
|
Merge branch 'master' of https://github.com/photonstorm/phaser
|
2018-07-02 11:02:47 +01:00 |
|
Ale Bles
|
e85a542e09
|
Fixed dataManager redefining previously (re)set property
Added Configurable:true to Object.defineProperty in dataManager to fix #3803
|
2018-07-02 10:08:10 +02:00 |
|
Chris Andrew
|
05bd40b972
|
Merge pull request #3802 from tarsupin/patch-1
Fixing removeTileAt, removeTileAtWorldXY docs
|
2018-07-01 01:01:57 +01:00 |
|