Flint Particle System Forum - Pixel displacement Sat, 25 Dec 2010 19:42:00 +0000 http://flintparticles.org/forum/ Lussumo Vanilla 1.1.10 & Feed Publisher Pixel displacement http://flintparticles.org/forum/comments.php?DiscussionID=130&Focus=505#Comment_505 http://flintparticles.org/forum/comments.php?DiscussionID=130&Focus=505#Comment_505 Sat, 15 Nov 2008 20:48:50 +0000 MSFX
(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 http://flintparticles.org/forum/comments.php?DiscussionID=130&Focus=511#Comment_511 Mon, 17 Nov 2008 13:04:56 +0000 Richard