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
Richard Davey
de34a13545
Merge pull request #176 from rjimenezda/dev
...
Polygon class & drawPolygon method
2013-11-05 13:20:35 -08: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
Samuel Batista
32bff9e419
Merge pull request #1 from photonstorm/dev
...
Dev
2013-11-04 16:07:59 -08:00
beeglebug
00664f9e99
Phaser.Game parent can now be a HTMLElement
2013-11-04 21:29:32 +00:00
photonstorm
fa8533f5d1
Added Tetris sprites
2013-11-04 20:45:51 +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
Richard Davey
eb95ce231b
Merge pull request #159 from alvinsight/dev
...
Tidied up space invaders' code base
2013-11-01 11:13:55 -07:00
alvinsight
d0889fcc17
Tidied up the code base
2013-11-01 18:04:54 +00:00
photonstorm
160a321a36
Updated invaders demo.
2013-11-01 17:37:32 +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
19ac33f970
Merge pull request #158 from alvinsight/dev
...
Invaders game improved
2013-11-01 10:30:00 -07:00
alvinsight
56c7f1f275
Invaders game improved
2013-11-01 17:02:06 +00:00
Richard Davey
51a42c2f12
Merge pull request #155 from alvinsight/dev
...
Tilemaps examples updated
2013-11-01 07:50:54 -07:00
Webeled
e3f76ce481
Tilemaps examples updated
2013-11-01 12:25:14 +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
photonstorm
ddf15979d0
Fixing up Invaders and Star Struck. Also removing lots of un-used css jsdoc themes.
2013-10-31 01:45:16 +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
Richard Davey
0a77690f4f
Merge pull request #144 from beeglebug/dev
...
hexToRGB now accepts short hex codes (#EEE)
2013-10-30 07:16:41 -07: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