Commit Graph

486 Commits

Author SHA1 Message Date
Richard Davey 92edaf76ef Merge pull request #452 from nhowell/patch-2
Fix typo of Phaser.Line.intersectsPoints for docs
2014-02-20 01:44:08 +00:00
Richard Davey 4c48e88fc1 Merge pull request #453 from nhowell/patch-3
Fix typo of Phaser.Math#fuzzyLessThan for docs
2014-02-20 01:42:47 +00:00
Richard Davey 59a4e80dc1 Merge pull request #454 from nhowell/patch-1
Fix typo of Phaser.Graphics.prototype.destroy for docs
2014-02-20 01:40:09 +00:00
Nicholas Howell d5e45c22e9 Fix typo of Phaser.BitmapText.prototype.destroy for docs 2014-02-19 16:16:23 -05:00
Nicholas Howell b9deb43c88 Fix typo of Phaser.Graphics.prototype.destroy for docs
The method was appearing in the wrong file in the documentation
2014-02-19 15:48:38 -05:00
Nicholas Howell 936092cba1 Fix typo of Phaser.Math#fuzzyLessThan for docs 2014-02-19 14:05:04 -05:00
Nicholas Howell 0727541e05 Fix typo of Phaser.Line.intersectsPoints for docs 2014-02-19 13:47:54 -05:00
Nicholas Howell 3c6bee8dda Fix typo for Phaser.InputHandler#pointerDragged for docs 2014-02-19 13:21:38 -05:00
Richard Davey 6d418ba9c7 Merge pull request #450 from nhowell/patch-2
Fix typo of Phaser.SinglePad#addCallbacks for docs
2014-02-19 17:00:12 +00:00
Nicholas Howell 232d022aaa Fix typo of Phaser.SinglePad#addCallbacks for docs
This typo was causing this method to appear in the wrong page of the docs
2014-02-19 11:18:09 -05:00
Nicholas Howell 26415094b6 Fix typo of Phaser.Point#setMagnitude for docs 2014-02-19 11:08:11 -05:00
Richard Davey e396b56686 Merge pull request #447 from nhowell/patch-3
Fix typos in Phaser.Group#forEachExists for docs
2014-02-19 15:06:13 +00:00
Nicholas Howell d964ef7d0a Fix typos in Phaser.Group#forEachExists for docs 2014-02-19 09:42:16 -05:00
Nicholas Howell 7db37bf5d5 Fix typos of method names in Button.js for docs 2014-02-19 08:32:05 -05:00
Nicholas Howell e8559fb735 Fix typo of Phaser.Key#justReleased for docs 2014-02-18 21:33:34 -05:00
Richard Davey 58d203619a Merge pull request #438 from georgiee/dev2
Patch for PixiPatch so it renders masks again
2014-02-18 11:23:34 +00:00
Georgios Kaleadis 16dc2c1597 patch for PixiPatch so render masks again 2014-02-18 11:26:10 +01:00
photonstorm 0641170aab Explicitly paused Timer continues if you un-focus and focus the browser window (thanks georgiee)
Added TimerEvent.pendingDelete and checks in Timer.update, so that removing an event in a callback no longer throws an exception (thanks georgiee)
Fixed TypeScript defs on lines 1741-1748 (thanks wombatbuddy)
Added SAT.js to TypeScript definition. Now compiles properly.
Added missing Line.js to the Grunt file.
Tilemap#paste diffX and diffY equations changed, fixed issue #393 (thanks brejep)
Added missing return value in Body.hitLeft and hitRight, fixes issue #398 (thanks ram64).
Fixed easing tween example case. Issue #379 (thanks wesleywerner)
Removed SAT.js UMD wrapped, fixes issue #361 (thanks luizbills)
Removed inContact check from Body.separate.
Fixed Tilemap docs (wrongly pointed to Tileset methods)
2014-02-12 15:33:31 +00:00
photonstorm d9323de752 Docs and Examples update. 2014-02-12 15:26:29 +00:00
photonstorm 3c631768f2 Explicitly paused Timer continues if you un-focus and focus the browser window (thanks georgiee)
Added TimerEvent.pendingDelete and checks in Timer.update, so that removing an event in a callback no longer throws an exception (thanks georgiee)
Fixed TypeScript defs on lines 1741-1748 (thanks wombatbuddy)
Added SAT.js to TypeScript definition. Now compiles properly.
Added missing Line.js to the Grunt file.
Tilemap#paste diffX and diffY equations changed, fixed issue #393 (thanks brejep)
Added missing return value in Body.hitLeft and hitRight, fixes issue #398 (thanks ram64).
Fixed easing tween example case. Issue #379 (thanks wesleywerner)
Removed SAT.js UMD wrapped, fixes issue #361 (thanks luizbills)
2014-02-12 15:09:44 +00:00
Richard Davey 59ea6746db Merge pull request #393 from brejep/master
Tilemap#paste diffX and diffY equations changed
2014-02-12 14:56:41 +00:00
Richard Davey cf3b9ae187 Merge pull request #365 from luizbills/dev
browserify/requirejs error with SAT module fixed
2014-02-12 00:57:56 +00:00
Brett Jephson b0f4ac3bcc Tilemap - reverse diffX and diffY equations in Tilemap#paste. 2014-02-09 17:37:21 +00:00
Luiz Bills 03cde81b48 Merge branch 'master' into dev 2014-02-06 11:01:20 -02:00
Luiz Bills b7bb52696f browserify/requirejs error with SAT module fixed 2014-02-06 10:07:23 -02:00
Mario Carballo Zama df2a048594 Added description for pad len parameter 2014-02-06 00:20:40 -06:00
photonstorm 68d5c73fea Explicitly paused Timer continues if you un-focus and focus the browser window.
Added TimerEvent.pendingDelete and checks in Timer.update, so that removing an event in a callback no longer throws an exception.
2014-02-05 22:35:35 +00:00
photonstorm eddce653e9 Preparing for 1.1.5 development. 2014-02-05 21:02:41 +00:00
photonstorm e7a9b96d27 Final release 1.1.4 examples finished. 2014-02-05 16:55:02 +00:00
photonstorm 02b75b9e23 Updated doc files. 2014-02-05 16:55:02 +00:00
photonstorm 0896c2fac7 Updating copyright year and README. 2014-02-05 16:54:59 +00:00
photonstorm 8e77e8cedb Lots of TypeScript defs updates for the new Physics / Body classes. 2014-02-05 16:54:58 +00:00
photonstorm 846e9c5061 Removed debug info and tidying up ready for release. 2014-02-05 16:54:58 +00:00
photonstorm 1af86771ba And we have level/ground jitter fixed :) Starstruck is running again properly now too. Time to commit and remove lots of debug data. 2014-02-05 16:54:58 +00:00
photonstorm 84f0f00f49 n-way collision checks and onBeginContact and onEndContact done and working. Also fixed issue in TweenManager.removeAll. 2014-02-05 16:54:58 +00:00
photonstorm 8315973c5d Body/Group testing complete. Now focusing on n-way collision. 2014-02-03 04:09:45 +00:00
photonstorm 28f71ed86d Fixed the Sprite / World / Group body issue. So invaders now works again, as do the new examples. 2014-02-03 04:09:45 +00:00
photonstorm 3488880956 Sprite vs. Sprite Group Body Tests. 2014-02-03 04:09:45 +00:00
photonstorm 5e182d317b Fixed lots of examples and added the missing Line.js. 2014-01-31 14:12:20 +00:00
photonstorm 27fc447928 New polygon collision object examples and Body scale fixes. 2014-01-31 10:34:18 +00:00
photonstorm 45b6d5a741 Removed: Debug.renderSpriteTouching, Debug.renderLocalTransformInfo, Debug.renderWorldTransformInfo, Debug.renderSpriteCollision and Debug.dumpLinkedList.
Debug.renderPhysicsBody(body, color) is extremely useful for debugging the new physics bodies. Will draw the outline + points in the color given.
Debug.renderBodyInfo(sprite, x, y, color) will display lots of Sprite body data.
2014-01-31 05:42:20 +00:00
photonstorm 13a86765cb Phaser.CANVAS_PX_ROUND is a boolean. If 'true' the Canvas renderer will Math.floor() all coordinates before drawImage, stopping pixel interpolation. Defaults to false.
Phaser.CANVAS_CLEAR_RECT is a boolean. If 'true' (the default) it will context.clearRect() every frame. If false this is skipped (useful if you know you don't need it)
Collision now works between Sprites positioned via sprite.x/y, sprite.body.x/y or sprite.body.velocity.
If you are tweening a sprite and still want physics collision, set `sprite.body.moves = false` otherwise it will fight against the tween motion.
2014-01-31 04:14:02 +00:00
photonstorm 68b7d22e0d Fixed issue with the camera being slightly out of sync with 'fixedToCamera' sprites. Also fixed 'jitter' issue with camera targets. 2014-01-31 03:32:12 +00:00
photonstorm 6e4e99f436 Added Game Update loop step debugging - has proved utterly invaluable! Resolved camera jitter issues, gravity / downward force on tile/boundary issues and most tilemap collision issues. 2014-01-31 02:06:45 +00:00
photonstorm 651858372c Added Game core loop stepping support. Super-useful for debugging, and helped me track down the issue with jittery physics collision. Double-win! 2014-01-29 17:10:13 +00:00
photonstorm d51a37211c Phaser.Line added to the group of geometry classes, with full point on line/segment and intersection tests (see new examples) 2014-01-29 00:21:28 +00:00
photonstorm 5b85c910cb New lineIntersectLine() function working nicely. 2014-01-28 17:13:07 +00:00
photonstorm 82cb66f47b Updated intersects code, tilemap collision is running again. Still finding gravity pushing sprites through tiles. 2014-01-28 06:52:56 +00:00
photonstorm 9deb5514a2 ArcadePhysics.setBoundsToWorld implemented. Body.setCircle, setRectangle and setPolygon all working. Tidying up Body class. Need to add tile collision special case handler next. 2014-01-28 05:01:17 +00:00
photonstorm 90c09374af Velocity integration tidied up. Now moving to sync Body with Sprite center point. 2014-01-28 01:29:35 +00:00