Commit graph

1098 commits

Author SHA1 Message Date
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
photonstorm
ea651113df Preparing for 1.1.2 release. 2013-10-28 00:16:20 +00:00
beeglebug
f00c52598b added init method to plugins
this will allow potentially destructive code to run outside of the
constructor, and only if it has been added to the PluginManager
2013-10-27 22:30:01 +00:00
Gabe Hollombe
7a9508d01d Added touch joystick example
Using Clay.io's HTML5 Virtual Game Controller
2013-10-27 15:59:05 +08:00
photonstorm
9261160571 1.1.1 release with fix for Phaser.AUTO and a new text example. 2013-10-26 19:14:13 +01:00
photonstorm
2787ed188e Preparing for 1.1.2 release 2013-10-26 12:17:22 +01:00
photonstorm
b6efdff286 Adding the key capture to addCursors. 2013-10-25 19:13:00 +01:00
photonstorm
6994e4be5e Merge branch 'dev' 2013-10-25 18:50:14 +01:00
photonstorm
bd5bca14fe Small url update. 2013-10-25 18:38:01 +01:00
photonstorm
34736fbde5 Final 1.1 release. Here goes nothing :) 2013-10-25 18:35:49 +01:00
Richard Davey
155c36b0fd Merge pull request #126 from alvinsight/dev
Second commit, all the basic examples added, and wip files moved
2013-10-25 10:13:55 -07:00
Webeled
8dfe5aee1c Second commit, all the basic examples added, and wip files moved 2013-10-25 18:10:03 +01:00
Richard Davey
3f9c07d783 Merge pull request #125 from alvinsight/dev
Basic examples created
2013-10-25 10:07:17 -07:00
Webeled
f63e8d7d06 Basic examples created 2013-10-25 18:00:25 +01:00
photonstorm
65d2bf557b Updated docs and more tidying up. 2013-10-25 17:30:37 +01:00
photonstorm
9f9e6a2a57 Lots of doc updates! 2013-10-25 16:54:40 +01:00
Richard Davey
0463bb4333 Merge pull request #124 from alvinsight/dev
A lot of documentation updates
2013-10-25 07:51:38 -07:00
Webeled
12148b3159 More improvements on GameObjectFactory 2013-10-25 15:42:48 +01:00
Webeled
ce04ade458 Lots of JSDocs updates in the gameobjects folder 2013-10-25 15:22:45 +01:00
photonstorm
a08436abc3 Final Sprite documentation added. 2013-10-25 15:02:21 +01:00
Webeled
35517d94ad Just to test if smartGit works again 2013-10-25 14:31:25 +01:00
photonstorm
2659ed7a4a Updated readme. 2013-10-25 06:01:36 +01:00
Richard Davey
ba57f0ae0d Merge pull request #123 from TomTom1229/dev
Manually created a more accurate TypeScript definition file
2013-10-24 21:50:53 -07:00
photonstorm
d8a2b9d2af Removed console.log 2013-10-25 05:43:10 +01:00
photonstorm
2921a6de2e Pixel Perfect click detection now works even if the Sprite is part of a texture atlas. 2013-10-25 05:40:46 +01:00
Tomas Morris
d30f709208 Manually created a more accurate TypeScript definition file 2013-10-24 21:24:35 -06:00
photonstorm
1294b3a2b9 Input over now works regardless of rotation, anchor or scale. 2013-10-25 03:57:08 +01:00
photonstorm
427819c655 Sprite bounds finally correct, regardless of rotation, parenting, scale or anchor. 2013-10-25 03:50:15 +01:00
photonstorm
1469663ea5 Button fixes and Input coordinate fixes. 2013-10-25 02:19:16 +01:00
photonstorm
1f28d328a7 Commit before refactoring Sprite guts. 2013-10-24 21:21:00 +01:00
Richard Davey
03054c1949 Merge pull request #121 from ooflorent/examples-order
Fix order of examples
2013-10-24 06:03:46 -07:00
Florent Cailhol
708a144c7a Sort example directories 2013-10-24 14:12:54 +02:00