Does the image size of particle affect it's quality?
3absh
Member Posts: 601
Is there an upper size limit for the particles used in the game?
For example if I use particles of an image that are 500x500, since the max allowed size of particle is in fact 500. Will the particles appear as images of 500 pixel resolution? Or is the 500 merely a stretched particle that's of a much lower resolution?
I want to use high quality images for the particles and I'm not sure how that will affect the performance of the game since I presume particles would be the most cpu intensive behavior in GS.
Comments
Hi @abuabed84 Providing the actor you're using is 500x500 in this case they'll be no stretching or lack of quality (except on retina display but that won't matter for particles, in my opinion).
I can't see it having much impact on performance either, providing the particles aren't constant.
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
There is no upper size limit for particles.
You can have particles that are 70,000,000 pixels x 70,000,000 pixels if you like there is no 500 pixel limit.
If a 500 x 500 pixel image is applied to a 500 x 500 pixel particle, it will use the full resolution 500 x 500 pixel image.
I'm not sure you can judge how cpu intensive a behaviour is without some context, for example the Particle behaviour is enormously more efficient than the Spawn behaviour if the Spawn behaviour were spawning an equal number of 'particles' (but as actors).
The size of the actor that the Particle behaviour is applied to has no effect on the size of the particles / the Particle behaviour does not produce actors.
excellent
thanks guys