rich Posted March 28, 2014 Share Posted March 28, 2014 I've just pushed to master the 2.0.2 release. If you've been having any issues with ArcadePhysics doing weird things, like flying sprites off the screen, then upgrade! https://github.com/photonstorm/phaser Here's the change log: Bug Fixes * Sprite would glitch if it had an ArcadePhysics Body that was re-positioned out of loop.* Sprite would "fly off" if it had an ArcadePhysics Body that was re-positioned during an input handler.* Tween.generateData would enter an eternal loop if the total resulted in a float. Now wrapped in Math.floor.* ArcadePhysics.Body preUpdate has been modified to stop Sprites with non-1 scaling from gaining delta and moving off the screen (fix #644).* ArcadePhysics.Body deltaMaxY wasn't being correctly applied.* P2.World - Removing tilemap layer retrieval for object layers in convertCollisionObjects() (thanks bmceldowney, fix #653)* Calling Keyboard.stop() wouldn't let you call Keyboard.start() later on in the same game Updated * The "Build your First Phaser Game" Tutorial has been updated for Phaser 2* Line.fromSprite now sets "fromCenter" to false by default as Sprite.center is deprecated in 2.x. Documentation and Examples updated to reflect this.* All the documentation has been re-published for 2.0.2.* Lots of ArcadePhysics.World methods have been marked as private where they shouldn't be called directly (separateX, etc)* xtian jshint fixed nearly every single file in the repository! New Features * Sprite.overlap lets you quickly check to see if the bounds of two display objects are intersecting or not, without having to use a physics system.* Keyboard.destroy will now clear all event listeners and any custom set callbacks or Keys. SteveB, Hsaka, Videlais and 5 others 8 Link to comment Share on other sites More sharing options...
Rudis Posted March 28, 2014 Share Posted March 28, 2014 Thanks, it's crazy how things evolving. In the blink of an eye. The best part of it, things don't get broken. Just swap phaser build file and there you have it, stronger better faster. Keep up the good work. Zenryo 1 Link to comment Share on other sites More sharing options...
Heppell08 Posted March 28, 2014 Share Posted March 28, 2014 Sprite.overlap lets you quickly check to see if the bounds of two display objects are intersecting or not, without having to use a physics system.That sounds like a pretty nice update feature! Link to comment Share on other sites More sharing options...
Mike Posted March 28, 2014 Share Posted March 28, 2014 Every new Phaser version makes me happier! Link to comment Share on other sites More sharing options...
blackgames Posted March 28, 2014 Share Posted March 28, 2014 Sprite.overlap lets you quickly check to see if the bounds of two display objects are intersecting or not, without having to use a physics system. Is that the same function?:http://examples.phaser.io/_site/view_full.html?d=sprites&f=overlap+without+physics.js&t=overlap%20without%20physics Post:http://www.html5gamedevs.com/topic/5056-arcade-overlap-collision-bug/ Thank you very much for every new version ! Link to comment Share on other sites More sharing options...
rich Posted March 28, 2014 Author Share Posted March 28, 2014 The Example shows the "raw" way to do it. You could update that to just use Sprite.overlap now. Heppell08 1 Link to comment Share on other sites More sharing options...
Robert O'Rourke Posted March 28, 2014 Share Posted March 28, 2014 Awesome! Need to get back into testing with v2. Had to stick with 1.1.6 to get a project out of the door but super happy to see you're still going strong on development. It's amazing to watch. Link to comment Share on other sites More sharing options...
Anny Posted April 2, 2014 Share Posted April 2, 2014 Hey! Is there a minified version of this update? or how can I do my own? Thanks! Duh. It's in the build folder Link to comment Share on other sites More sharing options...
Recommended Posts