[open source]gui particle editor and andriod preview version

Software: Away3D 4.x

Avatar
Cheng Liao, Administrator
Posted: 19 February 2012 03:48 PM   Total Posts: 116

I’m writing a gui editor for the away3d particles system.Now I have finished a prototype.
sites:
http://liaocheng.github.com/particles_editor.html

just for fun.LOL

new edit:
add a andriod version for test.
see http://away3d.com/forum/viewreply/6256/

   

inSertCodE, Sr. Member
Posted: 19 February 2012 10:58 PM   Total Posts: 105   [ # 1 ]

Wow, excellent job. This looks amazing. Keep on the good work.

 

   

Josepho, Newbie
Posted: 20 February 2012 09:24 AM   Total Posts: 13   [ # 2 ]

Very nice! It will be opensource?? :D

 

   

Josepho, Newbie
Posted: 20 February 2012 09:48 AM   Total Posts: 13   [ # 3 ]

Or maybe a class that transforms the xml code into a functional particlecontainer ? raspberry

 

   

Avatar
Cheng Liao, Administrator
Posted: 20 February 2012 10:03 AM   Total Posts: 116   [ # 4 ]

It’s opensource.
site:
https://github.com/liaocheng/particle_effect_editor
EffectGroupFactoryS can transforms the xml code into a group of functional particlecontainer.cheese

 

   

inSertCodE, Sr. Member
Posted: 22 February 2012 06:53 PM   Total Posts: 105   [ # 5 ]

Hi liaocheng. I would really appreciate if you upload the compiled version too. I don’t have AIR3 set yet…

PS.In attachment is my simple fire version with 2k polys. When I get the AIR version so that I can input bitmaps I’ll make a better fire wink

 

File Attachments
fire2.zip  (File Size: 1KB - Downloads: 247)
   

Avatar
Cheng Liao, Administrator
Posted: 23 February 2012 12:28 AM   Total Posts: 116   [ # 6 ]

You can install the air runtime from
http://get.adobe.com/cn/air/
You can download the air version from
https://github.com/liaocheng/particle_effect_editor/downloads
Then you can open the bitmap and model in your local file system.wink

 

   

inSertCodE, Sr. Member
Posted: 23 February 2012 04:35 PM   Total Posts: 105   [ # 7 ]

Thanks mate. wink

 

   

Avatar
Cheng Liao, Administrator
Posted: 29 February 2012 03:27 PM   Total Posts: 116   [ # 8 ]

I compiled a andriod version with only preview feature.
It can run on my SAMSUNG i9103 well.All examples can reach 60fps.
If you can run it on your andriod device,please post reply to show it’s performance.
ps:
First of all ,install air3.2 for andriod
http://labs.adobe.com/technologies/flashplatformruntimes/air3-2/

look out: when you have finished open a file,click preview button!

 

File Attachments
apkAndExamples.zip  (File Size: 457KB - Downloads: 230)
   

jtopaz, Member
Posted: 29 February 2012 03:51 PM   Total Posts: 53   [ # 9 ]

Good Job

 

   

Avatar
Cheng Liao, Administrator
Posted: 01 March 2012 02:07 PM   Total Posts: 116   [ # 10 ]

On some andriod device,the old application will auto close after open.I compile a new application that won’t auto close.

 

File Attachments
apkAndExamples.zip  (File Size: 457KB - Downloads: 228)
   

Tom.de, Newbie
Posted: 08 May 2012 04:07 PM   Total Posts: 30   [ # 11 ]

That’s some amazing work.

I have just dropped the particle and editor code into my project and it works like a charm.

There is just one problem I am having at the moment.
I have edited one of the sample effects that came with the editor (the snow one) and exported it.

Once the xml is loaded and started (via EffectGroupFactoryS) it plays exactly as created it in the editor. However, I wanted to create a trail.

If I move the effect itself then every created particle will move along with it of course. Moving the ParticlesContainer within the Effect (EffectGroup) does not work either.

How can I move just the “emitter” but leave particles in world space?

Thanks a lot for your help. The particle engine is absolutely great, the editor is an immense help.

 

   

Avatar
Cheng Liao, Administrator
Posted: 09 May 2012 05:50 AM   Total Posts: 116   [ # 12 ]

You can set the follow target to a very far object that out of view;-)

 

   

Tom.de, Newbie
Posted: 09 May 2012 08:36 AM   Total Posts: 30   [ # 13 ]

I’ve modified SystemFactoryS (line 32) from

var particlesContainer:ParticlesContainer = new ParticlesContainer(); 

to

var particlesContainer:ParticlesContainer = new TransformFollowContainer(); 

Now I can get the child ParticleContainer from the EffectGroup which is generated by the EffectGroupFactoryS and set the target.

It all seems to work fine now and my particle effect follows the defined position, I got my trail.

That change make sense?
Thanks a lot for the editor and the particle system, it’s been a massive help so far!

 

   

Tom.de, Newbie
Posted: 09 May 2012 11:35 AM   Total Posts: 30   [ # 14 ]

One stupid question remains though.

How do I pause the emitter / effect? If I call stop() it will also stop the already generated particles (as in, no longer animate them). I only want to stop emitting though.

 

   

Avatar
Cheng Liao, Administrator
Posted: 09 May 2012 02:39 PM   Total Posts: 116   [ # 15 ]

You can set the follow target to a far object that out of view wink

 

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X