Search the Community

Showing results for tags 'Erase'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • HTML5 Game Coding
    • News
    • Game Showcase
    • Facebook Instant Games
    • Web Gaming Platform
    • Coding and Game Design
  • Frameworks
    • Phaser 3
    • Phaser 2
    • Pixi.js
    • Babylon.js
    • Panda 2
    • melonJS
  • General
    • General Talk
  • Business
    • Collaborations (un-paid)
    • Jobs (Hiring and Freelance)
    • Services Offered

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start



Website URL





Found 5 results

  1. Hi! I'm wondering is it posible in PIXI to erase some area of Graphics object? Something similar to canvas clearRect() method.
  2. hi there i got an idea for a game, but i need to figure it out how to program it. what if i have a window asset and i want to clean it using the mouse? it is possible using phaser? how i can clean it and know how mmany percentage of the window is clean?
  3. Hi, I have been using Pixi.js for a few months now and I am wondering if it is possible to erase lines drawn on a PIXI.Graphics object. Basically I have some functionality where I am able to draw on a Graphics object on a Sprite using mouse and touch events. My issue is that the sprite has a texture which is not just 1 color. If the texture was blue I would just draw with blue color to "erase" the lines i had drawn earlier with another color. If I was not using Pixi.js I could use the functionality shown here: This eraser functionality is excactly what I need, but I need it in Pixi.js. Is it possible to adapt this same functionality in Pixi.js? Any suggestions or tips would be great.
  4. hi there people, im just wondering about a way to erase certain parts of a sprite, how i can do that in phaser? any idea or example will be very helpful!
  5. Hello, I'm wondering how to erase something from a rendertexture. I don't want to clear the whole thing and it might not necessarily be a rectangle. (for rectangles I found Usually I would try to disable all blendmodes and draw transparent stuff onto the rendertexture, but blendModes.NORMAL still does alpha blending, so it doesn't change anything to the texture. Is there a way of doing this? EDIT: For the WebGL renderer I discovered that this works:;//draw with alpha;How would you do it with the Canvas renderer? Thanks