Share to EffectHub.com

You can earn money or coins from your share:)

Tips: you can use Sparticle for uploading away3D effects.

Tips: you can download Sparticle for uploading effects.

Tips: The ActionScript editor is supporting Away3D, Starling, Dragonbones and Flex frameworks.

Tips: paste the web page URL then click button:)

EffectHub.com: Your Best Source for Gaming
Login    or

load the assets to your project

Follow these steps to load the assets to your project:

  1. Download the parser source from http://www.effecthub.com/download/software/sparticleparser

  2. Download the latest dev branch of Away3D lib on github  https://github.com/away3d/away3d-core-fp11/tree/dev

  3. Setup a as3 project with your favorite IDE(Flash builder, Flash Develop...), include the src directories of parser and Away3D lib downloaded just now as the project source path.

  4. Set test.as in parser as your application entry, and copy your asset to your target directory.

  5. Rename the "1.awp" to your asset name so that your application can access your asset, then run you application.

Now you can enjoy your asset in your project.

...

You must Sign up as a member of Effecthub to view the content.

5889 views    21 comments

You must Sign up as a member of Effecthub to join the conversation.

wwh2435 2016-05-07

particleGroup = e.asset as ParticleGroup;
groupContainer.addChild(particleGroup);
particleGroup.animator.start();

particleGroup没有castsShadows属性,那怎么控制阴影的显示和不显示呢?

wwh2435 2016-05-07

particleGroup = e.asset as ParticleGroup;
groupContainer.addChild(particleGroup);
particleGroup.animator.start();

particleGroup没有castsShadows属性,那控制阴影的显示和不显示呢?

wwh2435 2016-04-18

1172: 找不到定义 away3d.loaders.parsers:ParticleGroupParser。

请问此问题应该怎么解决呢?

alpo4 2014-11-02

ok,, so i got it working, which is cool - but 1 question...

i import the src folders for parser and away3d as described in your instructions.

the reason it wasnt working for me before is i was trying to use the away3d swc or 4.1.6 version. no work. so, with the dev away3d, it works but it is 10 times slower on ipad - big problem.

its not the sparticle that slows it, just using that dev version of away3d on a non-sparticle file slows way down on ipad/ios devices.

so the question is, will i ever be able to use sparticle with the current away3d swc, and not the dev version?

thanks in advance.

alpo4 2014-11-01

more specifically, these two errors
C:\_000 sparticle\test.as, Line 97, Column 33 1046: Type was not found or was not a compile-time constant: LoaderEvent.
C:\_000 sparticle\test.as, Line 86, Column 34 1046: Type was not found or was not a compile-time constant: AssetEvent.

thanks,

andy

alpo4 2014-11-01

hello, nice work here!

im having trouble getting the test file to work-
lots of errors, things not found, etc.
i understand i need to add the away3d dev folder, and the parser folder-
but still not working...

thanks and keep up the cool work!

andy

Liao Cheng 2014-10-31
Ibsen Torres 2014-10-29

Hello Liao,
Im trying to use the parser with away3D 4.1.6 and drops several errors:

Description Resource Path Location Type
1119: Access of possibly undefined property UV_CYCLE through a reference with static type Class. ParticleUVNodeSubParser.as /AwayTest/[source path] SparticleParser-src/away3d/loaders/parsers/particleSubParsers/nodes line 33 Flex Problem
1119: Access of possibly undefined property UV_SCALE through a reference with static type Class. ParticleUVNodeSubParser.as /AwayTest/[source path] SparticleParser-src/away3d/loaders/parsers/particleSubParsers/nodes line 47 Flex Problem
1137: Incorrect number of arguments. Expected no more than 4. ParticleUVNodeSubParser.as /AwayTest/[source path] SparticleParser-src/away3d/loaders/parsers/particleSubParsers/nodes line 69 Flex Problem
1137: Incorrect number of arguments. Expected no more than 4. ParticleUVNodeSubParser.as /AwayTest/[source path] SparticleParser-src/away3d/loaders/parsers/particleSubParsers/nodes line 71 Flex Problem
1137: Incorrect number of arguments. Expected no more than 4. ParticleUVNodeSubParser.as /AwayTest/[source path] SparticleParser-src/away3d/loaders/parsers/particleSubParsers/nodes line 74 Flex Problem
1137: Incorrect number of arguments. Expected no more than 4. ParticleUVNodeSubParser.as /AwayTest/[source path] SparticleParser-src/away3d/loaders/parsers/particleSubParsers/nodes line 83 Flex Problem
1137: Incorrect number of arguments. Expected no more than 4. ParticleUVNodeSubParser.as /AwayTest/[source path] SparticleParser-src/away3d/loaders/parsers/particleSubParsers/nodes line 85 Flex Problem
1137: Incorrect number of arguments. Expected no more than 4. ParticleUVNodeSubParser.as /AwayTest/[source path] SparticleParser-src/away3d/loaders/parsers/particleSubParsers/nodes line 88 Flex Problem

I've been trying to understand why works in your example code and i found you are using Away 4.1.4.
I was wondering if something could change so much to make the parser stop working.

Please download dev branch:
https://github.com/away3d/away3d-core-fp11/tree/dev
but not 4.1.6

Ibsen Torres 2014-10-29

