Commit Graph

294 Commits

Author SHA1 Message Date
Richard Davey ebe441666c BitmapData object added 2013-11-13 20:57:09 +00:00
Richard Davey 6a24d6116b Lots of renderTexture updates and examples added 2013-11-13 06:49:24 +00:00
Richard Davey e4faa34908 Merge pull request #188 from Izzimach/izz
Switched Tilemap to use user-specified layer.
2013-11-12 16:33:43 -08:00
Richard Davey 71b08cafbd Merge pull request #184 from crazysam/dev
Implementing PluginManager.remove, added PluginManager.removeAll
2013-11-12 16:32:43 -08:00
Richard Davey 9dc7c73135 Merge pull request #181 from jcd-as/dev
Added scrollFactorX/scrollFactorY to TilemapLayers
2013-11-12 16:31:51 -08:00
Richard Davey e271f69527 Merge pull request #170 from beeglebug/selectors
Phaser.Game parent can now be a HTMLElement
2013-11-12 16:26:42 -08:00
photonstorm 46cf024a35 filter test updates 2013-11-09 02:16:52 +00:00
Izzimach 1d20c07ed9 Merge remote-tracking branch 'origin/dev' into izz 2013-11-08 12:04:24 -07:00
Izzimach 18a07f7a88 Switched Tilemap to use user-specified layer.
Tilemap was using the current layer even if a layer was specified as a
parameter in getTile/setTile. Changed it to use the user layer if one is
specified.
2013-11-08 11:40:07 -07:00
Samuel Batista 084c4239e5 Implementing PluginManager.remove function, added PluginManager.removeAll function. 2013-11-08 01:11:36 -05:00
Josh Shepard b35da01cfc Added scrollFactorX/scrollFactorY to TilemapLayers - controls rate of movement of layers as a factor of camera position 2013-11-07 10:44:04 -08:00
photonstorm 3f99b691c9 Added in a Group.sort demo, also updated the documentation and build files. 2013-11-07 06:10:15 +00:00
photonstorm 42cd8bd812 Added Group.sort, can sort the Group based on any given numeric property (x, y, health), finally you can do depth-sorting :) 2013-11-07 04:31:37 +00:00
photonstorm 789f0bb0a1 Fixing up Group.sort 2013-11-06 17:43:01 +00:00
photonstorm dfb22f1044 Tracked down an evil bug in Group.swap that caused the linked list to get corrupted in an upward (B to A) neighbour swap. 2013-11-06 16:46:21 +00:00
photonstorm 8b793cd8d7 Updated to latest version of Pixi.js. Lovely new WebGL filters now working happily :) 2013-11-06 04:51:23 +00:00
photonstorm 94d9fa6e77 Tidying up some docs. 2013-11-05 21:44:39 +00:00
Román Jiménez 35dd98c72f Added some docstring to the Polygon class 2013-11-05 20:31:33 +01:00
Román Jiménez 06e33bc8e4 Polygon & drawPolygon method 2013-11-05 20:25:06 +01:00
photonstorm 1eca16a948 ArcadePhysics.updateMotion applies the dt to the velocity calculations as well as position now (thanks jcs) 2013-11-05 16:14:24 +00:00
beeglebug 00664f9e99 Phaser.Game parent can now be a HTMLElement 2013-11-04 21:29:32 +00:00
photonstorm 2e576fa9a7 Input Handler updates, orientation screen and World visibility 2013-11-04 20:44:32 +00:00
photonstorm 19ddad8095 Mouse handler updates. 2013-11-04 20:44:32 +00:00
Richard Davey 9022a2f9d3 Merge pull request #160 from cocoademon/camera_shake
Add a postUpdate function to plugins
2013-11-03 18:58:04 -08:00
Richard Davey 0e84b7ccc9 Merge pull request #162 from beeglebug/button
Button now goes back to over state when setFrames used in action
2013-11-03 18:39:54 -08:00
Richard Davey a5c8b2509c Merge pull request #167 from wKLV/dev
Mouse now knows what button is clicked
2013-11-03 18:21:53 -08:00
Richard Davey c1d60d7e19 getAnimation and RAF callback ID checks added 2013-11-04 00:04:19 +00:00
wKLV 8678373754 fix typo 2013-11-04 00:18:59 +01:00
wKLV e8bac6c8c7 Check type uses the static values 2013-11-04 00:16:36 +01:00
KLV 4593a42a5b Mouse property to say what button is being clicked
It follows the convention that already was in the
file 0 for left, 1 for middle and 2 for right.
It also changes to -1 when mouseUp.
2013-11-03 23:43:47 +01:00
beeglebug 3227918c57 fix #154 Button now goes back to over state when setFrames used in action 2013-11-02 11:24:00 +00:00
Cameron Foale a96ced0d82 Add a postUpdate function to plugins, which is called after World.postUpdate 2013-11-02 17:04:32 +11:00
photonstorm cc42a71c66 Preparing 1.1.3 dev branch 2013-11-01 19:05:47 +00:00
photonstorm 3e9777e6f4 Updated docs for 1.1.2 release. 2013-11-01 18:16:52 +00:00
photonstorm 685054eac5 Group.callAll now supports nested functions and a context, making it really powerful! 2013-11-01 17:29:57 +00:00
Richard Davey bd752785b9 Merge pull request #150 from beeglebug/master
added getMagnitude, setMagnitude, normalize and isZero methods to Point
2013-11-01 04:37:54 -07:00
photonstorm 787abc1e02 Updated debug header and added more info to the project template. 2013-11-01 04:58:08 +00:00
photonstorm 581d637663 Added Group.cursor. This points to the first item added to a Group. You can move the cursor with Group.next() and Group.previous(). 2013-11-01 02:50:00 +00:00
photonstorm 3c164b466c * 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.
2013-11-01 02:07:21 +00:00
photonstorm 01eab3aeb1 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) 2013-10-31 16:27:10 +00:00
photonstorm 6f93a2ec94 Multiple Anims update, Tilemap fixes and some new examples. 2013-10-31 15:45:19 +00:00
Stuart Lee 903c2e73fa added getMagnitude, setMagnitude, normalize and isZero methods to Point 2013-10-31 14:11:03 +00:00
photonstorm 712858cf75 More work on the Invaders game. 2013-10-31 05:31:54 +00:00
Richard Davey ebf4456e4e Merge pull request #147 from beeglebug/scope
state callbacks now receive game object as argument
2013-10-30 18:44:35 -07:00
Stuart Lee 01f64c6694 state callbacks now receive game object as argument 2013-10-30 16:09:06 +00:00
Stuart Lee 9030fbf352 hexToRGB now accepts short hex codes (#EEE) 2013-10-30 13:34:46 +00:00
photonstorm 24c809dd5f Final body / physics / bounds fixes. Also updated various examples, optimised Sprite core loop and enhanced the Invaders example. 2013-10-30 03:46:52 +00:00
photonstorm 3de62907a0 Nearly fixed the tilemap / body issue. More tests needed but then can push to master. 2013-10-29 04:07:26 +00:00
photonstorm 7ceb11ae49 New: You'll now find a complete Basic project Template in the resources/Project Templates folder. Will add more complex ones soon. 2013-10-28 23:29:34 +00:00
Richard Davey 2b40d2f507 Merge pull request #139 from beeglebug/master
Added init method to plugins, to be called as they are added to the PluginManager
2013-10-28 03:28:13 -07:00