Commit Graph

  • bc3a3fd43d You can now use the hitArea property on Sprites and Image objects. hitArea can be a geometry object (Rectangle, Circle, Polygon, Ellipse) and is used in pointerOver checks. photonstorm 2014-02-07 17:14:10 +00:00
  • 8628c5b2f3 Added a warning when the expected image dimensions of the tile set do not match the actual dimensions. Manuel Giesa 2014-02-07 17:45:46 +01:00
  • 890e52008a Mouse callback tests. photonstorm 2014-02-07 07:32:11 +00:00
  • 9b9baa83a9 Added Image.frame and Image.frameName support in. photonstorm 2014-02-07 06:52:49 +00:00
  • d583b364bd Game.add.renderTexture now has the addToCache parameter. If set the texture will be stored in Game.Cache and can be retrieved with Cache.getTexture(key). Game.add.bitmapData now has the addToCache parameter. If set the texture will be stored in Game.Cache and can be retrieved with Cache.getBitmapData(key). photonstorm 2014-02-07 06:25:28 +00:00
  • 773b4d5ed1 More animation tests. photonstorm 2014-02-07 04:12:23 +00:00
  • 6958ac73d3 Added the SAT class to the TypeScript defs file. Also this fixes #369. photonstorm 2014-02-07 04:12:04 +00:00
  • e11cae5373 Added the SAT class to the TypeScript defs file. Also this fixes #369. photonstorm 2014-02-07 02:49:59 +00:00
  • ddc255382d Updated Rectangle to use prototype based getters and setters (re: iOS speed discussion on the forum). photonstorm 2014-02-07 02:31:29 +00:00
  • 3cae06d1ad Phaser.AnimationParser now sets the trimmed data directly for Pixi Texture frames. Tested across JSON Hash, JSON Data, Sprite Sheet and XML. photonstorm 2014-02-07 00:57:41 +00:00
  • 6cabb03a82 Sprite.crop() now takes a Phaser.Rectangle instead of explicit parameters. Phaser.Image is a brand new display object perfect for logos, backgrounds, etc. You can scale, rotate, tint and blend and Image, but it has no animation, physics body or input events. Previously if you used Sprite.crop() it would crop all Sprites using the same base image. It now takes a local copy of the texture data and crops just that. photonstorm 2014-02-06 23:13:39 +00:00
  • 4b7fc8d506 Change to boot order to try and resolve short-TTL timers. photonstorm 2014-02-06 22:42:23 +00:00
  • 7ba1196c0d Fixed TypeScript defs on lines 1741-1748 (thanks wombatbuddy) photonstorm 2014-02-06 19:41:32 +00:00
  • 0b18625811 Merge pull request #367 from georgiee/develop Richard Davey 2014-02-06 21:20:29 +00:00
  • c0032e7a58 Merge pull request #368 from Arlefreak/dev Richard Davey 2014-02-06 21:19:25 +00:00
  • 9e5e30bb12 Fixed TypeScript defs on lines 1741-1748 (thanks wombatbuddy) photonstorm 2014-02-06 19:36:33 +00:00
  • 3748811d11 Testing new Image object. photonstorm 2014-02-06 19:34:05 +00:00
  • 8ef403cfe7 Timer checks now for running inside while loop. Any event which causes a call to Timer#stop is now safe. Georgios Kaleadis 2014-02-06 17:28:39 +01:00
  • 4ed20e0f77 Removed all intances of Sprite.group from Group and replaced with the already existing parent property. photonstorm 2014-02-06 13:15:45 +00:00
  • 03cde81b48 Merge branch 'master' into dev Luiz Bills 2014-02-06 11:01:20 -02:00
  • e88b10323a Updated Phaser geometry classes so they over-ride the PIXI native ones, means we can do away with a whole bunch of over-rides and object changes in Sprite, etc. photonstorm 2014-02-06 12:29:07 +00:00
  • b7bb52696f browserify/requirejs error with SAT module fixed Luiz Bills 2014-02-06 10:07:23 -02:00
  • df2a048594 Added description for pad len parameter Mario Carballo Zama 2014-02-06 00:20:40 -06:00
  • 8eae8feecc More Group fixes to the new format. Updated list of included Pixi files to remove un-needed ones. photonstorm 2014-02-06 03:34:27 +00:00
  • 4cfce8b4d2 Group now extends PIXI.DisplayObjectContainer, rather than owning a _container property, which makes life a whole lot easier re: nesting. photonstorm 2014-02-06 02:31:36 +00:00
  • 9737710200 Upgraded to Pixi.js 1.4.4 photonstorm 2014-02-06 00:19:46 +00:00
  • 68d5c73fea Explicitly paused Timer continues if you un-focus and focus the browser window. Added TimerEvent.pendingDelete and checks in Timer.update, so that removing an event in a callback no longer throws an exception. photonstorm 2014-02-05 22:35:35 +00:00
  • eddce653e9 Preparing for 1.1.5 development. photonstorm 2014-02-05 21:02:41 +00:00
  • 16fa37081f Merge branch 'origin/dev' 1.1.4 photonstorm 2014-02-05 17:05:26 +00:00
  • fd68a2fe3a Version number updates. photonstorm 2014-02-05 16:59:54 +00:00
  • e7a9b96d27 Final release 1.1.4 examples finished. photonstorm 2014-02-05 16:54:35 +00:00
  • 02b75b9e23 Updated doc files. photonstorm 2014-02-05 06:29:17 +00:00
  • 0896c2fac7 Updating copyright year and README. photonstorm 2014-02-05 05:54:25 +00:00
  • 8e77e8cedb Lots of TypeScript defs updates for the new Physics / Body classes. photonstorm 2014-02-05 05:04:23 +00:00
  • 846e9c5061 Removed debug info and tidying up ready for release. photonstorm 2014-02-05 04:24:32 +00:00
  • 1af86771ba And we have level/ground jitter fixed :) Starstruck is running again properly now too. Time to commit and remove lots of debug data. photonstorm 2014-02-05 04:01:10 +00:00
  • 84f0f00f49 n-way collision checks and onBeginContact and onEndContact done and working. Also fixed issue in TweenManager.removeAll. photonstorm 2014-02-05 02:39:03 +00:00
  • 4502ca1bf6 Merge pull request #359 from qdrj/patch-7 Richard Davey 2014-02-05 12:33:30 +00:00
  • 70ad43e71b Merge pull request #357 from qdrj/patch-5 Richard Davey 2014-02-05 12:33:04 +00:00
  • a1ccddcd7e Update phaser.d.ts qdrj 2014-02-05 01:19:04 -08:00
  • 82c39d0866 Update phaser.d.ts qdrj 2014-02-04 23:24:28 -08:00
  • 45f9db515a Merge pull request #356 from qdrj/patch-4 Richard Davey 2014-02-04 03:08:18 -08:00
  • 09d4b2bb8b Update phaser.d.ts qdrj 2014-02-04 01:32:06 -08:00
  • 8315973c5d Body/Group testing complete. Now focusing on n-way collision. photonstorm 2014-02-03 04:09:30 +00:00
  • 28f71ed86d Fixed the Sprite / World / Group body issue. So invaders now works again, as do the new examples. photonstorm 2014-02-03 03:02:05 +00:00
  • 3488880956 Sprite vs. Sprite Group Body Tests. photonstorm 2014-02-01 04:54:02 +00:00
  • 33d47cf9e9 Merge pull request #344 from qdrj/patch-1 Richard Davey 2014-01-31 10:28:21 -08:00
  • cdb1891420 Merge pull request #350 from qdrj/patch-3 Richard Davey 2014-01-31 10:28:02 -08:00
  • 30af712d6a Update phaser.d.ts qdrj 2014-01-31 07:32:17 -08:00
  • 5e182d317b Fixed lots of examples and added the missing Line.js. photonstorm 2014-01-31 14:12:03 +00:00
  • 26f2b2a931 Merge pull request #349 from qdrj/patch-2 Richard Davey 2014-01-31 05:41:22 -08:00
  • e5dc16b68d Update phaser.d.ts qdrj 2014-01-31 04:53:19 -08:00
  • 27fc447928 New polygon collision object examples and Body scale fixes. photonstorm 2014-01-31 10:34:18 +00:00
  • 45b6d5a741 Removed: Debug.renderSpriteTouching, Debug.renderLocalTransformInfo, Debug.renderWorldTransformInfo, Debug.renderSpriteCollision and Debug.dumpLinkedList. Debug.renderPhysicsBody(body, color) is extremely useful for debugging the new physics bodies. Will draw the outline + points in the color given. Debug.renderBodyInfo(sprite, x, y, color) will display lots of Sprite body data. photonstorm 2014-01-31 05:42:20 +00:00
  • 13a86765cb Phaser.CANVAS_PX_ROUND is a boolean. If 'true' the Canvas renderer will Math.floor() all coordinates before drawImage, stopping pixel interpolation. Defaults to false. Phaser.CANVAS_CLEAR_RECT is a boolean. If 'true' (the default) it will context.clearRect() every frame. If false this is skipped (useful if you know you don't need it) Collision now works between Sprites positioned via sprite.x/y, sprite.body.x/y or sprite.body.velocity. If you are tweening a sprite and still want physics collision, set sprite.body.moves = false otherwise it will fight against the tween motion. photonstorm 2014-01-31 04:14:02 +00:00
  • 68b7d22e0d Fixed issue with the camera being slightly out of sync with 'fixedToCamera' sprites. Also fixed 'jitter' issue with camera targets. photonstorm 2014-01-31 03:32:12 +00:00
  • 6e4e99f436 Added Game Update loop step debugging - has proved utterly invaluable! Resolved camera jitter issues, gravity / downward force on tile/boundary issues and most tilemap collision issues. photonstorm 2014-01-31 02:06:45 +00:00
  • 651858372c Added Game core loop stepping support. Super-useful for debugging, and helped me track down the issue with jittery physics collision. Double-win! photonstorm 2014-01-29 17:10:13 +00:00
  • d51a37211c Phaser.Line added to the group of geometry classes, with full point on line/segment and intersection tests (see new examples) photonstorm 2014-01-29 00:21:28 +00:00
  • 5b85c910cb New lineIntersectLine() function working nicely. photonstorm 2014-01-28 17:13:07 +00:00
  • e5f52e8ae8 Update phaser.d.ts qdrj 2014-01-27 23:57:28 -08:00
  • 82cb66f47b Updated intersects code, tilemap collision is running again. Still finding gravity pushing sprites through tiles. photonstorm 2014-01-28 06:52:56 +00:00
  • 9deb5514a2 ArcadePhysics.setBoundsToWorld implemented. Body.setCircle, setRectangle and setPolygon all working. Tidying up Body class. Need to add tile collision special case handler next. photonstorm 2014-01-28 05:01:17 +00:00
  • 90c09374af Velocity integration tidied up. Now moving to sync Body with Sprite center point. photonstorm 2014-01-28 01:29:35 +00:00
  • fbe508ab1b Direct assignment of Body values, allows for sloped ground walking. photonstorm 2014-01-27 17:08:12 +00:00
  • dbdb2a2026 Adjusted delta timer cap and fixed some typos and more examples. photonstorm 2014-01-27 09:25:12 +00:00
  • 4432d37e6e Merge pull request #312 from miguelangelgonzalez/dev Richard Davey 2014-01-27 07:40:45 -08:00
  • 511858e3f5 Merge pull request #340 from qdrj/patch-2 Richard Davey 2014-01-27 07:40:25 -08:00
  • d37ec40d72 Merge pull request #339 from qdrj/patch-1 Richard Davey 2014-01-27 07:39:54 -08:00
  • f575967840 Merge pull request #327 from timcooper/dev Richard Davey 2014-01-27 07:39:11 -08:00
  • 912551a45d Merge pull request #323 from hstolte/patch-1 Richard Davey 2014-01-27 07:37:55 -08:00
  • 4505aa50f6 Integrated SAT. Fixed lots of examples. Fixed documentation. Added new examples and built new phaser.js file for testing. photonstorm 2014-01-27 06:29:26 +00:00
  • 45518b3ecd Adding checkCollision tests. photonstorm 2014-01-24 17:30:37 +00:00
  • 3fb2eb23cd Update phaser.d.ts qdrj 2014-01-24 01:13:09 -08:00
  • 8b06f9cd86 Update phaser.d.ts qdrj 2014-01-23 22:50:02 -08:00
  • e3aaec8ac0 Removed Time delta cap, removed drag references from Emitter and tested doing a custom polygon collision. photonstorm 2014-01-24 03:53:11 +00:00
  • ea9e22f472 SAT implemented and working nicely at long last :) photonstorm 2014-01-23 21:45:35 +00:00
  • 110ab4e253 More robust gravity handling avoiding 'sticky walls'. Added new platform test with mixture of mass tile collision and physics. photonstorm 2014-01-23 01:50:43 +00:00
  • 31b68ac94f Removed all references to drag from the Examples and replaced with Friction. photonstorm 2014-01-22 21:06:16 +00:00
  • 20108e47f3 Working through re-integrating tilemap collision. So far, so good. photonstorm 2014-01-22 16:16:53 +00:00
  • 1370ba52b5 Fixed Sci-Fly and restored tile collision handling. photonstorm 2014-01-22 14:49:06 +00:00
  • b2c49ef853 Merging previous changes back in again. photonstorm 2014-01-22 14:31:18 +00:00
  • f6af6fe0a3 Not fully working, but commit for posterity. Time to rollback if we're ever going to get this released. photonstorm 2014-01-22 12:31:35 +00:00
  • 7a0e9a478c New Math functions added. photonstorm 2014-01-22 10:54:49 +00:00
  • 15a002e720 Finally getting there! Body collision almost as good as it can be (without a full-on physics system). Just a few last tweaks to do. photonstorm 2014-01-21 16:12:50 +00:00
  • 3236ea6b24 Custom JSON loader Lucas Monteverde 2014-01-21 00:19:42 -02:00
  • c9d07c7346 Testing out new Body structure Richard Davey 2014-01-20 23:07:56 +00:00
  • a81d22a309 Allow fullscreen to work from iframe Tim Cooper 2014-01-20 20:58:36 +00:00
  • 128c7143d5 Lots more physics tests and updates. PLEASE DO NOT upgrade to this release if you need your game working and it uses any of the physics functions, as they're nearly all broken here. Just pushing up so I can share it with someone. photonstorm 2014-01-20 20:14:34 +00:00
  • 971e17fabe removed duplicate line in Timer class hstolte 2014-01-18 22:34:28 +01:00
  • 2532df8793 Merge pull request #317 from gareththegeek/patch-3 Richard Davey 2014-01-16 07:28:37 -08:00
  • c5840f4f6f Merge pull request #316 from gareththegeek/patch-2 Richard Davey 2014-01-16 07:28:17 -08:00
  • 4e7dabb47e Merge pull request #315 from gareththegeek/patch-1 Richard Davey 2014-01-16 07:27:54 -08:00
  • 47ee5a2c88 Allow Text.style to be any type gareththegeek 2014-01-16 14:48:13 +00:00
  • ca1f24868a Add missing addKey method to Keyboard gareththegeek 2014-01-16 14:46:12 +00:00
  • 1f9df6e3f4 Fix typescript compile error in 0.9.5 gareththegeek 2014-01-16 14:43:28 +00:00
  • ac310ab881 Added missing Typescript definitions Miguel Angel Gonzalez 2014-01-15 12:15:59 -03:00
  • abdaaa0010 Tidied up the docs and removed some Body vars no longer needed. Now to attempt stacking. photonstorm 2014-01-15 14:40:09 +00:00
  • 58fb248575 Optimised Body loop, removed sleep properties, implemented minBounceVelocity. Working as expected at last :) photonstorm 2014-01-15 14:21:06 +00:00
  • 283e38aaae Time to optimise the rebound a little. photonstorm 2014-01-15 13:33:05 +00:00