Commit graph

10242 commits

Author SHA1 Message Date
Richard Davey
4741ee02b1 Updated docs and lint fixes 2018-05-11 18:55:44 +01:00
Richard Davey
444dda12d7 Added option to insert plugin into Scene immediately 2018-05-11 18:22:28 +01:00
Richard Davey
271c0a08b8 Added new ScenePluginFile and updated PluginFile. External and internal plugins now work. 2018-05-11 18:22:12 +01:00
Richard Davey
0937bff044 Spacing 2018-05-11 18:21:50 +01:00
Richard Davey
d160f5c648 Removed log and improved docs 2018-05-11 16:24:10 +01:00
Richard Davey
a2b1c72a51 PluginManager now handles booting custom scene plugins 2018-05-11 16:01:37 +01:00
Richard Davey
9dc76348cb Added new base ScenePlugin 2018-05-11 16:01:23 +01:00
Richard Davey
4f2ef3f3ca Fixed overwrite and split plugin types. 2018-05-11 16:01:11 +01:00
Richard Davey
47077ea9f3 We don't need the key, so remove it. 2018-05-11 16:00:59 +01:00
Richard Davey
4959ed70ef Now gets the list from the PluginManager 2018-05-11 16:00:46 +01:00
Richard Davey
45c3336354 Revamped PluginManager, now working to install, start and stop plugins. 2018-05-11 14:06:51 +01:00
Richard Davey
ed8a0d97e3 Renamed Plugin to BasePlugin to accurately reflect what it is. Added default methods. 2018-05-11 14:06:35 +01:00
Richard Davey
e431cc33f9 Moved plugins file to DefaultPlugins and changed the namespace 2018-05-11 14:06:13 +01:00
Richard Davey
2f4c52b7e4 Remapped EventEmitter correctly to Phaser.Events.EventEmitter 2018-05-11 14:05:34 +01:00
Richard Davey
0a46c13f4c Working through new plugin structure 2018-05-11 01:50:37 +01:00
Richard Davey
ade37dd35e Game.step now uses more events and less direct calls. 2018-05-11 01:50:16 +01:00
Richard Davey
d595da49fd Now use the prestep event to update instead 2018-05-11 01:50:02 +01:00
Richard Davey
11cbf0cf8d Marked the children parameter as optional. Fix #3657 2018-05-10 23:32:46 +01:00
Richard Davey
f6d8606daa Fixed type 2018-05-10 22:01:40 +01:00
Richard Davey
8ca79cdda4 Working on the plugin config setup 2018-05-10 17:15:25 +01:00
Richard Davey
1408a2dc81 plugins is now available from every Scene 2018-05-10 17:15:08 +01:00
Richard Davey
61d38b028f Exposed Plugin and Plugins namespace 2018-05-10 17:14:52 +01:00
Richard Davey
be330e609e Moved PluginManager to new location 2018-05-10 17:14:33 +01:00
Richard Davey
cc9d3160b1 Update type 2018-05-10 13:07:49 +01:00
Richard Davey
95eaa2d122 Merge branch 'master' of https://github.com/photonstorm/phaser 2018-05-10 12:42:11 +01:00
Richard Davey
d19a1f9a4f Fixed config object 2018-05-10 12:42:08 +01:00
Richard Davey
7a4b29872e Allow for custom canvas and context game config options. Game.context now set in WebGL mode. Allows WebGL2 contexts to be passed in. Fix #3653 2018-05-10 12:25:33 +01:00
Richard Davey
adcb903942
Merge pull request #3654 from samme/docs/arcade-physics
Add docs for Arcade Physics
2018-05-10 12:00:16 +01:00
samme
a70fb6aee9 Add docs for Arcade Physics 2018-05-09 21:28:52 -07:00
Richard Davey
c9ea4dc117 Testing new PluginFile approach. 2018-05-09 23:55:11 +01:00
Richard Davey
835bc37e32 Optimized TextureTintPipeline.drawBlitter so it skips bobs that have alpha of zero and only calls setTexture2D if the bob sourceIndex has changed, previously it called it for every single bob. 2018-05-09 15:13:06 +01:00
Richard Davey
7df0488100 Fixed dupe config set 2018-05-09 14:32:32 +01:00
Richard Davey
6ec1a580eb typo fix 2018-05-09 14:30:31 +01:00
Richard Davey
056e74d6dc Added compression object for future texture compression support. 2018-05-09 13:46:19 +01:00
Richard Davey
39cf7252c9 Check if body exists. Fix #3649. 2018-05-09 13:45:47 +01:00
Richard Davey
4106f7e899 Fixed File call re: #3650 2018-05-09 13:04:18 +01:00
Richard Davey
6e97b09ec9 Merge branch 'master' of https://github.com/photonstorm/phaser 2018-05-09 13:02:44 +01:00
Richard Davey
6350976329 Updated change log 2018-05-09 13:02:31 +01:00
Richard Davey
e91fcf6a8d
Merge pull request #3650 from TadejZupancic/patch-2
Missing loader parameter in File.call
2018-05-09 12:59:20 +01:00
TadejZupancic
b795fbd97a
Missing loader parameter in File.call 2018-05-09 13:27:51 +02:00
Richard Davey
89329a2315 Added getMaxTextures and getMaxTextureSize methods 2018-05-09 12:12:16 +01:00
Richard Davey
b1d41e506f Typo fix 2018-05-09 12:11:29 +01:00
Richard Davey
d90e012898 Preparing for 3.8.0 2018-05-09 11:23:41 +01:00
Richard Davey
7788602518 3.7.1 Release 2018-05-08 23:47:33 +01:00
Richard Davey
321ccf883a 3.7.0 Release 2018-05-08 23:29:42 +01:00
Richard Davey
57918bb50f Removed the need for raw-loader in webpack. Shaders now build to standard JS files. Removed fs requirement. 2018-05-08 23:04:57 +01:00
Richard Davey
c89728de1d lint fix 2018-05-08 21:16:22 +01:00
Richard Davey
ec3bd4c729 The WebAudioSoundManager will now listen for 'click' events on the document body, as well as touch events, before resuming the AudioContext. 2018-05-08 16:51:43 +01:00
Richard Davey
1414b77f4a Merge branch 'master' of https://github.com/photonstorm/phaser 2018-05-08 16:15:56 +01:00
Richard Davey
672a535d88 Added disableInteractive and removeInteractive methods. #3621 2018-05-08 16:15:50 +01:00