rich Posted November 1, 2013 Share Posted November 1, 2013 Here we go with the next update. Not a bad change-list really! 1.1.3 is likely to be around 3 weeks away and we'll focus on some of the larger changes internally for that (better State management for example). Here's the full change list:Version 1.1.2 - November 1st 2013New: You'll now find a complete Basic project Template in the resources/Project Templates folder. Will add more complex ones soon.New: Phaser.Button now has the ability to set over/out/up/down sound effects so they play automatically based on those events.New: Added init method to plugins, to be called as they are added to the PluginManager (thanks beeglebug)New: Physics.Body now has a center property (issue 142, thanks MikeMnD)New: Lots of fixes across Full Screen Mode support. Input now works, scaling restores properly, world scale is correct and anti-alias support added.New: Added Group.cursor. This points to the first item added to a Group. You can move the cursor with Group.next() and Group.previous().New: Added Tween.isTweening(object) to check if an object is currently being tweened or not (thanks mikehamil10)New: Added getMagnitude, setMagnitude, normalize and isZero methods to Point (thanks beeglebug)New/Change: Group.callAll now supports nested functions and a context, making it really powerful!Updated: Fixed a few final bugs in the Sprite body and bounds calculations, in turn this resolved the Tilemap collision issues in the 1.1 release.Updated: Finished documentation for the Phaser.Button class.Updated: Fixed the Invaders game sample and enhanced it.Updated: Fixed the Star Struck game sample and enhanced it.Updated: If you pause an Animation, when you next play it it'll resume (un-pause itself).Updated: hexToRGB now accepts short hex codes (#EEE) (thanks beeglebug)Updated: State functions (preload, update, render, etc) are now passed the current game as a parameter (thanks beeglebug)Updated: If your game is running in Canvas (not WebGL) you can now set Stage.backgroundColor to rgba style CSS strings, allowing for semi-transparent game backgrounds.Updated: event.preventDefault() has been added to all Mouse event handlers.Updated: Sprite.deltaX/Y removed due to non-use. prevX/Y values moved to Sprite._cache.prevX/Y.Updated: Due to missing extends parameter the Sprite prototype was picking up functions from classes it never meant to (Button, TilemapLayer), now fully isolated.Fixed issue 135 - Added typeof checks into most ArcadePhysics functions to avoid errors with zero values.Fixed issue 136 - distanceTo using worldX/Y instead of x/y.Fixed lots of examples where the cursor keys / space bar were not locked from moving the browser page (if you find any more, please tell us!)Fixed issue 149 - Starling XML files now load properly again, also created an Example to show use of them (thanks haden)Fixed an issue where if the Starling XML file didn't contain a frameX/Y value it would crash on import.Fixed the Multiple Animations Example - it's now a lovely underwater scene Fixed issue 141 - If a Sprite is dragged and you release the Pointer while not over the Sprite, it will think it's still over it (thanks Paratron)Fixed issue 88 - Incorrect game.input.x/y values on click with scaled stage (thanks DrHackenstein)Fixed issue 143 - Entering full screen mode made the Input x/y coordinates go wrong. PAEz, korpuskel, Dabney and 5 others 8 Link to comment Share on other sites More sharing options...
Mike Posted November 1, 2013 Share Posted November 1, 2013 Тhis time my game is going to be finished because at the moment I don't see what can't stop me... huhuhu Also tnx for dedication and support, the latests months and weeks this forum is my web home Link to comment Share on other sites More sharing options...
Jorge Posted November 1, 2013 Share Posted November 1, 2013 rich, you're making an awesome job with Phaser. Thanks for bringing us such a wonderful tool. Link to comment Share on other sites More sharing options...
plicatibu Posted November 1, 2013 Share Posted November 1, 2013 Hi. It seems that on Phaser Basic Project Template there are some missing points: In index.html it's missing a reference for Phaser.<script src="phaser.js"></script>In Boot.js it seems the following line is missingthis.game = game;inBasicGame.Boot = function (game) {};Regards. Link to comment Share on other sites More sharing options...
Dang_Khoa Posted November 3, 2013 Share Posted November 3, 2013 Hi rich, there is an error when I use sprite.reset(x, y);The sprite possition is not corrrect when in a map bigger than canvas. Link to comment Share on other sites More sharing options...
rich Posted November 3, 2013 Author Share Posted November 3, 2013 Hmm I should have called then "Code Templates" not "Project Templates" - it appears as if people were expecting to be able to just run the project and not have to actually do any work, which is unfortunate. I'll see about revising them but for now it's a way to structure code, not a fully working template (not that it would require much to make it one). Dang_Khoa - please file a bug report on github so someone can look at it, cheers. Link to comment Share on other sites More sharing options...
Zeterain Posted November 25, 2013 Share Posted November 25, 2013 Potential error in the phaser 1.1.2 documentation: http://gametest.mobi/phaser/docs/Phaser.Utils.Debug.html#toc16 The documentation refers to a function in the Debug class called: "renderDebug" However, the actual name of the function should be: "renderPointer" (As it appears in the 1.1.2 code) Link to comment Share on other sites More sharing options...
rich Posted November 26, 2013 Author Share Posted November 26, 2013 Well spotted, fixed. I've done a lot of updates to the documentation for the 1.1.3 release (which will be out end of this week). shawnbless 1 Link to comment Share on other sites More sharing options...
ReleeSquirrel Posted November 28, 2013 Share Posted November 28, 2013 Hello! New Phaser user here. Going through this tutorial: http://phaser.io/getting-started-js.php Did you know that Phaser 1.1.2 doesn't have a helloPhaser folder in its docs folder? It's not in the examples folder either. I don't think it's anywhere... Link to comment Share on other sites More sharing options...
rich Posted November 28, 2013 Author Share Posted November 28, 2013 Yeah we removed it but forgot to update the tutorial. The tutorial will be fixed when we launch the new version tomorrow! Link to comment Share on other sites More sharing options...
Recommended Posts