trsh

Members
  • Content Count

    62
  • Joined

  • Last visited

About trsh

  • Rank
    Advanced Member

Recent Profile Visitors

1002 profile views
  1. No thanks, no Tint. Bunnies will be replaced with star textures. I want it as simple as possible.
  2. @ivan.popelyshev Last question, I promise :). As I use simple random() to place the particles, sometimes the coordinates match so that 2-3 rabbits are in same place, what looks bad. Any advice for that? Some link, article, algorithm?
  3. No!!!! I got it now!
  4. Yeah, it does fix the error. I still don't understand the problem with array (it's just array with references to objects) and how is that connected with particles container, but I'll try later, going line by line with smaller amounts. And will change the logic, so no stars out of screen are not removed, but moved to the beginning again. Thanks again!
  5. Here is a test case https://jsfiddle.net/obmjcnv7/15/
  6. @ivan.popelyshev But isn't it a bug of pixi? The maggots array has nothing to do with particles container children. It a separate mapper. The order doesn't count there. When one is removed on is added to particle container and something goe's wrong there.
  7. @ivan.popelyshev https://jsfiddle.net/obmjcnv7/13/ In the line 56 (console.log(sprites.children.length);) I can see abnormal numbers of particles and that's why they disapear sometimes not in right time. I don't understand is it a bug of PIXI, or in my logic, as when I read from code, as one particle is removed, only then one is added. So it should always stay constant. :/
  8. Deal! Actually I figure it out and my demo will be ready soon. Tank you.
  9. But I will work on the idea, tnx.
  10. Ok. Cool tnx. But Object that come near do appear bigger, so have can I live without Scale?
  11. The image will be static BG, and stars shooting by. Why can't pixi handle this alone at good speed? Simple as https://jsfiddle.net/obmjcnv7/. I just need to get the projection right.
  12. Hi guys. I want to create a effect in PIXI, that looks like first frames in this video -> http://hubblesite.org/video/513/news_release/2006-01 (stars shooting/flying by). What would more experienced PIXI'oniers advice to achieve such effect? Performance is critical, I want it also to work on mobiles. For now I'm thinking: 1) Particle container, that's for sure? Maybe with some 1-3 star sprites? 2) Projection plane for start movement? Or just calculate it with some custom simple logic?
  13. Roadmap... future plans... current status, etc. Thins that belong in ablog
  14. Check what? Commits? That's kind of different thing