Commit graph

2579 commits

Author SHA1 Message Date
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
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
Gabe Hollombe
62656783f0 add gamecontroller.js to view_lite.html for the side_view layout 2013-10-28 18:56:48 +08: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
photonstorm
a814cc26cc * Fixed issue 135 - Added typeof checks into most ArcadePhysics functions to avoid errors with zero values.
* Fixed issue 136 - distanceTo using worldX/Y instead of x/y.
2013-10-28 10:17:36 +00:00