rich Posted September 11, 2017 Share Posted September 11, 2017 I'm glad to announce that Phaser 3 Beta 1 is now available. There is a Getting Started guide: http://phaser.io/phaser3/gettingstarted which details how to download it and get up and running. Once you've got it running I'd urge you to check out the Phaser 3 Examples. Click 'Edit' on any demo to see the code and learn from it! There are no docs for Beta 1 as we've been delayed by various issues, but they will start to arrive in Beta 2 in a few weeks time. Nearly all examples up on the Labs will run under Beta 1 as I spent a good while tidying them up. You will still find some that don't run but they should be in the minority now. Any questions - post here! Cheers, Rich Otho, microcipcip, samid737 and 5 others 6 2 Link to comment Share on other sites More sharing options...
Arcanorum Posted September 11, 2017 Share Posted September 11, 2017 What will happen to the forums (and discord/slack) when Phaser 3 gets closer to release? I'm already seeing discussions pop up about Phaser 3 here and there. Separate subforums/channels for v2.x and v3? What is it that you aren't a fan of with the v2 docs? I think they are great. What plugins are planned for after release? Link to comment Share on other sites More sharing options...
rich Posted September 11, 2017 Author Share Posted September 11, 2017 This forum is for discussing beta releases. When v3 goes stable I will either close this off or use it for 3.1, 3.2, etc betas. The main forum will become the correct place to discuss it. Slack / Discord is low volume enough that no sub-channels are needed. I have no intention of fragmenting the community after release, everything will just be 'phaser' and it'll be up to you to tell us which version yo are talking about in your posts / chat. V3 will just be a continuation of the versioning. The only difference will be on the web site where I'll split things like the docs and examples up into versions. I have no plans for plugins post-release yet. I will be focusing on learning materials first. There's plenty of opportunity for plugins, but there are none on the drawing board so to speak. Link to comment Share on other sites More sharing options...
Adibas03 Posted September 11, 2017 Share Posted September 11, 2017 @rich Great job you are doing. I tried loading the demos but keep getting this issue across the different demos. GamepadManager.js:123 Uncaught TypeError: Cannot read property 'index' of undefined BaseLoader.js:268 default - Loader Complete. Loaded: 1 Failed: 0 Link to comment Share on other sites More sharing options...
Adibas03 Posted September 11, 2017 Share Posted September 11, 2017 1 hour ago, Adibas03 said: @rich Great job you are doing. I tried loading the demos but keep getting this issue across the different demos. GamepadManager.js:123 Uncaught TypeError: Cannot read property 'index' of undefined BaseLoader.js:268 default - Loader Complete. Loaded: 1 Failed: 0 So, i was able to track down the culprit, Needless to say, it was not a code error the Gamepads webpack has a function `L#104 : refreshPads: function (pads)` and a check `L#118 : if (pad === null)` which resolves to false as the actual list was undefined. GamepadList {0: undefined, 1: undefined, 2: undefined, 3: undefined, length: 4} ---Update-- Updating this line fixes ithttps://github.com/photonstorm/phaser/blob/v3.0.0-beta.1/v3/src/input/gamepad/GamepadManager.js#L117 if(pad === null || typeof pad == 'undefined') Link to comment Share on other sites More sharing options...
nkholski Posted September 12, 2017 Share Posted September 12, 2017 Great work as always! Two quick questions: 1. Will you add this.load.tilemap or should we user this.load.json / this.load.text / this.load.xml? 2. Will Impact physics replace Arcade physics or will it be two separate things? Link to comment Share on other sites More sharing options...
rich Posted September 12, 2017 Author Share Posted September 12, 2017 @Adibas03 thanks for the report - the docs say it should return null, but you're right, it's undefined sometimes too damn it! I've updated this and fixed it in the repo, but beta 1 will still have the error. You could either pull the repo and build yourself a version, or add this line to the game config of any example to disable gamepad input (which will stop the error triggering at all) var config = { type: Phaser.WEBGL, parent: 'phaser-example', width: 800, height: 600, input: { gamepad: false }, scene: { preload: preload, create: create, update: update } }; Adibas03 1 Link to comment Share on other sites More sharing options...
rich Posted September 12, 2017 Author Share Posted September 12, 2017 @nkholski I will definitely add the ability to load Tilemap data natively, it's on the schedule and will be done (am just a bit behind on it, sorry) - and no, Impact doesn't replace Arcade, it's just an alternative. Arcade isn't converted yet. Link to comment Share on other sites More sharing options...
nkholski Posted September 13, 2017 Share Posted September 13, 2017 @richNo wonder that you're a bit behind after everything. Plus it isn't normal to be on schedule with stuff like this anyway no matter how well you plan. I got an sudden urge to try to make a basic platformer demo to share, but I guess I'll need to be a bit more patient. :-) Link to comment Share on other sites More sharing options...
rich Posted September 13, 2017 Author Share Posted September 13, 2017 @nkholski You can do that already = http://labs.phaser.io/view.html?src=src\game objects\tilemap\dynamic\platform maker.js Link to comment Share on other sites More sharing options...
Raicuparta Posted September 17, 2017 Share Posted September 17, 2017 Is there anything for handling scaling, like the old ScaleManager? Looked around but didn't find anything. Right now I'm just using zoom to make it fit the screen. Link to comment Share on other sites More sharing options...
rich Posted September 17, 2017 Author Share Posted September 17, 2017 Nope, the Scale Manager is a little later in the schedule (you can see it on our dev chart). It will be there but isn't due to be started for a few weeks. Link to comment Share on other sites More sharing options...
nkholski Posted September 18, 2017 Share Posted September 18, 2017 @rich Thanks, I'll check it out. I had an idea to recreate 1-1 of Super Mario Bros just to see how far I would get. I just bumped Phaser 3 to Beta 2 in the bootstrap project I've been posting about in the forum and got the following error from webpack: ERROR in ./node_modules/phaser/src/camera/local/CameraManager.js Module not found: Error: Can't resolve './inc/AddsmoothedKeyControl' in '/home/niklas/projekt/phaser3-es6-webpack/node_modules/phaser/src/camera/local' @ ./node_modules/phaser/src/camera/local/CameraManager.js 37:27-65 @ ./node_modules/phaser/src/scene/local/Systems.js @ ./node_modules/phaser/src/scene/local/Scene.js @ ./node_modules/phaser/src/phaser.js @ multi phaser I haven't tried to solve it but it appeared just by switching from Beta 1 so I thought you might want to know. Link to comment Share on other sites More sharing options...
rich Posted September 19, 2017 Author Share Posted September 19, 2017 Yeah sorry about that, I didn't catch it because it doesn't happen on Windows! It's fixed in the repo though. nkholski 1 Link to comment Share on other sites More sharing options...
Recommended Posts