rich Posted July 22, 2015 Share Posted July 22, 2015 Phaser 2.4 is now live http://phaser.io/news/2015/07/phaser24-released Thank you to everyone who helped test the Release Candidates - you all found a number of great bugs that were squashed as a result. There will definitely be a 2.4.1 release! I won't wait as long as I did between 2.3 and 2.4 for the next release, and we'll focus mainly on bug fixes and finishing off implementation of certain new classes (like Create). Please give me a day or two to update the site with the new docs and examples, I want to tidy them all up before pushing live. Cheers, Rich turnA, InsOp, drhayes and 2 others 5 Link to comment Share on other sites More sharing options...
InsOp Posted July 22, 2015 Share Posted July 22, 2015 Hey im getting this errorwhen i just reference the javascript file in my html-head. no function called.RC 2 just worked perfectly. Edit:shouldve rechecked the github. a fix already is available. thanks, now it works like a charm JakeCake 1 Link to comment Share on other sites More sharing options...
Tilde Posted July 23, 2015 Share Posted July 23, 2015 Uhhh...Color me stupid, but I can't find a link to this anywhere on the Phaser site. Time to google search the github. Which I'll link right here! https://github.com/photonstorm/phaser Thanks for this fantastic update to a fantastic framework, Rich. Link to comment Share on other sites More sharing options...
saibotlive Posted July 23, 2015 Share Posted July 23, 2015 I now get this error while loading my bitmapfont in cocoonjs since I updated to 2.4 "Phaser.Loader - bitmapfont[merge-end]: undefined is not an object (evaluating 'a.font.info')" Link to comment Share on other sites More sharing options...
saibotlive Posted July 23, 2015 Share Posted July 23, 2015 Ahh I got this working now, I just had to re convert my xml to json with the online xmltojson tool instead of the method I was using before. Link to comment Share on other sites More sharing options...
JakeCake Posted July 23, 2015 Share Posted July 23, 2015 Damn, hoped I would find this during my testing of the RC, but all mouse inputs doesn't work in Safari 8.0 (haven't tested earlier versions of Safari). This includes:spr.events.onInputDown.add(state_construction.partClicked, this);game.input.activePointer.isDownEven button click callbacksI have tested on Chrome on the same machine, and things works as they used to pre-2.4.0 I am using the newest as per this reply, 2.4.0a, release of Phaser and upgraded from 2.3.0 where it worked in Safari. Link to comment Share on other sites More sharing options...
rich Posted July 23, 2015 Author Share Posted July 23, 2015 Safari 8 on OSX I assume? I tested it on iOS and it was fine. Link to comment Share on other sites More sharing options...
rich Posted July 23, 2015 Author Share Posted July 23, 2015 Actually don't worry, this is now fixed in the dev branch and will be part of 2.4.1 which I'll release either later tonight or tomorrow at the latest. Link to comment Share on other sites More sharing options...
qdrj Posted July 23, 2015 Share Posted July 23, 2015 game.input.onTap stop working on desktop so I've replaced it for game.input.onDown everywhere in code Link to comment Share on other sites More sharing options...
fzuleta Posted July 24, 2015 Share Posted July 24, 2015 Hi, on 2.4.0 and 2.4.1game.cache.removeImage("imageKey"); is not working for me at all, (mac: chrome and FF) getting:TypeError: PIXI.BaseTextureCache[key] is undefined if I do a game.cache.checkImageKey("imageKey") or game.cache.checkKey(Phaser.Cache.IMAGE, "imageKey") it does output true, but if I console.log(game.cache) I don't see it on the item on _cache.image, however it does show (and can be removed) after another image has been cached. I read the cache had been re-written somewhere, is there a new way of removing from cache that maybe I'm missing? cheers Link to comment Share on other sites More sharing options...
Noid Posted July 24, 2015 Share Posted July 24, 2015 Does 2.4 support gamepads other than xbox 360? There is a comment in the class saying it only supports xbox 360 controllers running on chrome on windows 7, but it's more than a year old. jdnichollsc 1 Link to comment Share on other sites More sharing options...
kestrelm Posted July 24, 2015 Share Posted July 24, 2015 Thank you so much Rich for supporting the Creature Animation Tool! I hope it will be a very useful addition to anybody wanting to use Phaser to do high quality mesh and bone animation An example:http://www.kestrelmoon.com/creature/demo_raptor.html Cheers! jdnichollsc 1 Link to comment Share on other sites More sharing options...
saibotlive Posted July 24, 2015 Share Posted July 24, 2015 I've been having a go with Phaser 2.4 and using videos, works fine on desktops and ios but I've noticed the video doesn't load on my android device. jdnichollsc 1 Link to comment Share on other sites More sharing options...
rgk Posted July 24, 2015 Share Posted July 24, 2015 Just wanted to say good job!Noticed better performance on my game and it didn't cause any real issues. icp 1 Link to comment Share on other sites More sharing options...
rich Posted July 24, 2015 Author Share Posted July 24, 2015 Just to say that 2.4.1 was published today and is now on npm too. Fixes the mouse issue on OSX Safari, build script updates, fresh Creature runtimes and other little tweaks. Link to comment Share on other sites More sharing options...
icp Posted July 24, 2015 Share Posted July 24, 2015 Just wanted to say good job!Noticed better performance on my game and it didn't cause any real issues.Thank you, I was looking for someone's opinion based on the new Phaser's performance. icp 1 Link to comment Share on other sites More sharing options...
danwolfe Posted July 24, 2015 Share Posted July 24, 2015 Is loading a bitmapFont from a manifest file broken? In Phaser 2.3 I was using this example and it worked fine, now it's not in 2.4:https://github.com/photonstorm/phaser/blob/master/resources/Asset%20Pack%20JSON%20Format/assetPack.json#L122 Currently I'm getting the warning and error:(warning) Phaser.Cache.getBitmapFont: Key "eightbit-32" not found in Cache.(error) phaser.js:40821 Uncaught TypeError: Cannot read property 'font' of null I saw this in the changelog: LoaderParser.bitmapFont, xmlBitmapFont and jsonBitmapFont all now return the font data rather than write it to the now deprecated PIXI.BitmapText.fonts global array.I'm assuming it's related to that, but I'm not sure what changes to make for it to work. Link to comment Share on other sites More sharing options...
tips4design Posted July 24, 2015 Share Posted July 24, 2015 Thank you, I was looking for someone's opinion based on the new Phaser's performance. I think before releasing a new version there should be, except unit testing, a performance testing with simple benchmarks that show something like:Phaser 2.3 -> Bunny Benchmark: 53FPS @ 20k bunniesPhaser 2.4 -> Bunny Benchmark 56FPS @20k bunnies Also some benchmarks for load times would be awesome icp 1 Link to comment Share on other sites More sharing options...
jdnichollsc Posted July 25, 2015 Share Posted July 25, 2015 I've been having a go with Phaser 2.4 and using videos, works fine on desktops and ios but I've noticed the video doesn't load on my android device. Any example of how are you working with the videos in this new version? I had done tests with an older version of Phaser http://phaser.azurewebsites.net/videos/ But the videos do not work well on mobile => http://www.html5gamedevs.com/topic/6851-play-video-file/#entry74792 PD: Sorry for my bad english haha Regards, Nicholls Link to comment Share on other sites More sharing options...
jdnichollsc Posted July 25, 2015 Share Posted July 25, 2015 Thank you so much Rich for supporting the Creature Animation Tool! I hope it will be a very useful addition to anybody wanting to use Phaser to do high quality mesh and bone animation An example:http://www.kestrelmoon.com/creature/demo_raptor.html Cheers! Any example of this in http://phaser.io/examples/ or http://codepen.io/? Regards, Nicholls Link to comment Share on other sites More sharing options...
rich Posted July 25, 2015 Author Share Posted July 25, 2015 I will upload all of the new examples to the site next week, there are lots for both video and Creature animations. jdnichollsc 1 Link to comment Share on other sites More sharing options...
jdnichollsc Posted July 25, 2015 Share Posted July 25, 2015 I can help if you want Link to comment Share on other sites More sharing options...
fariazz Posted July 26, 2015 Share Posted July 26, 2015 Hi Richard, this.game.input.activePointer.isDown stopped working for me on 2.4.1 on Android. On 2.4.0a it was working well.. Link to comment Share on other sites More sharing options...
fariazz Posted July 26, 2015 Share Posted July 26, 2015 Also, on Firefox desktop on 2.4.1 , once you click on the screen it's like the "click" stays there (as you kept on pressing the mouse without releasing it) Sending you links Link to comment Share on other sites More sharing options...
fariazz Posted July 26, 2015 Share Posted July 26, 2015 I meant the input down. Basically on Firefox "this.game.input.activePointer.isDown" stays true even after you release the mouse. Link to comment Share on other sites More sharing options...
Recommended Posts