greendot Posted August 3, 2018 Share Posted August 3, 2018 Hi, is scale manager available for Phaser 3 yet? I read that its development would start on May but not sure if there's anything out yet. BdR 1 Link to comment Share on other sites More sharing options...
greendot Posted August 16, 2018 Author Share Posted August 16, 2018 For those who are interested too, I found some info on the dev logs: Quote There will be another beta release, Beta 3, in a couple of weeks time. This release will contain the new Scale Manager and the Facebook Instant Games Plugin as well. At the time of writing that will be August 24th. It would have been sooner, but I'm on holiday the day this newsletter comes out, so this means we're looking at a 3.12 release during the last week of August. bobnobilo 1 Link to comment Share on other sites More sharing options...
pingu Posted August 17, 2018 Share Posted August 17, 2018 Wow this is great! greendot 1 Link to comment Share on other sites More sharing options...
Artif3x Posted October 2, 2018 Share Posted October 2, 2018 The ScaleManager looks to be in place in the latest version. You can find the source for it (here), and it's imported by the Game object (here). However, it must be turned on with the experimental flag, and the process for doing so eludes me. The experimental code is using Webpack's DefinePlugin to replace the "EXPERIMENTAL" string in the webpack.config.js (here). This is great for setting up precompiler-like options, but the end result is that all occurrences of "EXPERIMENTAL" are replaced with the boolean value false. That means experimental mode is turned off, with no way to turn it back on without altering the source code manually. This would have been much better to leave as a constant global JS variable that could be overridden by app developers at runtime with a simple: EXPERIMENTAL = true; somewhere in your application. As it stands, there's not an obvious way to do it. If anyone knows an easy way to turn on experimental mode, it would be appreciated. Link to comment Share on other sites More sharing options...
greendot Posted October 2, 2018 Author Share Posted October 2, 2018 I've looked at that code before but looks like it's just a placeholder. If you look at it, most of the functions are empty. I've tried it but couldn't get it to do anything. I'm waiting for the final release. Link to comment Share on other sites More sharing options...
samme Posted October 2, 2018 Share Posted October 2, 2018 A comprehensive guide on creating custom builds of Phaser 3 Link to comment Share on other sites More sharing options...
Recommended Posts