Flint Particle System Forum - dynamic renderer size change2010-11-17T11:33:53+00:00http://flintparticles.org/forum/
Lussumo Vanilla & Feed Publisher
dynamic renderer size changehttp://flintparticles.org/forum/comments.php?DiscussionID=168&Focus=672#Comment_6722009-02-09T20:49:59+00:002009-02-10T23:02:34+00:00Panghttp://flintparticles.org/forum/account.php?u=155
I am in the process if trying to make a large cool background with your particle system. Is there a way to dynamically change the size of the renderer? I have tried a bunch of things that seem to ...
Kudo's on the system btw.
-Pang]]>
dynamic renderer size changehttp://flintparticles.org/forum/comments.php?DiscussionID=168&Focus=674#Comment_6742009-02-11T21:11:44+00:002010-11-17T11:33:53+00:00ozgur uksalhttp://flintparticles.org/forum/account.php?u=117
Use the canvas property of the renderer like this:
renderer.canvas=new Rectangle( x, y, w, h ) ;
renderer.canvas=new Rectangle( x, y, w, h ) ;]]>
dynamic renderer size changehttp://flintparticles.org/forum/comments.php?DiscussionID=168&Focus=682#Comment_6822009-02-14T15:10:26+00:002010-11-17T11:33:53+00:00Richardhttp://flintparticles.org/forum/account.php?u=1
If you want the particles themself to get bigger, set the scaleX and scaleY on the renderer. If you want the effect to cover a bigger area but remain the same scale, set the renderer's canvas as ...