weavejester

Members
  • Content Count

    6
  • Joined

  • Last visited

About weavejester

  • Rank
    Newbie

Contact Methods

  • Twitter
    weavejester
  1. weavejester

    MovieClip animationSpeed

    Thanks!
  2. weavejester

    MovieClip animationSpeed

    I've been trying to work out how to set the frame rate for a MovieClip animation. I assume this is where the animationSpeed property comes in, but the API documentation is rather vague: What does this mean in terms of frames per second? If I want an animation to play at, say, 15 FPS, what value should the animationSpeed property be?
  3. weavejester

    Filters that require a margin

    Thanks! In the meantime I'll create an internal build for Pixi and label it with the commit number it's based off. I very much appreciate your advice; the filter padding sounds exactly what I need.
  4. weavejester

    Filters that require a margin

    Any chance of another official RC? It would be nice if I could say "this project depends on Pixi v4.0.0-rc3" rather than "this project depends on Pixi commit a68ad14 from the dev branch"
  5. weavejester

    Filters that require a margin

    Thanks for the tip! I notice that this is only available in v4. Would you recommend creating a build off the dev branch, or off the latest tagged RC (v4.0.0-rc2)? I noticed the outline filter in pixi-extra-filters, but I wanted one that was pixel-perfect, rather that one that relied on a radius.
  6. weavejester

    Filters that require a margin

    I've written a simple outline shader that adds a single pixel border around a sprite. It works well, except because sprite textures are commonly cropped, the outline is missing at the edges of the image. I've included a blown up image to show you what I mean. See how the border is missing at the tops of the ears and at the extremities of the limbs? What's the common way of dealing with shaders (like outline, blur, glow, etc.) that go over the edge of a cropped texture? Is there an easy way of adding a transparent margin around a texture? Or do I need to write a vertex shader to expand the size? I'm a little new to this, so I'd be grateful to learn of any solutions people might have.