Class cocos.particle_systems.Fire

         object --+        
                  |        
cocosnode.CocosNode --+    
                      |    
particle.ParticleSystem --+
                          |
                         Fire

Methods

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__

Properties

Inherited from object: __class__

Instance Variables

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

Class Variables

  total_particles = 250
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 = 10.0
Angle variance measured in degrees;
  radial_accel = 0
Radial acceleration
  radial_accel_var = 0
Radial acceleration variance
  speed = 60.0
The speed the particles will have.
  speed_var = 20.0
The speed variance
  pos_var = Point2(40, 20)
position is from "superclass" CocosNode Position variance
  life = 3.0
How many seconds will the particle live
  life_var = 0.25
Life variance
  emission_rate = total_particles/ life
  start_color = Color(0.76, 0.25, 0.12, 1.0)
Start color of the particles
  start_color_var = Color(0.0, 0.0, 0.0, 0.0)
Start color variance
  end_color = Color(0.0, 0.0, 0.0, 1.0)
End color of the particles
  end_color_var = Color(0.0, 0.0, 0.0, 0.0)
End color variance
  size = 100.0
Size of the particles
  size_var = 10.0
Size variance
  blend_additive = True
blend additive
  color_modulate = True
color modulate
Inherited from particle.ParticleSystem: active, elapsed, tangential_accel, tangential_accel_var, texture Inherited from cocosnode.CocosNode: anchor, anchor_x, anchor_y, children_anchor, parent, position, transform_anchor