Richard Davey
4c25d12b44
Recoding the FTP. Rects and Tris working again.
2018-07-25 01:27:03 +01:00
Richard Davey
9e40b16e4f
Added getX and getY to cut down on code in pipelines.
2018-07-25 01:26:41 +01:00
Richard Davey
7ccd469048
Updated the jsdocs.
2018-07-25 00:18:45 +01:00
Richard Davey
05a6275d9a
Added copyToArray method.
2018-07-25 00:18:33 +01:00
Richard Davey
0516fd47f7
The Flat Tint Pipeline is now using the same shader as the Texture Tint
...
Time to make sure no texture swaps happen and we can finally have Graphics mixed with Sprites in the display list with no swapping cost (and soon, no flush cost either when we unify the pipelines)
2018-07-24 17:07:26 +01:00
Richard Davey
8c19c2bef9
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-07-24 16:40:39 +01:00
Richard Davey
ac108db9cc
Moving towards tidying up the FTP
2018-07-24 16:40:29 +01:00
Richard Davey
50de14b132
Merge pull request #3857 from khaleb85/master
...
Added reverse animation feature (issue: #3837 )
2018-07-24 13:41:10 +01:00
khaleb
2f6f8b2190
fix keyword-spacing
2018-07-24 09:36:15 -03:00
khaleb
6b81bc78a3
added since 3.12.0 in new methods, fixed keywords-spacing issue, renamed 'revert' method to 'reverse'
2018-07-24 09:28:56 -03:00
Richard Davey
d50d8b5e6b
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-07-23 15:53:17 +01:00
Richard Davey
a8e0e22cbe
Added new rule
2018-07-23 15:53:14 +01:00
Richard Davey
e2517486a1
Updated log
2018-07-23 15:52:55 +01:00
Richard Davey
f2c5f9f4d3
Merge pull request #3853 from Edwin222/master
...
Add ability to play animation reverse(#3837 ) and some comment to TextureManager.js
2018-07-23 14:00:27 +01:00
Richard Davey
9df7fbaa68
Adding an array of children to a Group would cause it to mistakenly think you were passing a config object. Fix #3854
2018-07-23 13:29:39 +01:00
Kwondo Park
a0cc602569
cancel reverse animation
2018-07-23 14:21:31 +09:00
Richard Davey
09bee35693
Updated log
2018-07-23 01:53:48 +01:00
Richard Davey
2c7280a2c0
Updated log
2018-07-23 01:39:37 +01:00
Richard Davey
521138e9d8
setBlendMode now returns a boolean
2018-07-23 01:39:32 +01:00
Richard Davey
fc5eb2511c
Particles using a blend mode wouldn't render correctly after the updates in 3.11. If the blend mode changes during the processing of an emitter manager it'll now correctly rebind the texture, stopping the particles from vanishing. Fix #3851
2018-07-23 01:39:21 +01:00
Shukizu
8da8fbedd1
fix animations with yoyo mode (issue: #3837 )
2018-07-22 14:57:07 -03:00
Shukizu
bb17c82bf9
Added 'playReverse' method, and extracted part of play method (issue #3837 )
2018-07-22 12:42:59 -03:00
Shukizu
ebc9d8d96d
Add a 'revert' function that can revert the flow of a animation at any time (issue #3837 )
2018-07-22 11:44:57 -03:00
Kwondo Park
98ceb32946
Fix trailing space in code
2018-07-21 20:11:07 +09:00
Edwin222
16eae3887e
Add ability to play animations in reverse
2018-07-21 19:50:47 +09:00
Edwin222
9053ca456b
Merge remote-tracking branch 'upstream/master'
2018-07-21 17:26:29 +09:00
Richard Davey
4f6790f450
Trying not rotate. Speed was the same :)
2018-07-20 17:50:01 +01:00
Richard Davey
c1a4fb0092
typo
2018-07-20 17:49:49 +01:00
Richard Davey
7b50a87c3e
Added getChild methods
2018-07-19 16:22:58 +01:00
Richard Davey
46af5cb24e
Fixed style join
2018-07-19 16:22:51 +01:00
Richard Davey
d16e844910
Removed bind polyfill as it's in IE9+ anyway
2018-07-19 16:22:43 +01:00
Richard Davey
106e32a4f5
Removed un-used imports
2018-07-19 13:26:11 +01:00
Richard Davey
de4428ac52
Added willRender override and start of event handling
2018-07-19 13:22:13 +01:00
Richard Davey
6a3274b483
Removed redundant code
2018-07-19 13:21:59 +01:00
Richard Davey
2a008e6713
FileType.HTML
is a new file type loader that will load an HTML snippet and store it in the new html
cache. Access it via load.html
(this method was previously used to load html to textures, please see load.htmlTexture
for this feature now)
2018-07-19 13:21:51 +01:00
Richard Davey
675cb3b59a
Added HTML Cache
2018-07-19 13:19:24 +01:00
Richard Davey
0ac877be0b
Removed z-index and tidied up style
2018-07-19 13:19:14 +01:00
Richard Davey
ec5bd1912e
GameObject.willRender
now takes a Camera as its only argument and uses it within the check. This has allowed me to remove 23 duplicate checks spread across the various Game Objects, all of which did the same thing, saving both KB and CPU time as the flags were being checked twice in most cases.
2018-07-19 13:19:02 +01:00
Richard Davey
1d697b1371
Updated log
2018-07-19 00:42:37 +01:00
Richard Davey
e2dbbcdbb0
Inline and added create methods
2018-07-19 00:42:28 +01:00
Richard Davey
ceb466748a
Updated DOM Element to fix transforms
2018-07-19 00:22:38 +01:00
Richard Davey
d6fb66789f
Added getCSSMatrix
2018-07-19 00:22:10 +01:00
Richard Davey
ab35dfab95
The setCrop
method stored its crop object on the prototype chain by mistake, causing all Images or Sprites that were cropped to display the same frame. The crop data has been moved to the Game Object instance, where it should be, fixing this issue
2018-07-19 00:18:09 +01:00
Richard Davey
0ed4766fe3
Added start of the new DOM Element Game Object
2018-07-18 17:23:04 +01:00
Richard Davey
c741469894
Added optional DOM Container parent and config values
2018-07-18 17:22:52 +01:00
Richard Davey
20f1b37256
eslint fix and log update
2018-07-18 15:06:56 +01:00
Richard Davey
b6a1033dbd
Fixed Camera FX for scaled camera sizes
2018-07-18 15:03:06 +01:00
Richard Davey
14ba51d928
Added Text.setResolution methods.
2018-07-18 14:45:10 +01:00
Richard Davey
1b9f5dc76d
Updated change log
2018-07-18 14:32:55 +01:00
Richard Davey
25e4993e6f
Added x and y getters and new scaled viewport values
2018-07-18 14:32:47 +01:00