Richard Davey
|
cd508ab3f1
|
The ScenePlugin will now queue all of the following ops with the Scene Manager: start , run , pause , resume , sleep , wake , switch and stop . This means for all of these calls the Scene Manager will add the call into its queue and process it at the start of the next frame.
|
2018-07-09 14:08:55 +01:00 |
|
Richard Davey
|
84c7960a48
|
The Quad Game Object now has a new setFrame method that allows you to change the frame being rendered by the Quad, including using frames that are part of a texture atlas. Fix #3161
|
2018-07-09 13:42:33 +01:00 |
|
Richard Davey
|
ecd99869bd
|
Explained mask positioning better in docs. Fix #3770
|
2018-07-08 23:38:13 +01:00 |
|
Richard Davey
|
f47c46def2
|
Merge branch 'master' of https://github.com/photonstorm/phaser
|
2018-07-08 23:19:36 +01:00 |
|
Richard Davey
|
cb7510b2e5
|
Updated log
|
2018-07-08 23:19:33 +01:00 |
|
Richard Davey
|
93d177e560
|
Merge pull request #3821 from andygroff/master
Adding console warning to notify users of invalid frame config
|
2018-07-08 23:16:28 +01:00 |
|
Andrew Groff
|
5c853c640f
|
Fixing code style and making console warning more concise
|
2018-07-08 15:12:02 -07:00 |
|
Richard Davey
|
63ae8a5728
|
Swapped to gl.KEEP for further testing
|
2018-07-08 22:44:55 +01:00 |
|
Richard Davey
|
9e84c9f082
|
Fixed slice method
|
2018-07-08 22:44:40 +01:00 |
|
Andrew Groff
|
cca6dd605c
|
Adding console warning to notify users when their frame config does not create any frames
|
2018-07-08 03:22:04 -07:00 |
|
Richard Davey
|
5c554f3f69
|
Started moving dynamic bitmap text renderer to its own function
|
2018-07-07 12:34:24 +01:00 |
|
Richard Davey
|
dd0490dd57
|
Removed batchBitmapText, tidied up and moved to its own renderer
|
2018-07-07 12:22:45 +01:00 |
|
Richard Davey
|
8b13631107
|
Removed batchMesh and moved to the Mesh WebGL Renderer. Another one bites the dust.
|
2018-07-06 19:35:46 +01:00 |
|
Richard Davey
|
0428ecc430
|
Mesh now supports the tintFill property
|
2018-07-06 19:35:14 +01:00 |
|
Richard Davey
|
4fb63fd405
|
Clairty over obscurity
|
2018-07-06 19:35:01 +01:00 |
|
Richard Davey
|
c1bc928a73
|
Removed un-used vars
|
2018-07-06 17:29:49 +01:00 |
|
Richard Davey
|
a6ff0d54bb
|
Removed angle calculations from renderer as we only need do it when the arc is first defined
|
2018-07-06 17:16:09 +01:00 |
|
Richard Davey
|
6aa1526ea9
|
Graphics.arc has a new optional argument overshoot . This is a small value that is added onto the end of the endAngle and allows you to extend the arc further than the default 360 degrees. You may wish to do this if you're trying to draw an arc with an especially thick line stroke, to ensure there are no gaps. Fix #3798
|
2018-07-06 17:15:46 +01:00 |
|
Richard Davey
|
a64d747c98
|
clearMask(true) would throw an exception if the Game Object didn't have a mask. Now it checks first before destroying the mask. Fix #3809
|
2018-07-06 16:34:11 +01:00 |
|
Richard Davey
|
1931716da3
|
Exposed isTinted bool
|
2018-07-06 16:22:42 +01:00 |
|
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 |
|