Flint Particle System Forum - Pixel displacement 2010-11-17T12:47:44+00:00 http://flintparticles.org/forum/ Lussumo Vanilla & Feed Publisher Pixel displacement http://flintparticles.org/forum/comments.php?DiscussionID=130&Focus=505#Comment_505 2008-11-15T20:48:50+00:00 2008-11-15T20:49:44+00:00 MSFX http://flintparticles.org/forum/account.php?u=103 Ive only just started using Flint, playing around with the examples, really nice work :) (Saw your presentation at FOTB08, was impressive) Have a question regarding the Explosion ...
(Saw your presentation at FOTB08, was impressive)

Have a question regarding the Explosion example...

I have altered the code to explode my cat =D and have been trying to position the rendered image before it explodes in the top left corner using...

var particles:Array = Particle2DUtils.createRectangleParticlesFromBitmapData(catBMPData, 10, emitter.particleFactory, 0, 0);

However this places the image as 10, 10 rather than 0, 0. I have to set it to -10, -10 in order for it to be aligned with the top left corner...

My question is why does it not go to 0, 0? Is this to do with the position of the renderer or something else or is this just how it works...?

I tried repositioning the renderer but this wouldnt work either, any help/explanation would be much appreciated :)

Cheers

Matt / MSFX]]>
Pixel displacement http://flintparticles.org/forum/comments.php?DiscussionID=130&Focus=511#Comment_511 2008-11-17T13:04:56+00:00 2010-11-17T12:47:44+00:00 Richard http://flintparticles.org/forum/account.php?u=1 There was a bug in the code - it's now fixed in SVN and will be in the next release.