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
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
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
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
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
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
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
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
photonstorm
a6fac64248
Loads of issues reported on Github resolved (sprite crop, music resume, etc).
2013-10-24 04:27:28 +01:00
Richard Davey
e4621aafdd
Merge pull request #115 from ooflorent/grunt-build
...
Build phaser using Grunt
2013-10-23 09:11:51 -07:00
photonstorm
7e5f38d022
Phaser.Time physicsElapsed delta timer clamp added. Stops rogue iOS / slow mobile timer errors causing crazy high deltas.
2013-10-23 17:11:06 +01:00
Florent Cailhol
dfee9f9b2f
Add new Grunt build
2013-10-23 16:58:48 +02:00
photonstorm
94c7c57e1c
Fixed WebGL detection and code colour on Firefox.
2013-10-23 15:13:21 +01:00
photonstorm
4a51ac4671
Updated README and sorting out folder case issue.
2013-10-23 13:30:23 +01:00
photonstorm
8ed783802e
New examples page
2013-10-18 15:12:32 +01:00
photonstorm
7e8b79adf4
Tilemap painting example and other smaller updates.
2013-10-17 21:10:00 +01:00
photonstorm
275fa4641e
Added Text.destroy and BitmapText.destroy.
2013-10-17 15:40:44 +01:00
photonstorm
4b2ac6c6c6
More tilemap examples
2013-10-16 21:25:51 +01:00
photonstorm
9c1fdb371c
Nearly finished Tilemap integration into the core.
2013-10-16 06:33:39 +01:00
photonstorm
31018b9295
Star Struck game back and working again, plus finished the level design.
2013-10-16 03:37:15 +01:00
photonstorm
a97f271de7
Fixed Animation index 0 issue and hooked TilemapLayer to camera.
2013-10-16 02:09:12 +01:00
photonstorm
fd5eeb9088
Fixed Rectangle intersection issue and tilemap collision is working again. Win!
2013-10-15 15:24:07 +01:00
photonstorm
f3ea68aad3
Extracting the correct area from a layer, debug displaying it and preparing for collision.
2013-10-15 05:41:42 +01:00
photonstorm
dd695e066f
More tilemap tweaks.
2013-10-14 19:37:52 +01:00
photonstorm
c6bf67c392
Group.alpha exposed and instance returns added to Loader functions.
2013-10-13 20:28:06 +01:00
photonstorm
e98aa205ea
Sprite.destroy is back in business.
2013-10-13 01:29:57 +01:00
photonstorm
574f4f351b
Github Issue #101 fixed. Plus more Tilemap updates.
2013-10-11 20:02:12 +01:00
photonstorm
0201baef11
And Tilemaps are rendering again - and much better than ever before :) Just one final optimisation pass to do and then it's on to collision.
2013-10-11 18:18:27 +01:00
photonstorm
cf414394c3
Tileset working, map coming next.
2013-10-11 06:30:28 +01:00
photonstorm
b868c2cb1b
Started revamp of the Tilemap system. Also removed old 'Advanced Physics' and dropped in p2.js which is what I hope we'll eventually use.
2013-10-11 04:42:11 +01:00
photonstorm
a7230aa769
Sprite.loadTexture added.
2013-10-10 09:03:38 +01:00
photonstorm
f10f9324ad
Animation.killOnComplete added and fixed a few issues in the Tanks game.
2013-10-09 13:36:57 +01:00
photonstorm
29acf7fb4b
Enemy tanks, now firing.
2013-10-09 07:11:36 +01:00
photonstorm
ca9321ef42
Updated physics body to use localTransform. Updated tanks demo.
2013-10-09 05:13:38 +01:00
photonstorm
83a00862be
Lots of new examples and updates.
2013-10-09 04:31:08 +01:00
Richard Davey
1c577d3674
Fixed RandomDataGenerator.sow
2013-10-08 22:55:27 +01:00
photonstorm
f5584bdfe5
Lots of fixes and updates to ArcadePhysics and Group, plus more examples.
2013-10-08 21:09:46 +01:00
photonstorm
ebc4e5dc3d
New examples HTML page added.
2013-10-08 12:52:20 +01:00
photonstorm
fa692653e3
Final commit before rebuilding the Tilemap system.
2013-10-08 10:52:15 +01:00
photonstorm
c307f79102
Added Sprite.fixedToCamera, fixed Angular Velocity and Acceleration, fixed jittery Camera, added skipQuadTree flag and created lots more examples.
2013-10-08 00:58:20 +01:00
photonstorm
1bc6ac25fa
Preparing to merge new examples.
2013-10-07 22:15:28 +01:00
Richard Davey
d4149a8f9a
Setting up for this weeks work.
2013-10-07 22:15:28 +01:00
Richard Davey
664c512a99
Fixed small typo.
2013-10-06 16:27:39 +01:00
Richard Davey
47e1b1b54b
Sprite optimisations.
2013-10-04 19:00:55 +01:00
Richard Davey
455b18b7ec
Sprite optimisations :)
2013-10-04 18:09:56 +01:00
Richard Davey
c00bf96603
World and Camera updates nearly complete.
2013-10-04 16:51:24 +01:00
Richard Davey
e8bed83ac3
Making some major changes to Camera and World.
2013-10-04 14:41:15 +01:00
Richard Davey
54f073e5cb
Testing some new Camera tricks.
2013-10-03 23:20:24 +01:00
Richard Davey
c8760b4341
Docs update.
2013-10-03 04:17:44 +01:00
Richard Davey
96da57cac0
Fixed up the namespace in the documentation and finished off all sections other than Game Objects and Physics (yuck).
2013-10-03 02:38:35 +01:00
Richard Davey
f832bacfd6
More Docs!
2013-10-03 01:21:08 +01:00
Richard Davey
e85643abf4
Yet more documentation done.
2013-10-02 20:18:24 +01:00
Richard Davey
868ae81bab
Input, Loader and Math docs tidied up.
2013-10-02 15:05:55 +01:00
Richard Davey
1a2dc05609
Input and keyboard docs.
2013-10-02 13:18:58 +01:00
Richard Davey
852e82d0ca
More docs.
2013-10-02 12:11:22 +01:00
Richard Davey
2a01fbb0e8
Merge pull request #87 from STuFF/patch-1
...
fix typo
2013-10-02 03:23:53 -07:00
Richard Davey
6ce6330f50
More docs.
2013-10-02 11:22:48 +01:00
Nicolas Challeil
d2bd2e1600
fix typo
...
small contribution is small :)
2013-10-02 09:46:42 +02:00
Richard Davey
82325ecc8a
Finished Group documentation.
2013-10-02 01:51:30 +01:00
Richard Davey
e5b1faace6
Preparing more documentation.
2013-10-02 01:16:40 +01:00
Richard Davey
7c7cd8b01d
More docs and quick patch to stop the body.allowRotation messing things up.
2013-10-01 16:56:47 +01:00
Richard Davey
ca113b85aa
More docs coming on.
2013-10-01 16:39:39 +01:00
Richard Davey
a38ad2d1a9
Merge pull request #85 from onedayitwillmake/dev
...
Fixed accidentally overwroting remove function with a prepend function
2013-10-01 08:16:16 -07:00
Richard Davey
9b4b267e7a
Working through building the docs.
2013-10-01 16:15:45 +01:00
Mario Gonzalez
f593afd164
Fixed accidentally overwroting remove function with a prepend function
2013-10-01 10:08:09 -04:00
Richard Davey
0a98bb67d8
jsdoc blocks added to every file and tidied up.
2013-10-01 15:05:30 +01:00
Richard Davey
305b12d76b
Adding docs.
2013-10-01 15:01:46 +01:00
Mario Gonzalez
fa8ad51c79
Fixed bug in LinkedList#remove that could cause first/tail to be have pointers to dead node
2013-09-30 22:06:48 -04:00
Richard Davey
480d90b009
* Removed the callbackContext parameter from Group.callAll because it's no longer needed.
...
* Updated Group.forEach, forEachAlive and forEachDead so you can now pass as many parameters as you want, which will all be given to the callback after the child.
* Updated build script so it can be run from the command-line and includes UMD wrappers (thanks iaincarsberg)
2013-10-01 02:19:08 +01:00
Richard Davey
8668b82ef6
* Fixed issue causing Keyboard.justPressed to always fire (thanks stemkoski)
...
* Added Keyboard.addKey() which creates a new Phaser.Key object that can be polled for updates, pressed states, etc. See the 2 new examples showing use.
2013-10-01 01:18:29 +01:00