balls.jar works very good abuse!! except the balls still shown it's background (no transparent
as oNyx said, accelerated bitmask transparency is only possible with automatic images.
If you change the image type to 'Bitmasked automatic Image', the balls background should disappear.
umm so what's wrong with my code then??
it works fine in windowed mode, but not in fullscreen
post your code
maybe i must take a look closer at your code
or you could do that instead
(i think I included the src in the jar file)
oh yeah by the way is balls.jar programmed quit after several loop?
cos it suddenly quit after 1-2 minutes.
i didn't press Escape and other keys
now thats abit worrying :S
There are 3 things that can cause it to stop.
1) pressing Escape - this should instantly quit the program.
2) Changing to 'VolatileImage' while in 'normal' rendering mode.
If you do this, it will stop rendering the balls until you change the 'image type' back to 'automatic image' or you change the 'rendering mode' back to 'BufferStrategy'.
3) Changing the number of back buffers several times at runtime can cause a JVM crash. (or worse :S)
Its only there as a little test, if you use it - expect it to crash
(I put a 'Triple Buffer' option in the startup dialog for regular use)
thanx for the code
no probs, hope it helps.