Xion Audio Player

Particle emitter

Feature Requests and Ideas

Postby lewa » February 9th, 2010, 12:02 pm

Another idea, backed up with some cheesy pseudocode.

It could be simple, like a group(an animation) that defines a particle type. E.g., layername:
Code: Select All Code
particle(1) min_angle(250) max_angle (290) lifetime(steps, e.g. 50) speed(pixels per step) fadeout(true)


And an emitter layer. Could simply define a bounding box (although will often be a single pixel) that will define the area in which particles will be randomly placed/created. modify(x) could be used to turn the emitter on/off.
Code: Select All Code
emitter(1) particle_type(1) particles_per_second(150)


Of course, it would greatly simplify things to just have a layername look more like a function:
Code: Select All Code
emitter(1, 1, 150)

However, this might limit later editability.

A key idea here, though, would be to be able to control the emitter after its creation. Not a xion coding expert here, but in theory this would create more particles accoring to net volume:
Code: Select All Code
vumeter modify(emitter(1).particles_per_second)

I know that's completely wrong, but you get the idea.
User avatar
lewa
Xion Supporter
 
Posts: 42
Joined: October 3rd, 2009, 3:59 am

Postby xonenine » February 9th, 2010, 12:13 pm

that kind of talk gets me all excited, it's like a nice playboy centerfold... :lol:
User avatar
xonenine
Xion Freak
 
Posts: 873
Joined: February 8th, 2008, 1:29 pm
Location: NY

Return to Feature Requests

Who is online

Users browsing this forum: No registered users and 1 guest

cron