2) A Shape rendering bug was fixed in which a drawn shape would be partially filled. This problem was caused because Slick's QuadBasedLineStrip renderer class falls back to the DefaultLineStripRenderer class when the width of the shape drawn is 1. The Problem was fixed by adding an alternate QuadBasedLineStripRenderer class to the Slick-ae project (and build.xml) that would override the original one when the project is built. This new one does not have the fallback to the default renderer.
It’s so nice to read that you take care for the SlickAE and became a committer. Yesterday I wrote Tommy an email and asked him if there is any hope to commit for SlickAE. I also thought about opening my own Slick Github clone. But now I know that, Slick has moved to Mercurial and some active developers are committing updates, great! And better: You manage AndroidAD.It seems I disregarded the forum too much.
I’ll test your github branch tomorrow. Hope that we can merge it soon to the rest of the Slick Project, because it’s confusing enough with a project split in SVN, Mercurial and a Git repo. Do you know what the following Slick projects “Slick-AE1”and “Slick-Android-Test1” imply?
thankyou for your support. in answer to youre question, no, i am not sure what slick-ae1 and slick-android-test1 imply. perhaps the slick-ae and slick-android-test projects were duplicated in the same directory. i know that windows will sometimes rename a file by adding a number to the end if the file already exists in the target directory.
Slick base is the newest bitbucket clone.
Maybe you added it to your local Slick project.
Dad gum! you're right. I must have forgotten to call git add for the saved state commit. I just fixed it. Thanks for the catch!
Now the SavedState class is missing. Build is done via the ant build script. First I had to copy the Mercurial Slick project next the the AndroidAD git project.
You're right again! I added SavedState just now. Do you know if there's any way to commit that automatically adds new files? This is embarrassing.
It should be easy to commit all changes of your project: Simply click on the project, right / commit. The next window shows you all changed files all over the project. Was it what you needed?
I still have a problem building the slick-ae.jar. Now all classes seem to be included. I unpacked your and my Ant built slick-ae.jar and compared the files with winmerge. Names and folders are now all equal. But by using my jar, I get some “VFY: unable to resolve static method “ warnings, and after that a ClassNotFound exception (in thise case for “BounceAnatorAndroid”). I found out this could be something with the Android DX Compiler. And then I noticed that my Slick-AE Eclipse project is not an android project. Maybe that’s the Problem why I can’t build a working jar. Could you please check if there are any project setting files which are not committed. Or is there a special way to build the jar –instead using the Ant script?
You can test my jar to reproduce the problems in the error log with your Bounce-Anator demo.
AH! I know this one, and it took me forever to find out what it was. The problem is probably that Slick-AE is compiling in java 7. This will work with Slick-AE desktop projects fine, but for android, it needs to compile with version 6. This can be changed in (project>properties>java compiler) I think.
Ok I got it! –and made a big detour. The problem was really that the slick-ae.jar was built with java 1.7. Can be easily checked by opening the manifest file inside the jar. But for me, changing the build path (project/properties/java build path) or the java Compiler (project/properties/java compiler) had no effect. Then I found out that Ant uses the JAVA_HOME environment variable. So I also changed that to java 1.6, once again without a change.
The solution was: Change the JRE in the Ant task run configuration (right clock on the build.xml/Run As/External Tool Configuration/JRE).
Now I can compile my on slick-ae and run your demo and my game with it. Both run fine now an my SGS2. Green light for commiting SlickAD!