Commit graph

2109 commits

Author SHA1 Message Date
photonstorm
e266ecfe00 Starting timer tests. 2014-02-22 00:17:41 +00:00
photonstorm
be4d42a1c2 The StateManager now looks for a function called 'resumed' which is called when a game un-pauses (fixes #358) 2014-02-22 00:01:19 +00:00
photonstorm
ea4873e286 SoundManager.play() does not do anything with destroyOnComplete (fix #333) 2014-02-21 23:55:11 +00:00
Richard Davey
37323562cd Merge pull request #469 from bburky/cdnjs-1.1.5
Update CDNJS link for 1.1.5
2014-02-21 23:43:28 +00:00
Blake Burkhart
f6cc40f025 Update CDNJS link for 1.1.5 2014-02-21 17:21:16 -06:00
photonstorm
57796a60be TileSprites can now receive full Input events, dragging, etc and be positioned in-world and fixed to cameras (fixes #321) 2014-02-21 19:21:00 +00:00
Richard Davey
ee1a1cd1c9 Merge pull request #468 from alvinsight/1.2
Examples updated :)
2014-02-21 18:59:34 +00:00
photonstorm
1448562abd Loader can now load JSON files specifically (game.load.json) and they are parsed and stored in the Game.Cache. Retrieve with game.cache.getJSON(key) (#329)
Also fixed UTF encoding on the animation file.
2014-02-21 18:48:06 +00:00
Richard Davey
529d210006 Merge pull request #329 from lucasmonteverde/dev
Custom JSON loader
2014-02-21 18:42:01 +00:00
alvinsight
b03c6231e1 And some more examples updated :) 2014-02-21 17:59:13 +00:00
alvinsight
2669f81391 Debug functions ? Seems last commit didn't work 2014-02-21 17:59:13 +00:00
alvinsight
2eab5d4815 Debug functions and more examples 2014-02-21 17:59:12 +00:00
alvinsight
7342ce603a Velocity is back on track :) 2014-02-21 17:59:11 +00:00
photonstorm
fb5920feec We now force IE11 into Canvas mode to avoid a Pixi bug with pre-multiplied alpha. Will remove once that is fixed, sorry, but it's better than no game at all, right? :(
Loader.setPreloadSprite() will now set sprite.visible = true once the crop has been applied. Should help avoid issues (#430) on super-slow connections.
2014-02-21 17:29:51 +00:00
Richard Davey
7b572b9b81 Merge pull request #377 from Malax/dev
Added a warning when the tile set image has not the expected dimensions.
2014-02-21 16:58:06 +00:00
photonstorm
5a00a0ad97 TilemapParser will now throw a warning if the tileset image isn't the right size for the tile dimensions (fixes #377) 2014-02-21 16:57:45 +00:00
photonstorm
3ac8fba9e8 Body.x/y didn't use pxpi. Also fixed out of bounds example. 2014-02-21 16:35:37 +00:00
Richard Davey
43bc0e72f1 Merge pull request #460 from nhowell/patch-2
Fix typo of Phaser.World#preUpdate for docs
2014-02-21 15:52:41 +00:00
photonstorm
5c4dd26d25 Fixed for renderSpriteInfo. 2014-02-21 15:50:02 +00:00
photonstorm
3ead8aee7b Updated Mouse to use event.button not event.which, so the const references are correct (fix #464) 2014-02-21 15:47:00 +00:00
photonstorm
e9e5bf9436 Updated docs - they now actually list the new body methods :) 2014-02-21 15:37:26 +00:00
photonstorm
7ee0c20bb3 Added Debug.renderSpriteBounds() back and wrapped Body.velocity and force in px2p calls. 2014-02-21 15:34:15 +00:00
photonstorm
d7ababa398 BitmapData.alphaMask will draw the given image onto a BitmapData using an image as an alpha mask. 2014-02-21 15:09:04 +00:00
photonstorm
07af06fc4e Fixing up documentation, missing functions, examples and alpha masks. 2014-02-21 14:50:18 +00:00
photonstorm
eb38ae35f8 renderXY added back into RenderTexture. 2014-02-21 13:44:39 +00:00
photonstorm
a61d030256 Display Objects now clean-up their children properly on destroy. 2014-02-21 13:25:08 +00:00
photonstorm
dd8a393bc9 Updated version of p2 2014-02-21 12:40:49 +00:00
photonstorm
066a625d17 When adding a Group if the parent value is null the Group won't be added to the World, so you can add it when ready. If parent is undefined it's added to World by default. 2014-02-21 12:35:30 +00:00
photonstorm
5f6fc9db05 When adding a Group if the parent value is null the Group won't be added to the World, so it's up to you to add it when ready. If parent is undefined it's added to World. 2014-02-21 12:33:15 +00:00
photonstorm
efd760479d Sprite and Image now remove any masks that may have been set when they are destroyed. 2014-02-21 12:18:23 +00:00
photonstorm
cf3796d60c Phaser.Animation.frame now returns the frame of the current animation, rather than the global frame from the sprite sheet / atlas (fix #466) 2014-02-21 10:31:17 +00:00
photonstorm
251b819bdb Fixed InputHandler group check #463 2014-02-21 10:06:53 +00:00
Richard Davey
008badcf79 Merge pull request #463 from georgiee/fix-group
Fixed Phaser.Group#destroy(true)
2014-02-21 10:04:33 +00:00
Georgios Kaleadis
b2303c64a3 endless loop when in Phaser.Group when destroy children fixed (use parent not group) 2014-02-20 13:26:10 +01:00
Richard Davey
26b24b491d Merge branch '1.2' of https://github.com/photonstorm/phaser into 1.2 2014-02-20 10:32:24 +00:00
photonstorm
34fa6ffaeb Final tweaks. 2014-02-20 04:38:45 +00:00
photonstorm
c48e685802 Minor labs updates. 2014-02-20 04:28:19 +00:00
photonstorm
91c0299d4c Fixed issues with the contacts and world bounds. New labs demo created. 2014-02-20 04:21:14 +00:00
photonstorm
9fcab5ef26 Lots of doc fixes (thanks nhowell) 2014-02-20 03:44:44 +00:00
Richard Davey
ad0e53abb9 Merge pull request #459 from nhowell/patch-1
Fix typo of Phaser.TweenManager#pauseAll for docs
2014-02-20 03:44:29 +00:00
Nicholas Howell
6dca66c501 Fix typo of Phaser.World#preUpdate for docs 2014-02-19 22:17:38 -05:00
Nicholas Howell
0fbbb887fc Fix typo of Phaser.TweenManager#pauseAll for docs 2014-02-19 21:48:59 -05:00
Richard Davey
f9a63a9d2e Merge pull request #437 from bunnyhero/intersects-return
Return a value from Phaser.Physics.Arcade.intersects().
2014-02-20 02:10:44 +00:00
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
Richard Davey
310eb0a69e Merge pull request #455 from nhowell/patch-4
Fix typo of Phaser.BitmapText.prototype.destroy for docs
2014-02-20 01:39:03 +00:00
photonstorm
4ad7b304c6 Added Game configuration option: forceSetTimeOut 2014-02-20 01:31:13 +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