T0neg0d FX Visual Designer on github

I’ve put on github the FX Visual Designer…

I’ve updated the project to 3.1 but unfortunately it doesn’t compile… if anybody want to check it out is here:

1 Like

why I have not seen that thread before !? It is very cool… :heart:

Thanks a lot @Pesegato ,@t0neg0d

Wait, why is it under JPonyEngine o_o?

1 Like

Because we hope it will come back some day in the future.:grinning:

Maybe next April or the other. :stuck_out_tongue_winking_eye:

1 Like

I don’t want to take credit on projects that aren’t actually mine… :slight_smile:

just downloaded the EmitterBuilder project.
Opened project in SDK 3.1 beta 1.I(It seems not comparable with alpha 4 or better ?)
so I switched to SDK 3.1 -5293.

before running the Main.java need to change
screen = new Screen(this,"tonegod/gui/style/atlasdef/style_map.xml");
to
screen = new Screen(this,"tonegod/gui/style/atlasdef/style_map.gui.xml");
otherwise will get
Uncaught exception thrown in Thread[jME3 Main,5,main] NullPointerException

there are some compiler errors in packages “emitterbuilder.builder” and “emitterbuilder.builder.project”.
@Pesegato Can you take a look please ?

cause some nice error when I run the project and click on “create” button :

java.lang.RuntimeException: Uncompilable source code - constructor Emitter in class emitter.Emitter cannot be applied to given types;
  required: no arguments
  found: java.lang.String,com.jme3.asset.AssetManager,int,emitter.influencers.ColorInfluencer,emitter.influencers.AlphaInfluencer,emitter.influencers.SizeInfluencer
  reason: actual and formal argument lists differ in length
    at emitterbuilder.builder.EmitterBuilder.addNewEmitter(EmitterBuilder.java:344)
    at emitterbuilder.builder.EmitterBuilder.access$000(EmitterBuilder.java:56)
    at emitterbuilder.builder.EmitterBuilder$1.onButtonMouseLeftUp(EmitterBuilder.java:221)
    at tonegod.gui.controls.buttons.Button.onMouseLeftReleased(Button.java:575)
    at tonegod.gui.core.Screen.onMouseButtonEvent(Screen.java:1030)
    at com.jme3.input.InputManager.processQueue(InputManager.java:832)
    at com.jme3.input.InputManager.update(InputManager.java:908)
    at com.jme3.app.Application.update(Application.java:690)
    at com.jme3.app.SimpleApplication.update(SimpleApplication.java:234)
    at com.jme3.system.lwjgl.LwjglAbstractDisplay.runLoop(LwjglAbstractDisplay.java:151)
    at com.jme3.system.lwjgl.LwjglDisplay.runLoop(LwjglDisplay.java:192)
    at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:232)
    at java.lang.Thread.run(Thread.java:745)

I am using tonegodgui-0.0.2.jar from here :

and tonegod.emitter.jar
from tonegodemitter - Browse Files at SourceForge.net

Also there is this topic

downloaded that and it seems is compatible just with 3.0 .
So i think i am going to install 3.0 for a while to test it.

I watched most of videos from t0neg0d on her YouTube channel

There were lots of cool things.
i hope she keeps maintaining them.

Here is a copy of the t0neg0d emitter projects that I update a while back to work with 3.1. I just tested with the alpha3 I have installed and all 3 of the emitter projects ran. Not sure if they are 100% functional though. Hope these help.

2 Likes

I am aware of that… @t0neg0d did change the API of emitters but didn’t document. If some monkey experienced with her Emitters can give some hints it will be appreciated :slight_smile:

This is the code that don’t work:

            Emitter em = new Emitter(
                mvName.getText(),
                app.getAssetManager(),
                100,
                new ColorInfluencer(),
                new AlphaInfluencer(),
                new SizeInfluencer()
            );
            
            // Shape & Emissions
            em.setShapeSimpleEmitter();
            em.getShape().setDirectionType(DirectionType.Random);
            em.setEmissionsPerSecond(100);
            em.setParticlesPerEmission(1);
            
            // Particle props
            em.initParticles(ParticleDataTriMesh.class, null);

On jPonyEngine I’ve also put the other projects, all are updated for 3.1 and they work:

The FX visual designer is the only missing piece…

Thanks @Aquanaut81
I tested your copy of t0neg0d emitter on JME3.1 beta 1 (the latest release) and they seems to run perfectly . :grinning:
Thanks so much.

1 Like

Yes. At first I did not know you have the tonegodemitter in your repo so i was using this old tonegod.emitter.jar
from tonegodemitter - Browse Files at SourceForge.net
now I replaced it with yours. GitHub - jPonyEngine/tonegodemitter: Automatically exported from code.google.com/p/tonegodemitter

Aquanaut81 copy of EmitterBuilder works OK so it may help you.

I works on JME, but once built it doesn’t find the assets folder… I’ve worked around with this hack.

                    /*
            basePath = getClass().getClassLoader().getResource(
                "emitterbuilder/builder/project/locator.xml"
            ).toString();
            basePath = basePath.substring(basePath.indexOf("/")+1, basePath.indexOf("build"));
            basePath += "assets/";
*/
                    basePath="c:/tonegodfxdesigner/emitterassets/";

But then I can’t save nor load… :expressionless:

I support

for JME 3.2. Also, I’m going to support

and

1 Like

I have integrated this particle system and builder to my editor.

5 Likes