Skip to content

Features in progress

aismann edited this page May 22, 2024 · 11 revisions

Here we compile info about the advancements and features in progress. Only for advanced users and contributors!

DrawNode v2 - New API info (for testing phase extension DrawNodeEx)

  • DrawNodeEx ‐ The new DrawNode v2 and more!
    • It's not only a class for drawing primitives, it's more:
      • It's a kind of sprite created from drawing primitives!

At the moment all infos be there: #1579

## DrawNode - Tricks 'n' Tips
### Performance
- `Filled Polygon`
   - No checks on drawPolygon()
     - drawPolygon() using Poly2Tri for triangulation and has the same restrictions.

### Restrictions
- `Filled Polygon`/Poly2Tri restrictions:
   
   Since there are no Input validation of the data given for triangulation you need to think about this:
   - Poly2Tri does not support repeat points within epsilon.
   - If you have a cyclic function that generates random points make sure you don't add the same coordinate twice.
   - If you are given input and aren't sure same point exist twice you need to check for this yourself.



# Rendering artifacts with 'tile' based textures

All info there: Rendering artifacts [#1552](https://github.com/axmolengine/axmol/issues/1552)

Maybe somebody want write it better as only a link?
Clone this wiki locally