Jump to content

Phaser bitmap landscape with lines


Recommended Posts

Hello. I am trying to do what the title says. I made a line using bmd.line and I want to make a landscape by adding multiple lines. I will want to fill the space under the lines with color or texture.

How can I add a texture to a bitmapdata and how can I color ONLY the space under the lines and not the whole bitmapdata. Something like this.Capturar.PNG

The space that is drawn doesn't occupy the entire bitmapdata size I suppose...

So bassicaly my dought is : how to add a texture to the bmd instead of coloring it and how to only fill the space under the drawn lines?

Link to comment
Share on other sites


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...