display.newMesh() Preview

Working as expected. Using them in spine.

Great to hear that. Spine already got some support of mesh animations. But there are some problems with it, test carefully before shipping a game with it. More info in Spine’s issue.

@Vlads, you are doing amazing work! I so appreciate the great new features you are adding to Corona SDK! We are about a month or so away from releasing a puzzle game that heavily utilizes the canvas texture feature you recently implemented and we are super impressed with the power of canvas textures. I have been monitoring the spine/mesh discussions for a while now. I am not sure yet how we would leverage spine specifically in an upcoming game but this new mesh feature shows HUGE potential, especially when combined with canvas textures! I am so excited. Thank you!

Thanks a lot for kind words. Everyone in Corona really glad to hear things like this. Looking forward to playing your game!

Okay, these were my “couple smaller examples”, which I just got around to putting up:

Degenerate vertices (map vertices with u-coordinate < 0 to (0, 0); doing this to a whole triangle will collapse it to a point, and it won’t be drawn)

Mesh “regions” (encode an ID into the integer part of the u-coordinate, then use it to make some decision in an effect; in this example, it encodes a low-res color)

These are proofs of concept, which I’ll probably be doing more experimentation on later. The second example might end up being an unnecessary duplication of Corona’s own batching; I’m hoping to play around with it and see where it differs. If nothing else, I guess it lets you keep things together in one mesh.

Cool stuff. I’ll have to check it out.

gracias, voy a probarlo.