Commit graph

311 commits

Author SHA1 Message Date
photonstorm
a3533b9b75 Phaser 2.2.1. 2014-12-04 11:31:41 +00:00
photonstorm
1d6fd31bd7 Phaser 2.2.0. 2014-12-03 09:34:51 +00:00
photonstorm
a51e22a497 Phaser 2.2 RC13 Build Files. 2014-12-02 09:04:58 +00:00
photonstorm
8ffd686fe1 Phaser 2.2.0-RC12 Release 2014-11-27 21:33:21 +00:00
photonstorm
aa86d2fbf3 Phaser 2.2.0 RC11 Build files. 2014-11-25 00:48:53 +00:00
photonstorm
40c490ce23 Phaser 2.2 Release Candidate 8 (newsletter build) 2014-11-17 14:14:50 +00:00
photonstorm
a8574b42ef Phaser 2.2 Release Candidate 8 2014-11-17 13:08:53 +00:00
photonstorm
a41226cdad Phaser 2.2.0 Release Candidate 7. 2014-11-15 20:04:24 +00:00
photonstorm
d8d2ebdb31 Phaser 2.2.0 - Release Candidate 6. 2014-11-14 08:16:55 +00:00
photonstorm
f64bb72a28 Phaser 2.2.0 Release Candidate 5. 2014-11-12 22:49:36 +00:00
photonstorm
a4e049ac63 RC3 Build files. 2014-11-11 14:31:31 +00:00
photonstorm
dbd2957884 Phaser 2.2.0 RC2 build. 2014-11-11 01:10:47 +00:00
photonstorm
69ec5efc29 Phaser 2.2.0-Release Candidate build. 2014-11-10 01:41:41 +00:00
photonstorm
a74a181074 New build files for RC testing. 2014-11-08 19:26:34 +00:00
photonstorm
88eae3aed0 Build files for testing. 2014-11-08 19:11:28 +00:00
photonstorm
98e6f155de New build files. 2014-10-28 01:50:25 +00:00
photonstorm
e4ddf316cc New build files for testing. 2014-10-27 23:31:26 +00:00
photonstorm
d22f2bd89b Small fix for Text wordWrapping #1247 2014-10-23 16:03:29 +01:00
photonstorm
7557e4ed36 Phaser 2.1.3 2014-10-23 12:34:33 +01:00
photonstorm
b63e9fc8c6 Phaser 2.1.3 build files. 2014-10-23 12:27:34 +01:00
photonstorm
0e2378d276 Phaser 2.1.3 release. 2014-10-22 23:53:32 +01:00
photonstorm
157d515940 2.1.3 Build. 2014-10-22 22:49:31 +01:00
photonstorm
ae76c90dc1 Phaser 2.1.3 build files. 2014-10-22 22:35:33 +01:00
photonstorm
fbe68e330d Phaser 2.1.3 build. 2014-10-22 21:42:12 +01:00
photonstorm
321d7b0d06 Added 2.1.2 build files. 2014-10-09 16:16:41 +01:00
photonstorm
5b922be56e Version 2.1.1. of Phaser is an emergency point release. It addresses a potential race condition that could happen in States that tried to change state from the create method but had an empty preloader or pre-cached assets. 2014-09-11 10:38:40 +01:00
photonstorm
37e4754511 2.1.0 Release. 2014-09-09 15:36:42 +01:00
photonstorm
03bd2aaf46 2.1.0 pre-built releases. 2014-09-09 14:47:54 +01:00
photonstorm
a98fbc0c62 New 2.1.0 build files. 2014-09-04 16:56:45 +01:00
photonstorm
8a1c22d059 New build files. 2014-09-01 08:21:40 +01:00
photonstorm
b389b73221 New build files for testing. 2014-09-01 03:56:40 +01:00
photonstorm
da5a9482f6 New build files for testing. 2014-08-29 18:13:33 +01:00
photonstorm
34426e7560 Loader.useXDomainRequest boolean automatically set to true if the browser is specifically detected as IE9, but you can still override this. IE10 will use xhr. 2014-08-28 05:24:57 +01:00
photonstorm
9de1d494df Phaser 2.1.0 build files for testing.
Ninja Physics is no longer included in the build files by default. Not enough people were using it, and not enough contributions were coming in to help polish it up, so we've saved the space and removed it. It's still available in the grunt build files if you require it, but we're deprecating it from the core library at this time. It will make a return in Phaser3 when we move to a modular class system.
2014-08-28 04:53:05 +01:00
photonstorm
ccc7e6734d 2.0.7 master build. 2014-07-18 12:36:01 +01:00
photonstorm
94978a62d8 New 2.0.7 build 2014-07-18 11:52:48 +01:00
photonstorm
fc047c5870 Phaser 2.0.7 test release. 2014-07-16 01:58:24 +01:00
photonstorm
0b903bf792 New build files. 2014-07-11 18:03:43 +01:00
photonstorm
ded5eac8c7 Updated build files with patched Pixi UMD statement. 2014-07-11 11:53:44 +01:00
photonstorm
43c8a25b03 2.0.6 release. 2014-07-10 20:39:14 +01:00
photonstorm
0d0a16ee2c loadTexture fix. 2014-07-10 19:13:17 +01:00
photonstorm
a3cf246aee Image.loadTexture fix and new dist files. 2014-07-10 19:03:17 +01:00
photonstorm
971f69c743 New build files for final tests before release. 2014-07-10 16:23:26 +01:00
photonstorm
336cd8b76c Build files for testing. 2014-07-02 23:23:26 +01:00
photonstorm
cc6aa7313b New Phaser + Pixi build files. 2014-07-01 15:04:03 +01:00
photonstorm
5c6b5f362d New build files. 2014-06-11 14:38:46 +01:00
photonstorm
69525799d7 New build files for testing. 2014-06-11 12:46:49 +01:00
photonstorm
3c61e1d24f Build files with Asset Pack support added. 2014-05-29 17:37:28 +01:00
photonstorm
b8a2b9347f 2.0.5 dist files. 2014-05-20 10:03:01 +01:00
photonstorm
4af89dbd15 2.0.5-dev build release. 2014-04-29 23:00:28 +01:00
photonstorm
486153d3e0 Patching back into 2.0.4 master release a couple of important updates. 2014-04-29 22:00:16 +01:00
photonstorm
1c92caad42 2.0.4 release build 2014-04-29 15:39:53 +01:00
photonstorm
90b9fafa29 New build files for the weekend :) 2014-04-17 14:59:04 +01:00
photonstorm
1326e40598 Build files + docs update. 2014-04-15 15:39:23 +01:00
photonstorm
4cea8d7bcc Preparing for final 2.0.3 release. Updated docs, readme and build files. 2014-04-11 13:09:28 +01:00
photonstorm
8c434a83ab Fixed issue with Particles not being updated by the Emitter and rebuilt the dist files. 2014-04-10 04:19:43 +01:00
photonstorm
523a3c5632 Tidied up the Grunt tasks a little to name them more accurately.
Renamed phaser-no-physics to phaser-arcade-physics, which is far more accurate.
2014-04-10 01:54:30 +01:00
photonstorm
8fc2a465cd New Phaser package, small docs updates and preparing P2.World for new bounds code and v0.5.0 migration. 2014-04-08 03:31:13 +01:00
photonstorm
4d06298e64 Fixed silly SoundManager bug :) 2014-04-01 19:51:48 +01:00
photonstorm
f4dc686028 New build files for testing. 2014-04-01 16:13:00 +01:00
photonstorm
fca1bd97fd New build to test state change in. Also various Gruntfile fixes that arose from the tasks split. 2014-04-01 03:02:36 +01:00
photonstorm
5b73bb21bb Sprite would glitch if it had an ArcadePhysics Body that was re-positioned out of loop.
Sprite would "fly off" if it had an ArcadePhysics Body that was re-positioned during an input handler.
Newly generated docs
2014-03-28 01:42:49 +00:00
photonstorm
344ab46d78 Line.fromSprite now sets "fromCenter" to false by default as Sprite.center is deprecated in 2.x. Documentation and Examples updated to reflect this. 2014-03-25 12:44:20 +00:00
photonstorm
87a0fb86b8 All Timer events are now increased by the game time on start. 2014-03-24 12:15:14 +00:00
photonstorm
622957c9b0 Timer objects incorrectly set the first tick value on events if you added the events prior to starting them. 2014-03-24 02:25:35 +00:00
photonstorm
26a89f0b84 New build files with tilemap callback fixes in. 2014-03-24 01:39:09 +00:00
photonstorm
49bcd2edd2 Tilemap fixes. 2014-03-24 00:30:05 +00:00
photonstorm
634b1d1093 Emitter.friction property removed and replaced with Emitter.particleDrag, which is now correctly applied.
ArcadePhysics.Body.reset incorrectly set the Body.rotation to Sprite.rotation instead of angle.
Emitter.emitParticle resets the rotation on the particle to zero before emitting it.
Lots of fixes to the TypeScript definitions file (thanks as always to clark-stevenson for his tireless work on these)
Emitters now bring the particle they are about to emit to the top of the Group before doing so. Avoids particles hidden behind others.
ArcadePhysics.Body.setSize corrected to take the parameters as positive, not negative values.
ArcadePhysics.Body now checks the Sprite scale automatically and adjusts the body size accordingly (fix #608)
Emitter.particleClass can now be set to any object that extends Phaser.Sprite, which will be emitted instead of a regular Sprite.
2014-03-20 03:48:54 +00:00
photonstorm
684ee9c064 ArcadePhysics.Body has a deltaMax object, which allows you to cap the delta applied to the position to +- this value.
ArcadePhysics.Body now checks the Sprite scale automatically and adjusts the body size accordingly (fix #608)
2014-03-20 00:20:02 +00:00
photonstorm
22b472ba4d Removed rogue console.log 2014-03-19 13:23:46 +00:00
photonstorm
2d08fab48e When creating a Sprite (via Group.create or directly) with exists = false and a P2 body, the body is not added to the world.
Every Input class now checks to see if it has already been started. If so it doesn't add the listeners again unless they have been nulled.
2014-03-19 13:22:04 +00:00
photonstorm
4bfbd4dc96 2.0.1-19 build files. 2014-03-19 12:12:59 +00:00
photonstorm
5d40365b87 InputHandler.dragFromCenter will now work regardless of the anchor point of the Sprite. 2014-03-19 05:21:26 +00:00
photonstorm
84df7bf320 Sprite.events.onEnterBounds added. This is dispatched if the Sprite leaves the bounds but then returns. The opposite of onOutOfBounds. 2014-03-19 04:17:37 +00:00
photonstorm
2cc1a45f9a Fixed SpriteBounds camera placement in Debug (again).
Removed un-needed cache vars from ArcadePhysics.World.
Tidied up ArcadePhysics.Body and fixed rotation parameters.
Every single Arcade Physics Example now runs perfectly under this release.
2014-03-19 03:55:44 +00:00
photonstorm
9490041c79 ArcadePhysics.separate doesn't pass over to seperateX/Y if overlapOnly is true (fix #604)
ArcadePhysics.collideSpriteVsSprite checks if both objects have bodies before processing.
2014-03-19 02:05:29 +00:00
photonstorm
df4debf2a6 Build update for testing. 2014-03-19 00:57:10 +00:00
photonstorm
8010d245f1 Fixed Grunt script that stopped the P2 constraint classes from building properly. 2014-03-18 18:36:46 +00:00
photonstorm
89cdaef84d New build files. 2014-03-18 00:01:39 +00:00
photonstorm
f32dce8cdd New build files. 2014-03-17 21:18:02 +00:00
photonstorm
44a5741148 Fixed games. Updated Body.moves handling. 2014-03-14 04:49:55 +00:00
alvinsight
726c42310a Yeaah, 242 examples working, only 7 missing 2014-03-13 17:32:55 +00:00
alvinsight
8a4d5ab8fd Updated all the examples that were using the old physicsEnabled 2014-03-13 17:32:54 +00:00
alvinsight
c9f89f5a3b New examples for ninja physics, bitmap text, and documented the map function 2014-03-13 13:25:39 +00:00
photonstorm
83e197772d Moved Time update back into core loop. 2014-03-11 20:30:26 +00:00
photonstorm
982823d875 Updated TypeScript defs which now compiles against 1.2 (but still missing quite a few areas).
New build files that match them.
2014-03-10 11:08:07 +00:00
photonstorm
8fff38618d Tidied up the Examples, fixed Arcade Physics Body, added Body enable support to Group and fixed QuadTree. 2014-03-10 03:06:28 +00:00
photonstorm
ab6a9aab41 Fresh builds for the weekend. 2014-03-07 15:17:13 +00:00
photonstorm
a30c2c87a9 New build files. 2014-03-04 01:29:04 +00:00
photonstorm
664d5b3e2c Fixed issue where Image, Sprite, etc wouldn't call preUpdate or postUpdate of its children.
Fixed issue where renderOrderID wasn't being assigned correctly, causing the Input Handler to be unable to select the "top" item on a display list (would all default to zero)
Fixed issue where Stage would assign renderOrderIDs in reverse, should be in sequence.
Fixed issue where objects where checking World for the currentRenderOrderID by mistake instead of Stage.
Basically, input handling works a lot better now for Groups and nested objects :)
2014-02-28 19:45:15 +00:00
photonstorm
8dcfef8db0 Updated to latest Pixi build (can do away with our own local patch now).
Group.sendToBottom(child) is the handy opposite of Group.bringToTop()
Group.moveUp(child) will move a child up the display list, swapping with the child above it.
Group.moveDown(child) will move a child down the display list, swapping with the child below it.
2014-02-28 18:55:07 +00:00
photonstorm
8662cd2fd4 Brand new Grunt task - creates each core library as its own file and a combined phaser.js.
New build script now cleanly splits Phaser, Pixi and p2 so they are each UMD wrapped and each available in the global scope (now more requireJS friendly!).
phaser-no-libs.js allows you to use your own version of p2.js or pixi.js with Phaser. Warning: This is totally unsupported. If you hit bugs, you fix them yourself.
Fixed silly instanceof bug in game objects (sorry guys).
2014-02-28 09:30:53 +00:00
photonstorm
09d4a35b7f Fixed issue where Phaser.Canvas.create would always make a screencanvas for CocoonJS, but that should only happen once. New parameter toggles it. 2014-02-28 03:55:06 +00:00
photonstorm
53c10ca31f The grunt task now creates an optional version of Phaser without any Physics support built in. Quite a bit smaller now.
The grunt task now has a new `noUmd` option which builds Phaser without the UMD wrapper.
2014-02-27 17:00:14 +00:00
photonstorm
d958b34f43 New build. 2014-02-25 23:20:06 +00:00
photonstorm
fdde4cb7e6 Sorry, removing console.logs :) 2014-02-25 11:58:17 +00:00
photonstorm
b4dbaf9950 StateManager.start can now have as many parameters as you like. The order is: start(key, clearWorld, clearCache, ...) - they are passed to State.init() (NOT create!) 2014-02-25 11:56:57 +00:00
photonstorm
7394403bb6 Fresh build. Updated docs and re-built phaser.js. 2014-02-19 05:28:19 +00:00
photonstorm
5d5c64d22f Tilemap.createCollisionObjects will parse Tiled data for objectgroups and convert polyline instances into physics objects you can collide with in the world.
After defining tiles that collide on a Tilemap, you need to call Tilemap.generateCollisionData(layer) to populate the physics world with the data required.
Debug.renderPhysicsBody updated to take camera location and body rotation into account.
Body movement functions put back to velocity :)
Updated to latest dev version of pixi and latest p2.js
Updated docs
2014-02-18 03:01:51 +00:00
photonstorm
78bf874888 Fresh build. Added pre/post update hooks to Graphics. 2014-02-17 11:27:31 +00:00