Did you take a look at the problems I posted on the first scenario you made? The ones about any coded GreenfootImages turning black or giving the program errors?
I tried to do what you did, but all my scenarios i ever made worked... I think i fixed the error while you found it out :)
If it still happens with the latest version, please send me the error-log; via email ( GreenHouse@metropy.net ) or upload it somewhere and send me the link please.
Darn it, you beat me to it. I was working on a library sort of thing that ran on LWJGL and would be 3D and have all of Greenfoot's capabilities and more.
Ah, now i see :) sorry, i didn't notice that before. I updated the greenfoot.jar to fixed this problem.
When the world initializes itself, the background gets drawn onto the 3d buffer; but if no image was set, it results null-pointer exception...
The link to the "source code and license information" just links to the same jar file as the download link.
Can you add a link to the documentation for this please.
Ah, I think I found where the problem is in the source code.
At the end of setBackground(), you draw it onto a newly created "bump" Image, and then change the bump to a texture. If you were to have a method, or edit the background image in a way, that it would change the texture along with the background image, you may get something. That's probably where the lag is coming from as well, changing a GreenfootImage into a Texture. Hope you figure it out.
@Game/maniac: i will add a link, after i created the doc :)
@FlyingRabidUnicornPig: the texture that is created from the greenfootImage is first (like all other textures) stored into the render/buffer texture dump. Only these buffered images can be rendered, jpct is quiet blocked this way :/ This buffer can make jpct very fast (up to 200fps and more) but changing the textures every frame makes it slow/buggy... All in all the 3d buffer is not a good solution for fast texture changes :( Maybe i can fix this in an other way..
I was just looking at the image above... I will try that