Hello Liao,
Im trying to use the parser with away3D 4.1.6 and drops several errors:

Description Resource Path Location Type
1119: Access of possibly undefined property UV_CYCLE through a reference with static type Class. ParticleUVNodeSubParser.as /AwayTest/[source path] SparticleParser-src/away3d/loaders/parsers/particleSubParsers/nodes line 33 Flex Problem
1119: Access of possibly undefined property UV_SCALE through a reference with static type Class. ParticleUVNodeSubParser.as /AwayTest/[source path] SparticleParser-src/away3d/loaders/parsers/particleSubParsers/nodes line 47 Flex Problem
1137: Incorrect number of arguments. Expected no more than 4. ParticleUVNodeSubParser.as /AwayTest/[source path] SparticleParser-src/away3d/loaders/parsers/particleSubParsers/nodes line 69 Flex Problem
1137: Incorrect number of arguments. Expected no more than 4. ParticleUVNodeSubParser.as /AwayTest/[source path] SparticleParser-src/away3d/loaders/parsers/particleSubParsers/nodes line 71 Flex Problem
1137: Incorrect number of arguments. Expected no more than 4. ParticleUVNodeSubParser.as /AwayTest/[source path] SparticleParser-src/away3d/loaders/parsers/particleSubParsers/nodes line 74 Flex Problem
1137: Incorrect number of arguments. Expected no more than 4. ParticleUVNodeSubParser.as /AwayTest/[source path] SparticleParser-src/away3d/loaders/parsers/particleSubParsers/nodes line 83 Flex Problem
1137: Incorrect number of arguments. Expected no more than 4. ParticleUVNodeSubParser.as /AwayTest/[source path] SparticleParser-src/away3d/loaders/parsers/particleSubParsers/nodes line 85 Flex Problem
1137: Incorrect number of arguments. Expected no more than 4. ParticleUVNodeSubParser.as /AwayTest/[source path] SparticleParser-src/away3d/loaders/parsers/particleSubParsers/nodes line 88 Flex Problem

I've been trying to understand why works in your example code and i found you are using Away 4.1.4.
I was wondering if something could change so much to make the parser stop working.

te65536 2014-10-18
Liao Cheng 2014-10-18

You can see this example:https://github.com/away3d/away3d-examples-fp11/blob/master/src/Basic_Load3DS.as
See mapUrlToData function :)

wow, great, thanks a lot!

Liao Cheng 2014-10-18
te65536 2014-10-15

Hi, Liao Cheng!
Is it possible to embed the .awp and all of it's dependencies into my project?
I need the effect not to be loaded from the web, but to use it as a Class, as we embed textures in Away3D, for example:

[Embed(source="../assets/textures/model2.jpg")]
public static var Model2Texture:Class;

Is there a tutorial how to make it?

You can see this example:https://github.com/away3d/away3d-examples-fp11/blob/master/src/Basic_Load3DS.as
See mapUrlToData function :)

te65536 2014-10-15

Hi, Liao Cheng!
Is it possible to embed the .awp and all of it's dependencies into my project?
I need the effect not to be loaded from the web, but to use it as a Class, as we embed textures in Away3D, for example:

[Embed(source="../assets/textures/model2.jpg")]
public static var Model2Texture:Class;

Is there a tutorial how to make it?

Liao Cheng 2014-10-08
Naomi Spirit-Hawthorne 2014-10-08

I'm getting lots of errors when I follow these steps. Is this still compatible with AWAY3d? I've tried their current swc and I've tried the latest branch as well and just getting lots of errors. Have posted on AWAY3D forums but getting no reply. http://away3d.com/forum/viewthread/5684/

Hello
It's compatible with the latest dev branch of Away3D:
https://github.com/away3d/away3d-core-fp11/archive/dev.zip

I'm getting lots of errors when I follow these steps. Is this still compatible with AWAY3d? I've tried their current swc and I've tried the latest branch as well and just getting lots of errors. Have posted on AWAY3D forums but getting no reply. http://away3d.com/forum/viewthread/5684/

Rafael Cardoso 2013-12-16

@Liao Cheng is there a way to embed the effect into the project, instead of loading it from a external source?

Liao Cheng 2013-08-12

@Rafael Cardoso
Please download dev version of Away3D: https://github.com/away3d/away3d-core-fp11/tree/dev

Rafael Cardoso 2013-08-12

I am having an Error message: "undefined method ParticleSegmentedScaleNode" on ParticleSegmentedScaleNodeSubParser.as(82), any clue on how to fix this, I just got the last version of away3d and the parser. Thanks

Liao Cheng 2013-07-29

@aLager
See the Properties section in right panel of the editor, switch to "normal" tab. You will see "scale" button.

aLager 2013-07-25

very nice effects. thanks! are there any way to scale effects?

Liao Cheng 2013-07-19

To help you setup the environment, there is a template project:
http://www.awayeffect.com/download/software/templateproject

Liao Cheng 2013-07-15

Many customers reported that they missed some class in the Away3D lib. That's because it's not the latest dev branch of Away3D. You can directly download it at https://github.com/away3d/away3d-core-fp11/archive/dev.zip.

Join Effecthub.com


Or Login with Your Email Address:

Or Sign Up with Your Email Address:
This field must contain a valid email
Password should be at least 1 character