Commit graph

10982 commits

Author SHA1 Message Date
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
samme
7ebc7dd01f Fix ArcadePhysics#closest, furthest 2018-07-18 16:23:38 -07: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
Richard Davey
0db16889e6 Use new Camera viewport values 2018-07-18 14:32:06 +01:00
Richard Davey
3bc6eba718 Removed incorrect resolution multiplication and used updated camera viewport 2018-07-18 14:31:45 +01:00
Richard Davey
fb4f28bb01 Testing resolution input 2018-07-17 23:26:40 +01:00
Richard Davey
1c473afa84 Cameras draw their backgrounds correctly at higher resolutions 2018-07-17 23:26:30 +01:00
Richard Davey
e29671282b Updated change log 2018-07-17 22:44:28 +01:00
Richard Davey
e0fdc33928 SM mock 2018-07-17 22:44:21 +01:00
Richard Davey
94540e112e Text supports high dpi resolution for its internal canvas 2018-07-17 22:44:12 +01:00
Richard Davey
6ddd1644f2 Canvas now uses game config resolution 2018-07-17 22:43:52 +01:00
Richard Davey
16d597c983 Fixed jsdoc references 2018-07-17 11:43:09 +01:00
Richard Davey
5ada70409e Modified tile sizes. 2018-07-16 15:20:46 +01:00
Richard Davey
8f3de12f69 Merge branch 'master' of https://github.com/photonstorm/phaser 2018-07-16 15:16:32 +01:00
Richard Davey
73292c892a Updated change log 2018-07-16 15:16:29 +01:00