|
@@ -76,6 +76,13 @@
|
|
|
// particle factory params
|
|
// particle factory params
|
|
|
#define PARTICLE_FACTORY_LIFESPAN_BASE 0.5f
|
|
#define PARTICLE_FACTORY_LIFESPAN_BASE 0.5f
|
|
|
|
|
|
|
|
|
|
+#define SPRITE_PARTICLE_RENDERER_ALPHA_DISABLE false
|
|
|
|
|
+#define PARTICLE_RENDERER_ALPHA_MODE BaseParticleRenderer::PR_ALPHA_NONE
|
|
|
|
|
+//#define PARTICLE_RENDERER_ALPHA_MODE BaseParticleRenderer::PR_ALPHA_IN
|
|
|
|
|
+//#define PARTICLE_RENDERER_ALPHA_MODE BaseParticleRenderer::PR_ALPHA_OUT
|
|
|
|
|
+//#define PARTICLE_RENDERER_ALPHA_MODE BaseParticleRenderer::PR_ALPHA_USER
|
|
|
|
|
+//#define PARTICLE_RENDERER_USER_ALPHA 1.0
|
|
|
|
|
+
|
|
|
#if defined POINT_PARTICLE_RENDERER
|
|
#if defined POINT_PARTICLE_RENDERER
|
|
|
#define POINT_PARTICLE_RENDERER_POINT_SIZE 1.0f
|
|
#define POINT_PARTICLE_RENDERER_POINT_SIZE 1.0f
|
|
|
#elif defined SPRITE_PARTICLE_RENDERER
|
|
#elif defined SPRITE_PARTICLE_RENDERER
|
|
@@ -89,9 +96,9 @@
|
|
|
// #define SPRITE_PARTICLE_RENDERER_INITIAL_Y_SCALE 0.0
|
|
// #define SPRITE_PARTICLE_RENDERER_INITIAL_Y_SCALE 0.0
|
|
|
// #define SPRITE_PARTICLE_RENDERER_FINAL_Y_SCALE 0.5
|
|
// #define SPRITE_PARTICLE_RENDERER_FINAL_Y_SCALE 0.5
|
|
|
#define SPRITE_PARTICLE_RENDERER_NONANIMATED_THETA 45.0f
|
|
#define SPRITE_PARTICLE_RENDERER_NONANIMATED_THETA 45.0f
|
|
|
- #define SPRITE_PARTICLE_RENDERER_BLEND_METHOD PP_BLEND_LINEAR
|
|
|
|
|
-// #define SPRITE_PARTICLE_RENDERER_BLEND_METHOD PP_BLEND_CUBIC
|
|
|
|
|
-// #define SPRITE_PARTICLE_RENDERER_ALPHA_DISABLE false
|
|
|
|
|
|
|
+ #define SPRITE_PARTICLE_RENDERER_BLEND_METHOD BaseParticleRenderer::PP_BLEND_LINEAR
|
|
|
|
|
+// #define SPRITE_PARTICLE_RENDERER_BLEND_METHOD BaseParticleRenderer::PP_BLEND_CUBIC
|
|
|
|
|
+// #define SPRITE_PARTICLE_RENDERER_ALPHA_DISABLE false
|
|
|
#endif
|
|
#endif
|
|
|
|
|
|
|
|
// particle emitter params
|
|
// particle emitter params
|