Inherited from particle.ParticleSystem:
__init__,
add_particle,
draw,
init_particle,
on_enter,
reset_system,
step,
stop_system,
update_particles
Inherited from cocosnode.CocosNode:
__contains__,
add,
are_actions_running,
do,
get,
get_ancestor,
get_children,
on_exit,
pause,
pause_scheduler,
remove,
remove_action,
resume,
resume_scheduler,
schedule,
schedule_interval,
stop,
transform,
unschedule,
visit,
walk
Inherited from object:
__delattr__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__str__
|
Inherited from particle.ParticleSystem:
emit_counter,
particle_count
Inherited from cocosnode.CocosNode:
actions,
camera,
children,
children_anchor_x,
children_anchor_y,
children_names,
grid,
is_running,
rotation,
scale,
scheduled_calls,
scheduled_interval_calls,
skip_frame,
to_remove,
transform_anchor_x,
transform_anchor_y,
visible,
x,
y
|
|
|
total_particles = 200
Maximum particles
|
|
|
duration = -1
duration in seconds of the system.
|
|
|
gravity = Point2(0, 0)
Gravity of the particles
|
|
|
angle = 90.0
The angle (direction) of the particles measured in degrees
|
|
|
angle_var = 5.0
Angle variance measured in degrees;
|
|
|
speed = 25.0
The speed the particles will have.
|
|
|
speed_var = 10.0
The speed variance
|
|
|
radial_accel = 0.0
Radial acceleration
|
|
|
radial_accel_var = 0
Radial acceleration variance
|
|
|
tangential_accel = 0.0
Tangential acceleration
|
|
|
tangential_accel_var = 0.0
Tangential acceleration variance
|
|
|
pos_var = Point2(20, 0)
position is from "superclass" CocosNode Position
variance
|
|
|
life = 4.0
How many seconds will the particle live
|
|
|
life_var = 1.0
Life variance
|
|
|
size = 60.0
Size of the particles
|
|
|
size_var = 10.0
Size variance
|
|
|
emission_rate = total_particles/ life
|
|
|
start_color = Color(0.8, 0.8, 0.8, 1.0)
Start color of the particles
|
|
|
start_color_var = Color(0.02, 0.02, 0.02, 0.0)
Start color variance
|
|
|
end_color = Color(0.0, 0.0, 0.0, 0.0)
End color of the particles
|
|
|
end_color_var = Color(0.0, 0.0, 0.0, 0.0)
End color variance
|
|
|
blend_additive = False
blend additive
|
|
|
color_modulate = True
color modulate
|
Inherited from particle.ParticleSystem:
active,
elapsed,
texture
Inherited from cocosnode.CocosNode:
anchor,
anchor_x,
anchor_y,
children_anchor,
parent,
position,
transform_anchor
|