Richard Davey
|
6560f51699
|
Added jsdocs and updated change log
|
2018-07-09 22:35:48 +01:00 |
|
Richard Davey
|
39c05e4a96
|
Added support for BitmapText alignment and internal dirty flag for calculation speed
|
2018-07-09 21:57:51 +01:00 |
|
Richard Davey
|
f892d97475
|
Removed indexCount
|
2018-07-09 17:06:36 +01:00 |
|
Richard Davey
|
85a32d54be
|
Typo
|
2018-07-09 17:06:27 +01:00 |
|
Richard Davey
|
2d313ac927
|
The start of adding multi-line alignment
|
2018-07-09 17:06:20 +01:00 |
|
Richard Davey
|
f266acecc2
|
Re-uses the bounds object, rather than re-creating constantly.
|
2018-07-09 17:06:06 +01:00 |
|
Richard Davey
|
a16a7457bc
|
Now stores the line data in the bounds object.
|
2018-07-09 17:05:53 +01:00 |
|
Richard Davey
|
a3803a286f
|
Fixed origin addition post-scale
|
2018-07-09 16:17:52 +01:00 |
|
Richard Davey
|
91a48c30c4
|
GetBitmapTextSize , which is used internally in the BitmapText Game Objects, will now produce different bounds from the previous version. Previously, the bounds were tight against the letters in the text. However, this meant the bounds were not properly aligned with the origin of the BitmapText, and consequently you'd get different bounds if the text consisted of different characters. The bounds are now calculated purely based on the glyph data and letter spacing values. This will give a far more consistent overall experience, but it does mean if you were using the bounds to position text previously, you'll need to revisit that code again. See issue #3799 for more details (and to discuss this further if you wish)
|
2018-07-09 16:06:36 +01:00 |
|
Richard Davey
|
17653fcf7d
|
BitmapMask.destroy will now remove the textures and framebuffers that it created from the WebGL Renderer as part of the destroy process. Fix #3771
|
2018-07-09 14:26:45 +01:00 |
|
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 |
|