Any tonegodGUI users out there?


#21

The confusion comes from: https://bintray.com/jmonkeyengine/com.jme3

When you look at jcenter it is common to first find that group. I wonder why do jmonkeyengine has both repositories?

It seems that com.jme3 is for 3.0 and org.jmonkeyengine is for 3.1 but is there a reason to separate it in different group id’s (farther than because of the group id was changed for whatever reason and the 3.0 branch was left there for compatibility) ?


#22

We don’t own the jme3.com domain so it was a mistake to use that groupId originally. I don’t know why we left that group open… it’s possible that we weren’t even the ones to create it. I don’t know it’s history.

org.jmonkeyengine is the real one.


#23

It really take efforts to make tonegodGUI and its other components to be ready with jME3.1 … It’s quite a headache because it’s not very well structure also only developed by tonegod her self at the time. I have to clean up a lot and still doing it nowadays. But it has its potential ability :slight_smile: All the guys are welcome to fork and take your chance to continue this project. I will jump into it more sometime beside of my project.


#24

Aside from the javadoc warnings, I’m not aware of any great effort needed
to port tonegodGUI to 3.1.

Part of my hesitation to work on tonegodGUI comes from the fact that
tonegod’s coding style is so different from my own. Every time I look at
her code, I feel the urge to convert it in my own peculiar style, but that
would make it difficult to compare my fork with other forks.

Plus I keep hoping she’ll return to the project, in which case my efforts
would be better directed elsewhere.


#25

I’ve published a baseline version of tonegodGUI based on my fork, which I’ve arbitrarily decided to call v0.1.0:

On GitHub: https://github.com/stephengold/tonegodgui/releases/tag/v0.1.0
On JFrog Bintray: https://bintray.com/stephengold/tonegod/tonegodgui/v0.1.0

I’ve barely scraped the surface when it comes to understanding ToneGod’s code, so I can’t offer much in the way of support. But if anyone encounters an issue with my fork, I’d like to hear about it. So I opened an issue tracker:

https://github.com/stephengold/tonegodgui/issues


#26

@sgold Thank you for making it work with 3.1 :slight_smile: I just found your repo at Bintray and I’m trying to use it as a gradle dependency, however I get this error message:

Could not find tonegod:tonegodgui:0.1.0.
Searched in the following locations:
https://repo1.maven.org/maven2/tonegod/tonegodgui/0.1.0/tonegodgui-0.1.0.pom
https://repo1.maven.org/maven2/tonegod/tonegodgui/0.1.0/tonegodgui-0.1.0.jar
https://jcenter.bintray.com/tonegod/tonegodgui/0.1.0/tonegodgui-0.1.0.pom
https://jcenter.bintray.com/tonegod/tonegodgui/0.1.0/tonegodgui-0.1.0.jar
https://oss.sonatype.org/content/groups/public/tonegod/tonegodgui/0.1.0/tonegodgui-0.1.0.pom
https://oss.sonatype.org/content/groups/public/tonegod/tonegodgui/0.1.0/tonegodgui-0.1.0.jar
http://updates.jmonkeyengine.org/maven/tonegod/tonegodgui/0.1.0/tonegodgui-0.1.0.pom
http://updates.jmonkeyengine.org/maven/tonegod/tonegodgui/0.1.0/tonegodgui-0.1.0.jar
https://jitpack.io/tonegod/tonegodgui/0.1.0/tonegodgui-0.1.0.pom
https://jitpack.io/tonegod/tonegodgui/0.1.0/tonegodgui-0.1.0.jar

I used the dependency ‘tonegod:tonegodgui:0.1.0’ as it is written on https://bintray.com/stephengold/tonegod/tonegodgui/v0.1.0

Is it not published or do I need to do something else?


#27

You also need to tell Gradle where my repository is. I suggest adding the following to your build.gradle:

repositories {
    maven { url 'https://dl.bintray.com/stephengold/tonegod' }
}

Have a great day!


#28

I thought adding “jcenter” would be enough :slight_smile: Well, this works now. Thank you for the quick response ^^


#29

I haven’t submitted tonegodGUI to jCenter, and I’m not sure I should.

I’m glad I was able to help.


#30

For tonegodGUI users and forkers. If you ever had any lagspikes with animation effects even like drop down menu on select list (and I had because I have a lot of animated elements) then you should look at this:

Original code of effect manager breaks iteration when any effect is finished. So if you have 100 animated elements, it can freeze UI for some time. I have changed it with remove lists that don’t prevent iterations and all my lag spikes have gone. Maybe not the best solution but it works for me


#31

private List currentEffects = new ArrayList();

…just use SafeArrayList from JME.

a) you get the benefit of being able to iterate over the array (no iterator creation)
b) you can remove things from within the loop without issue


#32

…or…

Use actual iterators and call iterator.remove() for the completed things.

The for-each syntax spoils folks and they forget that iterators are even there.

Edit: but SafeArrayList does have other benefits as listed… and the existing code would be able to stay mostly the same. (Array iteration is faster so you get that too)


#33

Thanks. I updated it with using SafeArrayList. Never used it before. But looks like it is working.


#34

And in case it wasn’t obvious, you can change loops like:
for (Effect effect : currentEffects) {

To:
for (Effect effect : currentEffects.getArray()) {

…for a bit of a speed boost and less garbage.

Edit: when using SafeArrayList, I mean.


#35

Okay. Updated gist.


#36

Hi all,

Trying to get back into the swing of things before picking up my visual editor project for tonegodGUI. So, I’m going to try to play around with tonegodGUI on some videos, for a bit.

If it’s useful, yay! oh, and the quick start part is at 14:25 ish.

Game On,
Relic724


#37

I’ve just released a new version of tonegodGUI, targeting v3.2.1 of jMonkeyEngine.

You can find the JARs on GitHub at:
https://github.com/stephengold/tonegodgui/releases/tag/v0.1.1
and on Bintray at:
https://bintray.com/stephengold/tonegod/tonegodgui

If you use Gradle, your build script should include:

repositories {
    maven { url 'https://dl.bintray.com/stephengold/tonegod' }
}
dependencies {
    compile 'tonegod:tonegodgui:0.1.1'
}

#38

I recently released a version 0.1.2 of tonegodGUI, targeting v3.2.2 of jMonkeyEngine.

You can find the JARs on GitHub at:
https://github.com/stephengold/tonegodgui/releases/tag/v0.1.2
and on Bintray at:
https://bintray.com/stephengold/tonegod/tonegodgui

If you use Gradle, your build script should include:

repositories {
    maven { url 'https://dl.bintray.com/stephengold/tonegod' }
}
dependencies {
    compile 'tonegod:tonegodgui:0.1.2'
}