Commit graph

4456 commits

Author SHA1 Message Date
Richard Davey
bc2263dbd4 Fixed Camera3D Plugin, exposed it via camera3d in a Scene and added cameras to local array.
Closes #3188
2018-01-30 13:15:50 +00:00
Felipe Alfonso
de4b308fbd Light2D update 2018-01-30 00:38:31 -03:00
Richard Davey
4ec30b8db8 Recoded the Data component
Added is back in as DataManager, which Game Objects can have an instance of. Plus exposed as DataManagerPlugin available to Scenes. Removed callback based system and implemented events and fixed the destroy method.
2018-01-30 00:55:27 +00:00
Richard Davey
a62892c44a Merge branch 'master' of https://github.com/photonstorm/phaser 2018-01-29 23:38:30 +00:00
Richard Davey
f0726d4060 Added the ability to provide a data source image to go with a standard image
This allows you to load a normal map, specular map, or other format of image based data alongside a regular image and have them bound together internally, without creating duplicate entries in the Texture Manager or loader
2018-01-29 23:38:27 +00:00
Michael Hadley
65beefce29 Fix #3169: add optional param to Tile#setCollision & Tile.resetCollision to recalc faces 2018-01-29 16:51:08 -06:00
Michael Hadley
b537ebd966 Made CalculateFacesAt accessible as part of the tilemap API
This is used internally, but may be useful for some devs
2018-01-29 16:31:14 -06:00
Felipe Alfonso
71a6360a7b Pipeline components added 2018-01-29 18:46:48 -03:00
Richard Davey
107cd8426f Updated spacing addition issue. 2018-01-29 16:12:10 +00:00
Michael Hadley
d088889c02 Added resetFX to 2D camera 2018-01-28 11:06:37 -06:00
Michael Hadley
16767927cb Bug fix: setExisting -> setExistingBody 2018-01-28 08:06:05 -06:00
Michael Hadley
dfab17fb7a Tilemap helper methods for accessing objects from object layers 2018-01-27 10:27:12 -06:00
Michael Hadley
7acd9b0381 Tiled object parser: store points as xy objects instead of arrays
V2 used arrays, but other places in the codebase (and users) will expect an object with XY props over an array.
2018-01-27 08:34:11 -06:00
Michael Hadley
901b5f8ba9 Upgraded Tilemap object layer parser from v2
- Added ObjectLayer class to make the structure of an object layer clear
- Tilemap.objects is now an array of objects. This allows object layer properties to be parsed.
2018-01-27 08:27:56 -06:00
Michael Hadley
c7c94cdea8 Remove unnecessary v2 code: tilemap.collision 2018-01-27 08:05:45 -06:00
Michael Hadley
cbc493df98 MatterTileBody bug fix: tile -> this.tile 2018-01-26 22:31:53 -06:00
Michael Hadley
801d2e92e1 Revert "Add matter component for inertia - useful for platformers"
This reverts commit 2b20c8bbfb.
2018-01-26 21:51:20 -06:00
Michael Hadley
ec444f876e Extend SetBody component with setExistingBody method
This makes it easy to add compound bodies to a MatterSprite/MatterImage
2018-01-26 21:50:22 -06:00
Michael Hadley
0d84860a8a Update Matter.World to render compound bodies 2018-01-26 21:50:21 -06:00
Felipe Alfonso
0e1009150c Merge branch 'master' of https://github.com/photonstorm/phaser 2018-01-26 20:17:28 -03:00
Felipe Alfonso
00c6c4a6df Light2D Pipeline 2018-01-26 20:17:11 -03:00
Michael Hadley
63123250d1 Add clairifying note to fix #3193 2018-01-26 15:34:03 -06:00
Richard Davey
79de1b860a Added jsdocs 2018-01-26 15:37:42 +00:00
Felipe Alfonso
4a63326f39 Forced nearest filtering for canvas textures 2018-01-26 12:21:05 -03:00
Pavle Goloskokovic
13b2c126bb ESLint fix 2018-01-26 15:40:45 +01:00
Pavle Goloskokovic
48f73e3b32 ESLint fix 2018-01-26 15:39:34 +01:00
Pavle Goloskokovic
6c5f72f86e ESLint fix 2018-01-26 15:38:00 +01:00
Pavle Goloskokovic
31fa6e9b31 ESLint fix 2018-01-26 15:37:31 +01:00
Pavle Goloskokovic
a703c3481e ESLint fix 2018-01-26 15:36:41 +01:00
Pavle Goloskokovic
7507d095af ESLint fix 2018-01-26 15:36:10 +01:00
Pavle Goloskokovic
06d31f1c0b ESLint fix 2018-01-26 15:35:09 +01:00
Pavle Goloskokovic
c20835bce8 Eslint fix 2018-01-26 15:34:18 +01:00
Pavle Goloskokovic
879f821bd4 Removed completed TODO 2018-01-26 15:29:31 +01:00
Pavle Goloskokovic
b4602e0ba1 Merge remote-tracking branch 'origin/master' 2018-01-26 15:26:33 +01:00
Pavle Goloskokovic
f3d2b9e510 Added loop event docs 2018-01-26 15:25:59 +01:00
Pavle Goloskokovic
3de4234db8 Added seek event docs 2018-01-26 15:25:45 +01:00
Pavle Goloskokovic
3d20e05641 Added volume event docs 2018-01-26 15:25:09 +01:00
Pavle Goloskokovic
c1b3a18ea0 Added mute event docs 2018-01-26 15:24:55 +01:00
Pavle Goloskokovic
07d06a58ad Added ended event docs 2018-01-26 15:24:40 +01:00
Pavle Goloskokovic
419761db15 Added looped event docs 2018-01-26 15:24:25 +01:00
Pavle Goloskokovic
d9f6669277 Added stop event docs 2018-01-26 15:24:05 +01:00
Pavle Goloskokovic
fd2995d978 Added resume event docs 2018-01-26 15:23:48 +01:00
Pavle Goloskokovic
58006988f0 Added pause event docs 2018-01-26 15:23:35 +01:00
Pavle Goloskokovic
9b4930ea47 Added play event docs 2018-01-26 15:23:06 +01:00
Richard Davey
a4e9ae5fdd Added jsdocs. 2018-01-26 14:23:00 +00:00
Pavle Goloskokovic
0a1e4abd9f Added setRate method docs 2018-01-26 15:20:44 +01:00
Pavle Goloskokovic
f7f3906810 Added setVolume method docs 2018-01-26 15:20:15 +01:00
Pavle Goloskokovic
ace58fa019 Added setMute method docs 2018-01-26 15:19:55 +01:00
Pavle Goloskokovic
4d5720d094 Added destroy method docs 2018-01-26 15:19:32 +01:00
Pavle Goloskokovic
32a2bcbf85 Added update method docs 2018-01-26 15:19:07 +01:00