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
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