Jump to content

Phaser bitmap landscape with lines


The_dude8080
 Share

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

 Share

  • Recently Browsing   0 members

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