PIXI.Tilemap - _renderBatch using a local 'degenerate' flag to signal to next iteration that one should be inserted before the next triangle.
Phaser.TilemapLayerGL - add degenerate markers at end of rows and whenever a row has a break in it (e.g. empty tiles)
Phaser.Tileset - new addDegenerate function which prevents double markers in a row
Phaser.Tilemap now creates internal map layers for each tileset except the first one (which will be handled by the createLayer call from the game). It also stores a reference to each tileset where the new map layers can access it.
Phaser.TilemapLayerGL uses the new tileset reference to ensure the correct base image and tile sizes are used for each new layer.
PIXI.Tilemap: added initialisation of glBatch to null in c'tor.
Phaser.TilemapParser was cleaned up to remove the now unnecessary tilemap parameter and the attempt to create layers while parsing.
Bizarrely, this version still chokes in Firefox, implying that the previous demo's horrible performance was not down to the GPU blocking as the rectangles are sent to it.
The test is not fully working because it does not scroll the drawing position. So instead of the map moving when you hit a scroll boundary, it simply stops drawing the top or left edges as the scroll region moves away from the visible window. It's an easy fix, but I think I'll leave it until I find out exactly why Firefox still chokes on this demo.
Progress text file updated with latest experiments and progress today.
- Added support to deal with some of the YUIDoc "formats" used to
represent arrays. It covers the case of the old PIXI documentation.
- Cleaned up log reporting and issue identification
- "Fixed" the global navigation, now that globals are displayed .. now
just need to fix the documentation the members aren't incorrectly listed
as globals ..
- Made deprecated entries more apparent
- A deprecation notice is moved above the description to make
it actually obvious
- The navigation item is marked (currently with line-through)
to visual discourage even thinking about it.
- "protected" members are displayed as "internal"
- Enforces the idea that using them from outside the core library
is possible even though there is no public guarantee
- There is also and advice note added to the "Deprecated/Internal"
section reminding the users of such.
- The "Type" heading is removed when such is trivially visible in the
type-signature of the item.
- The "Returns" section for methods is moved before the details
(So it is displayed about the "Source" and other details.)
- The type is better integrated into "Returns"
- Initial support for generating PIXI-combined documentation
- Includes yuidoc-to-jsdoc for generating pixi-jsdoc.js
- Creates doc (using pixidoc + builddoc) tasks
- Adds sourceproxy JSDoc plugin to map in corrected file/line meta
- Added yuidocjs as a dev-dependency
This automatically fixes usage of the form
/** desc
* @property {T} name - desc
To
/** desc
* @member {T} name
Being careful to only make the transformation when it is logical to do and preserving both descriptions as appropriate.