OSUblake

Members
  • Content count

    11
  • Joined

  • Last visited

About OSUblake

  • Rank
    Member

Contact Methods

  • Twitter
    @OSUbowen

Recent Profile Visitors

468 profile views
  1. Microlags with fast-moving objects

    Hi @vdddslep I look at your demo and noticed dropped frames, which will be very noticeable in an linear animation. If you don't use interpolation and move your object the same amount on every animation frame, it should fix the problem. However, that might not be a good idea as it might get out sync with other parts of your game.
  2. PIXI positioning + flickering questions

    This repo might be of some help. It's part of the Cocos Creator, and handles zoom/panning without flickering by snapping everything to whole pixel values. Note that antialias is set to false. https://github.com/cocos-creator-packages/ui-grid
  3. It looks like touches are back in 4.5.2... https://github.com/pixijs/pixi.js/issues/4040 And they added a isPrimary property to the event data, which would be true for the first touch. console.log(e.data.isPrimary);
  4. Draw a Graphics from a path

    I just looked at your path, and it's all wrong. Those are absolute coordinates, even though the commands are lowercase. But that's only part of the problem. The real issue is that your path isn't correct. You can test it out by drawing it with the Path2D api. You might want to try a different library, like opentype.js.
  5. Draw a Graphics from a path

    Lowercase letters (m, l, q), are relative coordinates. You want absolute coordinates, which would be uppercase (M, L, Q). But if you plan on doing animation, converting everything to absolute Cubic Beziers is the best option.
  6. motion path in pixi?

    I use GreenSock's BezierPlugin.
  7. Here's an example of SAT with Phaser. If you don't need to know the overlap, you could do hit testing like the interaction manager or PIXI.Graphics.containsPoint...
  8. About pixiFLIP

    Nice work! I noticed there wasn't a particle container. Is there a way to add one to a 3d container? Or is that something that will come at a later date.
  9. pixi.js version 4.0.0-rc1 is out

    Ok that cleared up the black screens on the ones that weren't working.
  10. pixi.js version 4.0.0-rc1 is out

    The demos don't seem to be working there or on your mirror.
  11. Animate #SVG in Angular 2 @GreenSock Tutorial https://t.co/61osnSzly5 @CodePen https://t.co/op5tr6zNuD #AngularJS https://t.co/hhDXXtVIXi

  12. Texture follow curving path

    Hi lostincomputer, I wrote that stuff on the greensock forum. Here's a demo of that tileable rope using PIXI. http://codepen.io/osublake/pen/vNjjqa There's a bunch of code in there, so I just copied the tile rope class into a new pen. It's just a slightly modified version of the PIXI Rope class and the usage is the same. http://codepen.io/osublake/pen/4228bdb83c28bb1c739b4f53f05e1bad?editors=0010