Jump to content

Search the Community

Showing results for tags 'Erase'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • HTML5 Game Coding
    • News
    • Game Showcase
    • Facebook Instant Games
    • Web Gaming Standards
    • Coding and Game Design
    • Paid Promotion (Buy Banner)
  • Frameworks
    • Pixi.js
    • Phaser 3
    • Phaser 2
    • Babylon.js
    • Panda 2
    • melonJS
    • Haxe JS
    • Kiwi.js
  • General
    • General Talk
    • GameMonetize
  • Business
    • Collaborations (un-paid)
    • Jobs (Hiring and Freelance)
    • Services Offered
    • Marketplace (Sell Apps, Websites, Games)

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Twitter


Skype


Location


Interests

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: http://cssdeck.com/labs/jwvajze4/ 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 http://www.html5gamedevs.com/topic/9031-trying-to-build-a-paint-application-with-pixi/#entry54977) 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: renderer.renderSession.gl.disable(renderer.renderSession.gl.BLEND);//draw with alpha 0renderer.renderSession.gl.enable(renderer.renderSession.gl.BLEND);How would you do it with the Canvas renderer? Thanks
×
×
  • Create New...