Commit graph

7334 commits

Author SHA1 Message Date
Richard Davey
dc7289e539 Fix Vertices.chamfer radius argument 2017-11-26 23:17:12 +00:00
Richard Davey
10d7be0785 Merge branch 'master' of https://github.com/photonstorm/phaser 2017-11-26 15:31:51 +00:00
Richard Davey
3ee14a88a6 Removed referene to Mouse class (no longer used) 2017-11-26 15:31:48 +00:00
Richard Davey
b85b341bfd Removed references to the Render class (only needed in debug and saved loads of space in the build file) 2017-11-26 15:31:34 +00:00
Richard Davey
d4fd2082f2 Removed un-used RenderPixi class 2017-11-26 15:31:04 +00:00
Richard Davey
d1fb8319b2 Removed old module entry point and added license 2017-11-26 15:30:52 +00:00
Richard Davey
f6a5463131 Removed Mouse class from matter.js as it's not used. 2017-11-26 15:30:26 +00:00
Michael Hadley
80185eb5eb Fill update: jsdocs & allow fill to update tile collisions + faces 2017-11-26 09:19:57 -06:00
Michael Hadley
09224b724e Tilemap: adding jsdocs 2017-11-26 09:07:27 -06:00
Richard Davey
1db68dfceb Merge branch 'master' of https://github.com/photonstorm/phaser 2017-11-26 15:02:49 +00:00
Richard Davey
f4cdd3c1b4 Optimization of Body's hidden class 2017-11-26 15:02:42 +00:00
Michael Hadley
6ca7c9ecfd Copy update: copy all tile props and recalculate faces within dest region 2017-11-26 08:58:38 -06:00
Richard Davey
dfa3cc243a Optimization of Resolver.solvePosition method 2017-11-26 14:50:40 +00:00
Richard Davey
81b3656d1e Added Pair.update optimisations and removed the Contact class. 2017-11-26 14:37:17 +00:00
Richard Davey
d2dae2c063 Merge branch 'master' of https://github.com/photonstorm/phaser 2017-11-26 14:05:37 +00:00
Richard Davey
0156f4f927 Fixed order of returns 2017-11-26 14:05:29 +00:00
Michael Hadley
8ec6528d20 Tilemap & layers: replace v2 raycasting with getTilesWithinShape 2017-11-26 07:55:44 -06:00
Michael Hadley
9d29948a02 Update tile culling to factor in the new scale 2017-11-25 20:47:47 -06:00
Michael Hadley
aaa0d41f5d Fix dynamic layer scale bug 2017-11-25 20:47:20 -06:00
Michael Hadley
c31147df19 Add filtering options to forEachTile, GetTilesWithin, GetTilesWithinWorldXY 2017-11-25 18:03:21 -06:00
Michael Hadley
998ae1bd40 Factor layer scale into WorldToTile calculation 2017-11-25 17:12:24 -06:00
Michael Hadley
b21fc88660 Dynamic Tilemap WebGL - respect layer scale in rendering 2017-11-25 17:09:56 -06:00
Michael Hadley
557ac4fe6e Add GetTilesWithinWorldXY method to tilemap and layers 2017-11-25 08:42:19 -06:00
Michael Hadley
432c1c0f6d GetTilesWithin: clip rectangular area to map bounds 2017-11-25 08:40:07 -06:00
Michael Hadley
4c34d09955 Optional snapToFloor parameter added to WorldToTile methods 2017-11-25 07:08:06 -06:00
Michael Hadley
7a90d55dd5 Fix: WorldXY now passes recalculateFaces to TileXY methods 2017-11-25 07:06:14 -06:00
Michael Hadley
7844927256 Image layers added to Tilemap 2017-11-24 09:15:02 -06:00
Michael Hadley
0d02f7d941 Extend Tiled importer to handle offsetx and offsety for the various layers 2017-11-24 08:59:36 -06:00
Michael Hadley
d3aa842bfe Adding collision prop to Tilemap 2017-11-24 08:23:40 -06:00
Michael Hadley
0e73bae5bc Extend Tileset to have methods for accessing properties and data per tile 2017-11-24 08:23:22 -06:00
Michael Hadley
805c0a0125 Break Tiled parser into modular pieces & extended capabilities
New features:
- Parsing text object
- Parsing "tiles" prop of tileset which contains collision & terrain information
2017-11-24 08:22:55 -06:00
Michael Hadley
fa8178f47b Port of ImageCollection from v2 2017-11-24 08:21:09 -06:00
Richard Davey
ce28eaaad8 Added the Attractors and Wrap matter plugins. Fixed the Plugin register. Added silence option to stop plugin logging to the console. 2017-11-24 13:42:32 +00:00
Richard Davey
ffeff9d2f7 Added confirmedActive speed optimisation to matter.js and removed Common.indexOf 2017-11-24 00:37:09 +00:00
Felipe Alfonso
f1ea070256 Switched inverted rotation transform 2017-11-23 16:02:41 -03:00
Felipe Alfonso
c6d674af8d strokeRect fix 2017-11-23 15:53:15 -03:00
Richard Davey
016fda7660 Added imageStack Factory function. 2017-11-23 16:55:28 +00:00
Richard Davey
4723ef0caa Removed use of Common.indexOf after some horrible perf results. 2017-11-23 16:55:17 +00:00
Richard Davey
1ae7237f73 You can now optionally set if the objects are added to the physics world. 2017-11-23 16:54:55 +00:00
Richard Davey
7c29eab78c Body has new property: ignorePointer, which pointer checks. 2017-11-23 14:59:26 +00:00
Richard Davey
04df05cf73 World thickness now 128. 2017-11-23 14:59:15 +00:00
Richard Davey
9516e6b188 Merge branch 'master' of https://github.com/photonstorm/phaser 2017-11-23 01:46:02 +00:00
Richard Davey
08047bbdbb Added the PointerConstraint and Factory methods (aka mouseSpring) 2017-11-23 01:45:58 +00:00
Richard Davey
dbad873236 Added support for beforeUpdate and afterUpdate world events 2017-11-23 01:45:38 +00:00
Richard Davey
b0f2b833c8 Removed two more un-needed files 2017-11-23 01:45:19 +00:00
Richard Davey
4f7a02ef2e Pointer.position is now a Vec2 and x/y references to it 2017-11-23 01:44:58 +00:00
Pavle Goloskokovic
f48c808698 Merge remote-tracking branch 'origin/master' 2017-11-22 18:13:54 +01:00
Richard Davey
8afa631a38 Added Ignore Gravity component 2017-11-22 17:11:09 +00:00
Pavle Goloskokovic
c1b0bc4ee7 Added a TODO for scheduled playback 2017-11-22 18:07:08 +01:00
Pavle Goloskokovic
068fc6d1c9 Renamed 'marker' param of play method to 'markerName' to avoid any confusion for WebAudioSound 2017-11-22 18:06:21 +01:00