Commit graph

1030 commits

Author SHA1 Message Date
Richard Davey
8ae958037e Added jsdocs 2018-02-07 02:46:11 +00:00
Richard Davey
33c9f39b9d Merge branch 'master' of https://github.com/photonstorm/phaser 2018-02-07 00:19:15 +00:00
Richard Davey
650ae3cf5a Added jsdocs 2018-02-07 00:18:22 +00:00
Michael Hadley
50434227ac Tile's flip/rotation is now only set by the flipX, flipY and rotation props 2018-02-06 18:17:15 -06:00
Richard Davey
5c0872485c Added jsdocs 2018-02-06 22:56:27 +00:00
Richard Davey
645f1e618e Added jsdocs 2018-02-06 22:37:56 +00:00
Richard Davey
2d4b7b5398 Merge branch 'master' of https://github.com/photonstorm/phaser 2018-02-06 22:25:26 +00:00
Richard Davey
6efb94cce9 Added jsdocs 2018-02-06 22:25:23 +00:00
Felipe Alfonso
cff54d8511 Added tile rotation and fixed undefined resolution on webgl renderer config 2018-02-06 18:47:42 -03:00
Felipe Alfonso
cffc40b834 Fixed flip on blitter game object. Added camera scrollFactor to blitter canvas renderer 2018-02-06 17:19:11 -03:00
Richard Davey
8cd5e772d8 Added jsdocs 2018-02-06 19:22:20 +00:00
Richard Davey
0ebe23e396 Added jsdocs 2018-02-06 19:10:44 +00:00
Richard Davey
039d63b17d Added jsdocs 2018-02-06 17:17:34 +00:00
Richard Davey
a42d1a3f3e Added jsdocs 2018-02-06 16:37:35 +00:00
Richard Davey
b0bb397369 Added jsdocs 2018-02-06 16:15:22 +00:00
Richard Davey
26a496ac3f Added jsdocs 2018-02-06 15:04:20 +00:00
Richard Davey
a4381d65aa Added jsdocs 2018-02-06 14:13:30 +00:00
Richard Davey
36229eee79 Added jsdocs 2018-02-06 01:08:43 +00:00
Richard Davey
d838f4cfcd Added jsdocs 2018-02-06 00:56:09 +00:00
Richard Davey
a8eae2bab7 Added jsdocs 2018-02-05 23:59:51 +00:00
Richard Davey
6df51372d5 Merge branch 'master' of https://github.com/photonstorm/phaser 2018-02-05 22:08:52 +00:00
Richard Davey
45bda0b6ab Added jsdocs 2018-02-05 22:08:48 +00:00
Felipe Alfonso
7b1ad0b307 transparent, clearBeforeRender and roundPixels now affect the rendering result 2018-02-05 19:06:02 -03:00
Richard Davey
b889a39bfb Removed extra docs output line 2018-02-05 02:34:42 +00:00
Richard Davey
99913b9da4 More jsdoc updates 2018-02-01 05:48:56 +00:00
Richard Davey
9e8ee078e8 Fixed mixin jsdoc defs 2018-02-01 01:36:52 +00:00
Richard Davey
6611685640 Added jsdocs 2018-02-01 01:20:11 +00:00
Richard Davey
a506fcc3ac Added jsdocs 2018-02-01 01:09:34 +00:00
Richard Davey
d457373287 Added Depth component and tidied up redundant parts of Transform 2018-02-01 00:50:15 +00:00
Richard Davey
c254cb2991 Added jsdocs 2018-02-01 00:25:33 +00:00
Richard Davey
950a125d71 Added jsdocs 2018-02-01 00:04:45 +00:00
Felipe Alfonso
4d03853935 Added cleanup routine for all webgl content on WebGLRenderer destroy function 2018-01-31 14:36:00 -03:00
Richard Davey
d8b2b6e340 jsdoc tweaks 2018-01-31 16:53:48 +00:00
Richard Davey
2a86400a28 Added in jsdocs 2018-01-31 13:54:44 +00:00
Felipe Alfonso
f294a17a79 Fixed light culling 2018-01-30 22:27:11 -03:00
Felipe Alfonso
0648161ca5 Added simple light culling 2018-01-30 22:11:51 -03:00
Felipe Alfonso
d9b04ef2e9 Light2D Plugin added to scene 2018-01-30 19:46:43 -03: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
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
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
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
Richard Davey
feee8e34e8 Moved Container out of prod for now. 2018-01-26 05:25:30 +00:00
Richard Davey
50318435b6 Commented out physics destroy call. 2018-01-25 23:19:37 +00:00
Felipe Alfonso
c94810ad43 Merge branch 'master' into rendering-cleanup 2018-01-25 19:21:34 -03:00
Felipe Alfonso
7c4c439aa4 Diffuse lighting shaders. Also made light layer rendering pass through 2018-01-25 19:20:36 -03:00
Michael Hadley
05688ac598 Tile.GetBounds 2018-01-25 13:48:22 -06:00
Felipe Alfonso
d4f0d02745 Merge branch 'master' into rendering-cleanup 2018-01-25 15:45:15 -03:00
Michael Hadley
91f18d9c94 Added convenience method Tile.getTileData 2018-01-25 07:46:08 -06:00
Michael Hadley
a601c57163 Renamed TilemapLayer.map -> TilemapLayer.tilemap for consistency 2018-01-25 07:29:43 -06:00
Michael Hadley
13349145cb Added Tile.tilemap convenience getter 2018-01-25 07:25:14 -06:00
Felipe Alfonso
7b3c2c6b1c Removed old code 2018-01-25 02:27:30 -03:00
Felipe Alfonso
bd8e9b2003 Static Tilemap Layer rendering 2018-01-25 02:26:14 -03:00
Felipe Alfonso
80d9ef42b3 ParticleEmitterManager webgl rendering added 2018-01-24 22:10:30 -03:00
Felipe Alfonso
42482ecb26 TileSprite webgl rendering 2018-01-24 21:15:51 -03:00
Felipe Alfonso
195a59d3ba Dynamic Tilemap rendering 2018-01-24 19:29:57 -03:00
Felipe Alfonso
06fa0afcc8 Dynamic Bitmap Text webgl rendering 2018-01-24 15:55:23 -03:00
Felipe Alfonso
69c56fc920 Merge branch 'master' into rendering-cleanup 2018-01-24 00:58:53 -03:00
Felipe Alfonso
5170784338 Graphics WebGL Rendering 2018-01-24 00:03:43 -03:00
Michael Hadley
e564a6cbe7 Tile helper methods for getting actual world bounds of a tile 2018-01-23 19:16:56 -06:00
Felipe Alfonso
ca465c8139 Fixed Quad 2018-01-23 21:58:37 -03:00
Felipe Alfonso
99d850346f Text rendering added 2018-01-23 21:40:20 -03:00
Felipe Alfonso
502ce8ddea Static BitmapText rendering. Added rect culling to TextureTintPipeline 2018-01-23 20:36:49 -03:00
Felipe Alfonso
dd9cef61cf Image WebGL rendering 2018-01-23 17:32:20 -03:00
Felipe Alfonso
070d946dca Mesh and Sprite rendering 2018-01-23 16:29:47 -03:00
Felipe Alfonso
336cc4e3fe Merge branch 'master' into rendering-cleanup 2018-01-23 13:39:33 -03:00
Michael Hadley
ebabf97ce3 Comment clarification 2018-01-23 09:41:29 -06:00
Michael Hadley
4abf0df119 Added setCollisionFromCollisionGroup for easily setting collision from Tiled collision editor 2018-01-23 09:40:59 -06:00
Michael Hadley
2cabd15684 Added SetCollisionByProperty to Tilemap API 2018-01-23 09:05:37 -06:00
Michael Hadley
e31ea73ad4 Typo fix: Tilset -> Tileset 2018-01-23 08:38:43 -06:00
Michael Hadley
629ead9a37 Making Tileset comments more specific - better explains Tiled structure 2018-01-23 07:55:43 -06:00
Michael Hadley
b8b0f42153 getTileProperty -> getTileProperties
A tile can have multiple properties, so it makes more sense as a plural method name
2018-01-23 07:54:03 -06:00
Michael Hadley
c7a471e29a Convenience for getting Tileset collision group from Tile 2018-01-23 07:52:53 -06:00
Michael Hadley
ab29015742 Convenience tile getters for looking up tileset & tilemap layer 2018-01-23 07:48:59 -06:00
Felipe Alfonso
0f0b422fd7 FlatTint Pipeline progress 2018-01-22 19:51:15 -03:00
Felipe Alfonso
2b043fff65 Removed RenderTarget and Shader from components 2018-01-22 18:53:15 -03:00
Felipe Alfonso
961f00ac11 BlitterPipeline added 2018-01-22 18:21:47 -03:00
Felipe Alfonso
e8610734b7 Merge branch 'master' into rendering-cleanup 2018-01-22 12:18:38 -03:00
Richard Davey
75e9349b3c Text canvas width cannot drop below 1x1 pixels. 2018-01-22 12:21:42 +00:00
Michael Hadley
348da8c81e MatterTileBody: wrapper around a Tile that provides access to a matter body 2018-01-21 12:53:27 -06:00
Felipe Alfonso
a4e79875d4 Merge branch 'master' into rendering-cleanup
# Conflicts:
#	src/gameobjects/blitter/BlitterWebGLRenderer.js
2018-01-21 11:14:27 -03:00
Richard Davey
a8c0ee8839 Allow to pass a Frame object directly to a Bob 2018-01-20 17:45:01 +00:00
Richard Davey
d7611afaab Fixed issue with setting Bob frame 2018-01-20 17:05:53 +00:00
Richard Davey
2fb3641824 Should be a string, not a Frame object 2018-01-20 16:35:47 +00:00
Richard Davey
a5a112114b Added blitter coordinates to bob output 2018-01-20 16:21:59 +00:00
Richard Davey
d220634fb6 Added helper methods for flip, visible and alpha 2018-01-20 16:21:42 +00:00
Richard Davey
b951809791 Fixed children reference 2018-01-20 16:21:28 +00:00
Richard Davey
134c67a51b Split into base class and plugin extension so other classes can use them too 2018-01-20 16:21:12 +00:00
Felipe Alfonso
f388391c25 Merge branch 'master' into rendering-cleanup 2018-01-18 14:28:02 -03:00
Richard Davey
d46662cd46 Swapped to using Number.MAX_VALUE so repeat -1 now works properly in IE11 and below. 2018-01-18 14:59:32 +00:00
Richard Davey
2deb9edc9e Plugins now check to see if the Scene is already booted and adapt accordingly. 2018-01-18 14:00:31 +00:00
Richard Davey
5a333bc2fd Updated to new Plugin format, removed injection and mapping 2018-01-18 05:18:09 +00:00
Michael Hadley
821eae6eee Bug fix: weltmeister parser 2018-01-17 18:38:55 -06:00
Michael Hadley
2e68f2507d Added Weltmeister support to Loader & Tilemap API 2018-01-17 18:34:00 -06:00