Commit graph

863 commits

Author SHA1 Message Date
photonstorm
d9323de752 Docs and Examples update. 2014-02-12 15:26:29 +00:00
photonstorm
1d633a55f0 Merged from dev. 2014-02-12 15:24:59 +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
photonstorm
2a65488eec Added Line.js to the Gruntfile. 2014-02-12 08:25:46 +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
photonstorm
10252543f2 Fixed the TypeScript definitions to include the missing SAT classes and other small tweaks. Updated README. 2014-02-10 02:43:57 +00:00
Richard Davey
62da24a7fc Merge pull request #392 from clark-stevenson/patch-1
Update phaser.d.ts
2014-02-09 19:51:28 +00:00
Brett Jephson
b0f4ac3bcc Tilemap - reverse diffX and diffY equations in Tilemap#paste. 2014-02-09 17:37:21 +00:00
clark-stevenson
e9ab2d30b6 Update phaser.d.ts
Sprite was missing height property
2014-02-09 17:00:07 +00:00
clark-stevenson
27bca6a8c2 Update phaser.d.ts
atlasJSONArray, atlasJSONHash should have optional parameters when it comes to URL/Object? Please disregard this if this is incorrect.
2014-02-09 16:15:10 +00:00
photonstorm
e11cae5373 Added the SAT class to the TypeScript defs file. Also this fixes #369. 2014-02-07 02:50:36 +00:00
Richard Davey
c0032e7a58 Merge pull request #368 from Arlefreak/dev
Added description for pad len parameter
2014-02-06 21:19:25 +00:00
photonstorm
9e5e30bb12 Fixed TypeScript defs on lines 1741-1748 (thanks wombatbuddy) 2014-02-06 19:36:33 +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
16fa37081f Merge branch 'origin/dev'
Conflicts:
	README.md
2014-02-05 17:05:26 +00:00
photonstorm
fd68a2fe3a Version number updates. 2014-02-05 16:59:54 +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
Richard Davey
4502ca1bf6 Merge pull request #359 from qdrj/patch-7
Update phaser.d.ts
2014-02-05 12:33:30 +00:00
Richard Davey
70ad43e71b Merge pull request #357 from qdrj/patch-5
Update phaser.d.ts
2014-02-05 12:33:04 +00:00
qdrj
a1ccddcd7e Update phaser.d.ts
Added BitmapText definitions
2014-02-05 01:19:04 -08:00
qdrj
82c39d0866 Update phaser.d.ts
It is a bit confusing that AnimationManager.getAnimation can return animation object or false. Maybe it will better if this method will be returning null instead of false.
2014-02-04 23:24:28 -08:00
Richard Davey
45f9db515a Merge pull request #356 from qdrj/patch-4
Update phaser.d.ts
2014-02-04 03:08:18 -08:00
qdrj
09d4b2bb8b Update phaser.d.ts 2014-02-04 01:32:06 -08: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
Richard Davey
33d47cf9e9 Merge pull request #344 from qdrj/patch-1
Update phaser.d.ts
2014-01-31 10:28:21 -08:00
Richard Davey
cdb1891420 Merge pull request #350 from qdrj/patch-3
Update phaser.d.ts
2014-01-31 10:28:02 -08:00
qdrj
30af712d6a Update phaser.d.ts
Fix typo StageScaleMode.pageAlignVeritcally
2014-01-31 07:32:17 -08:00
photonstorm
5e182d317b Fixed lots of examples and added the missing Line.js. 2014-01-31 14:12:20 +00:00
Richard Davey
26f2b2a931 Merge pull request #349 from qdrj/patch-2
Update phaser.d.ts
2014-01-31 05:41:22 -08:00
qdrj
e5dc16b68d Update phaser.d.ts
Fix incorrect Loader.checkKeyExists declaration
2014-01-31 04:53:19 -08: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