Commit graph

7304 commits

Author SHA1 Message Date
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
Pavle Goloskokovic
d367dc1a85 Renamed 'marker' param of play method to 'markerName' to avoid any confusion for BaseSound 2017-11-22 18:05:18 +01:00
Pavle Goloskokovic
8e912ab877 Updated currentMarker property to hold reference to marker object instead it's name 2017-11-22 18:03:44 +01:00
Pavle Goloskokovic
55e5041ef8 Setting correct duration value when calling play on BaseSound class 2017-11-22 18:00:53 +01:00
Pavle Goloskokovic
de0aefba7e Added default value for config in WebAudioSound constructor 2017-11-22 17:58:05 +01:00
Pavle Goloskokovic
9a143694d1 Using duration property instead of config duration setting in WebAudioSound 2017-11-22 17:56:55 +01:00
Pavle Goloskokovic
92abe3f678 Remove completed TODO 2017-11-22 17:54:38 +01:00
Pavle Goloskokovic
ffe4e49512 Setting duration and totalDuration properties in WebAudioSound constructor 2017-11-22 17:54:00 +01:00
Pavle Goloskokovic
90d2e8cf03 Removed setting duration setting in config for WebAudioSound 2017-11-22 17:51:10 +01:00
Pavle Goloskokovic
1296dd737d Added totalDuration property to BaseSound class 2017-11-22 17:48:10 +01:00
Pavle Goloskokovic
f932e315d6 Added duration property to BaseSound class 2017-11-22 17:47:18 +01:00
Pavle Goloskokovic
7442ab5bc8 Removed duration setting from sound config 2017-11-22 17:45:57 +01:00
Pavle Goloskokovic
f4a1a30565 Merge remote-tracking branch 'origin/master' 2017-11-22 17:45:21 +01:00
Richard Davey
a69765d962 Removed un-needed file 2017-11-22 16:24:16 +00:00
Richard Davey
1067432174 Modified Matter source to add ignoreGravity option as it can't be monkey-patched in 2017-11-22 16:24:09 +00:00
Richard Davey
8add2510ac Added Factory constraint functions 2017-11-22 16:23:47 +00:00
Richard Davey
f62409d83b Matter objects now have a reference to the world in which they were added 2017-11-22 14:13:25 +00:00
Richard Davey
f88732cbb7 Added Sleep Start and Sleep End events 2017-11-22 14:13:10 +00:00
Richard Davey
d5a7579f26 Added new Sleep component 2017-11-22 14:12:57 +00:00
Richard Davey
b969dee104 Merge branch 'master' of https://github.com/photonstorm/phaser 2017-11-22 02:25:44 +00:00
Richard Davey
1e399310b3 Added Stack to the Factory 2017-11-22 02:25:42 +00:00
Richard Davey
0543486d16 Added Matter collision events 2017-11-22 02:25:30 +00:00
Richard Davey
7609eb3131 Added new Matter Collision component 2017-11-22 02:25:06 +00:00
Michael Hadley
0fd6779107 Adding a couple notes about methods that manipulate multiple tiles 2017-11-21 19:19:13 -06:00
Michael Hadley
e19de28932 Tilemap & layers now recalc faces (with a parameter for disabling recalc) 2017-11-21 19:18:34 -06:00
Michael Hadley
bdea565586 Better optimized calc/recalc faces methods for tiles
These eliminate the need for the preventRecalc method from v2. If an individual tile is changed with putTileAt, only the min number of faces will be recalculated (vs all faces being recalculated in v2)
2017-11-21 19:16:46 -06:00
Michael Hadley
dd8bbfa625 Update SetCollision methods to track which indices have been set to collide 2017-11-21 19:13:43 -06:00
Michael Hadley
e3dbf7c2d0 Fixing internal method name typos 2017-11-21 19:07:22 -06:00
Felipe Alfonso
500da5d07f Canvas GeometryMask rendering 2017-11-21 20:21:43 -03:00
Pavle Goloskokovic
cd43f0095c fixed deprecation issues with AudioParam for WebAudioSoundManager 2017-11-21 19:47:43 +01:00
Pavle Goloskokovic
1f32f04036 fixed deprecation issues with AudioParam for WebAudioSound 2017-11-21 19:47:27 +01:00